Fix up ChangeLog
[glibc.git] / ChangeLog
blob0024c1ed26a28803700ee2d83f1db5618a344799
1 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
3         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
4         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
5         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
7 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
9         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
10         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
11         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
12         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
13         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
15         index_Prefer_No_VZEROUPPER): New feature.
16         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
17         Prefer_No_VZEROUPPER for Knights Landing.
19 015-12-18  Torvald Riegel  <triegel@redhat.com>
21         * math/atest-exp2.c (mp_exp_m1): Remove.
23 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
26         syscalls.
27         (__SYSCALL0): New macro.
28         (__SYSCALL1): Likewise.
29         (__SYSCALL2): Likewise.
30         (__SYSCALL3): Likewise.
31         (__SYSCALL4): Likewise.
32         (__SYSCALL5): Likewise.
33         (__SYSCALL6): Likewise.
34         (__SYSCALL_CONCAT_X): Likewise.
35         (__SYSCALL_CONCAT): Likewise.
36         (__SYSCALL_DIST): Likewise.
37         (__SYSCALL_CALL): Likewise.
39 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
41         [BZ #19363]
42         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
44 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
46         [BZ #19375]
47         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
48         negative subnormals.
50 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
52         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
53         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
54         (INTERNAL_SYSCALL_NCS): Use it.
55         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
57 2015-12-16  Florian Weimer  <fweimer@redhat.com>
59         [BZ #19243]
60         * malloc/arena.c (get_free_list): Remove assert and adjust
61         reference count handling.  Add comment about reused_arena
62         interaction.
63         (reused_arena): Add comments abount get_free_list interaction.
64         * malloc/tst-malloc-thread-exit.c: New file.
65         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
66         (tst-malloc-thread-exit): Link against libpthread.
68 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
70         [BZ #19367]
71         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
72         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
73         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
74         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
75         (index_Prefer_MAP_32BIT_EXEC): Likewise.
77 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
79         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
80         Silvermont optimizations for Knights Landing.
82 2015-12-15  Andreas Schwab  <schwab@suse.de>
84         [BZ #17197]
85         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
86         immediately after emitting SI.
87         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
88         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
89         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
90         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
91         * iconvdata/bug-iconv10.c: New file.
92         * iconvdata/Makefile (tests): Add bug-iconv10.
93         ($(objpfx)bug-iconv10.out): New rule.
95 2015-12-15  Florian Weimer  <fweimer@redhat.com>
97         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
98         aliasing violation.
100 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
102         [BZ #18472]
103         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
104         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
105         conditionals for them.
106         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
107         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
108         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
109         sys/kdaemon.h.
110         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
111         compat-only syscall, obsoleted in glibc 2.23.
112         (create_module): Likewise.
113         (get_kernel_syms): Likewise.
114         (query_module): Likewise.
115         (uselib): Likewise.
116         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
118 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
120         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
121         <linux/version.h>.
122         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
123         conditional code.
124         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
125         and ioshift_name initialization.
127 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
129         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
130         Fix indentation.
132 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
134         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
136 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
138         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
140 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
141             Jakub Wilk  <jwilk@debian.org>
143         [BZ #19347]
144         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
145         to change the group of the device to the tty group.
147 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
149         Split large string section; add truncation advice
150         * manual/examples/strncat.c: Remove.
151         This example was misleading, as the code would have undefined
152         behavior if "hello" was longer than SIZE.  Anyway, the manual
153         shouldn't encourage strncpy+strncat for this sort of thing.
154         * manual/string.texi (Copying Strings and Arrays): Split into
155         three sections Copying Strings and Arrays, Concatenating Strings,
156         and Truncating Strings, as this section was way too long.  All
157         cross-referenced changed.  Add advice about string-truncation
158         functions.  Remove misleading strncat example.
160 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
162         * manual/nss.texi (NSS Modules Interface): Document
163         NSS_STATUS_NOTFOUND and SUCCESS.
165 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
167         [BZ 18568]
168         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
169         201505L, for Unicode 8.
171 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
173         * locale/C-translit.h: Regenerate.
175 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
177         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
178         and U+0153.
180 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
182         [BZ #19351]
183         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
184         expanding log(1+z), compare z rather than its square with epsilon
185         to determine when to avoid evaluating the expansion.
187         [BZ #19350]
188         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
189         Increase overflow threshold.
191         [BZ #19349]
192         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
193         when small.
195         * sysdeps/unix/sysv/linux/i386/kernel-features.h
196         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
197         New macro.
198         [__LINUX_KERNEL_VERSION >= 0x040300]
199         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
200         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
201         Likewise.
202         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
203         Likewise.
204         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
205         Likewise.
206         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
207         Likewise.
208         [__LINUX_KERNEL_VERSION >= 0x040300]
209         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
210         [__LINUX_KERNEL_VERSION >= 0x040300]
211         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
212         [__LINUX_KERNEL_VERSION >= 0x040300]
213         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
214         [__LINUX_KERNEL_VERSION >= 0x040300]
215         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
216         [__LINUX_KERNEL_VERSION >= 0x040300]
217         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
218         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
219         Likewise.
220         [__LINUX_KERNEL_VERSION >= 0x040300]
221         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
222         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
223         Likewise.
224         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
225         Likewise.
226         [__LINUX_KERNEL_VERSION >= 0x040300]
227         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
228         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
229         Likewise.
230         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
231         Likewise.
232         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
233         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
234         Likewise.
235         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
236         Likewise.
237         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
238         Likewise.
239         [__LINUX_KERNEL_VERSION >= 0x040300]
240         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
241         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
242         Likewise.
243         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
244         Likewise.
245         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
246         Likewise.
247         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
248         Likewise.
249         [__LINUX_KERNEL_VERSION >= 0x040300]
250         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
251         [__LINUX_KERNEL_VERSION >= 0x040300]
252         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
253         [__LINUX_KERNEL_VERSION >= 0x040300]
254         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
255         [__LINUX_KERNEL_VERSION >= 0x040300]
256         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
257         [__LINUX_KERNEL_VERSION >= 0x040300]
258         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
259         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
260         Likewise.
261         [__LINUX_KERNEL_VERSION >= 0x040300]
262         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
263         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
264         Likewise.
265         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
266         Likewise.
267         [__LINUX_KERNEL_VERSION >= 0x040300]
268         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
269         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
270         Likewise.
271         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
272         Likewise.
273         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
274         (__ASSUME_SOCKET_SYSCALL): Likewise.
275         (__ASSUME_BIND_SYSCALL): Likewise.
276         (__ASSUME_CONNECT_SYSCALL): Likewise.
277         (__ASSUME_LISTEN_SYSCALL): Likewise.
278         (__ASSUME_ACCEPT_SYSCALL): Likewise.
279         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
280         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
281         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
282         (__ASSUME_SEND_SYSCALL): Likewise.
283         (__ASSUME_SENDTO_SYSCALL): Likewise.
284         (__ASSUME_RECV_SYSCALL): Likewise.
285         (__ASSUME_RECVFROM_SYSCALL): Likewise.
286         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
287         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
288         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
289         (__ASSUME_SENDMSG_SYSCALL): Likewise.
290         (__ASSUME_RECVMSG_SYSCALL): Likewise.
291         * sysdeps/unix/sysv/linux/sh/kernel-features.h
292         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
293         Likewise.
294         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
295         Likewise.
296         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
297         Likewise.
298         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
299         Likewise.
300         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
301         Likewise.
302         [__LINUX_KERNEL_VERSION >= 0x020625]
303         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
304         [__LINUX_KERNEL_VERSION >= 0x020625]
305         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
306         [__LINUX_KERNEL_VERSION >= 0x020625]
307         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
308         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
309         Likewise.
310         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
311         Likewise.
312         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
313         Likewise.
314         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
315         Likewise.
316         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
317         Likewise.
318         [__LINUX_KERNEL_VERSION >= 0x020625]
319         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
320         [__LINUX_KERNEL_VERSION >= 0x020625]
321         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
322         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
323         Likewise.
324         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
325         Likewise.
327 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
329         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
330         record the current if the current ABI and CPU support the FP64
331         extension.
332         (has-modd-spreg): Define to record the current if the current ABI and
333         CPU support 32-bit floating point values in odd FPU registers.
334         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
335         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
336         $(has-modd-spreg) equals yes.
337         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
338         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
339         $(has-modd-spreg) equal yes.
341 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
343         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
344         basename.
346 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
348         * benchtests/Makefile (bench-math): Move ffs and ffsll...
349         (bench-string): ... here.
350         (bench): Add bench-string.
351         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
352         to *-benchset to reflect what they are.
353         (benchset): Adjust.
355         * benchtests/sincos-inputs: Add inputs from sin-inputs and
356         cos-inputs.
358 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
360         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
361         __attribute__ ((__simd__)) for vector math function declarations.
363 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
365         Fix typo in strncat, wcsncat manual entries
366         * manual/string.texi (Copying and Concatenation): Fix typos in
367         sample implementations of strncat and wcsncat, by having them use
368         the old value of the destination length, not the new one.
370 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
372         [BZ #16961]
373         [BZ #16962]
374         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
375         string on the stack for strtod.
376         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
377         a string on the stack for strtof.
378         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
379         constructing a string on the stack for strtold.
380         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
381         __strtold_nan to GLIBC_PRIVATE.
382         * math/test-nan-overflow.c: New file.
383         * math/test-nan-payload.c: Likewise.
384         * math/Makefile (tests): Add test-nan-overflow and
385         test-nan-payload.
387 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
389         Consistency about byte vs character in string.texi
390         * manual/string.texi (String and Array Utilities):
391         Distinguish more carefully among bytes, multibyte characters,
392         and wide characters.  Use "byte" when talking about C 'char',
393         to distinguish it more clearly from multibyte characters.
394         Say "wide character" or "multibyte character" instead of
395         "character", when a wide or multibyte character is intended.
396         Similarly for "multibyte string" versus "string".
397         Define these terms more carefully.
399 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
401         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
402         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
403         Likewise.
404         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
405         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
406         * sysdeps/sh/math_private.h: New file.
407         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
408         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
409         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
410         long double function name.
411         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
412         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
413         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
414         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
415         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
416         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
417         Remove __finitel, __isinfl, and __isnanl.
418         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
419         Likewise.
420         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
421         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
422         Remove __finitel.
423         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
424         Likewise.
425         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
427 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
429         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
430         installed libmvec_nonshared.a.
432 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
434         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
435         (sysdep_routines): Likewise.
436         (sysdep-rtld-routines): Likewise.
437         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
438         [$(subdir) = nptl](tests-static): test-get_hwcap-static
439         * sysdeps/powerpc/Versions: Added new
440         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
441         * sysdeps/powerpc/hwcapinfo.c: New file.
442         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
443         and parse hwcap, hwcap2 and platform number information.
444         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
445         to store HWCAP+HWCAP2 and platform number.
446         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
447         for HWCAP+HWCAP2 and platform number in the TCB.
448         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
449         the HWCAP, HWCAP2 and platform number in the TCB.
450         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
451         (TLS_INIT_TP): Included calls to add the hwcap and
452         at_platform values in the TCB in TP initialization.
453         (TLS_DEFINE_INIT_TP): Likewise.
454         (THREAD_GET_HWCAP): New macro.
455         (THREAD_SET_HWCAP): Likewise.
456         (THREAD_GET_AT_PLATFORM): Likewise.
457         (THREAD_SET_AT_PLATFORM): Likewise.
458         * sysdeps/powerpc/powerpc32/dl-machine.h:
459         (dl_platform_init): New function that calls
460         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
461         powerpc32.
462         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
463         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
464         this functionality, static linking case.
465         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
466         linking case.
467         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
468         __parse_hwcap_and_convert_at_platform for the static linking case.
469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
470         Included the new __parse_hwcap_and_convert_at_platform symbol in the
471         ABI list for GLIBC 2.23.
472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
473         Likewise.
474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
475         Likewise.
477 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
479         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
480         * configure: Regenerate.
481         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
482         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
484 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
486         * iconvdata/ibm930.c: Add comment explaining encoding uses.
487         * iconvdata/ibm933.c: Likewise.
488         * iconvdata/ibm935.c: Likewise.
489         * iconvdata/ibm937.c: Likewise.
490         * iconvdata/ibm939.c: Likewise.
492 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
494         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
495         pthread_join.
496         * nptl/tst-cancel21.c (tf): Likewise.
498 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
500         [BZ #19313]
501         * bits/typesizes.h (__CPU_MASK_TYPE): New.
502         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
503         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
504         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
505         Likewise.
506         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
507         Likewise.
508         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
509         Likewise.
510         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
511         Likewise.
512         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
513         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
514         unsigned long int with __CPU_MASK_TYPE.
516 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
518         * sysdeps/aarch64/libm-test-ulps: Regenerated.
520 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
522         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
523         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
524         t512.x.
525         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
527 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
529         [BZ #19214]
530         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
531         argument to return extended model.  Update family and model
532         with extended family and model when family == 0x0f.
533         (init_cpu_features): Updated.
535 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
537         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
538         signed off_t, so 32bit bigger than 2GiB values are fine actually.
540         * sysdeps/mach/hurd/mmap64.c: New file.
542 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
544         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
545         rights for its main user thread in NEWTASK.
547 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
549         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
550         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
552 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
554         [BZ #14259]
555         * Makeconfig: Rename localedir to complocaledir.
556         Rename inst_localedir to inst_complocaledir.
557         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
558         * config.make.in: Use complocaledir and libc_cv_complocaledir.
559         * configure.ac: Use libc_cv_complocaledir.
560         * configure: Regenerate.
561         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
562         -DCOMPLOCALEDIR.
563         * locale/findlocale.c: Use COMPLOCALEDIR.
564         * locale/loadarchive.c: Likewise.
565         * locale/programs/locale.c: Likewise.
566         * locale/programs/localedef.c: Likewise.
567         * locale/programs/locarchive.c: Likewise.
568         * localedata/Makefile: Use inst_complocaledir.
569         * sysdeps/gnu/configure: Regenerate.
570         * sysdeps/hppa/configure: Regenerate.
571         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
572         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
574         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
575         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
576         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
577         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
579 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
581         [BZ #19058]
582         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
583         AS_NEEDED.
584         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
585         workaround.
586         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
587         libmvec-static-only-routines): Added new file.
588         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
590 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
592         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
593         of interrupted RPC instead of restoring it.
595         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
596         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
597         libc_hidden_def.
598         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
599         into initialized data instead of common. Define rtld_hidden_data_def.
600         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
601         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
602         libc_hidden_def.
603         (if_freenameindex): Add libc_hidden_weak.
604         (if_nameindex): Add libc_hidden_weak.
605         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
606         __open64.
607         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
608         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
609         * sysdeps/mach/nanosleep.c: Include <time.h>
610         (__nanosleep): Rename to __libc_nanosleep.
611         (__nanosleep): Add weak_alias.
612         (nanosleep): Update alias.
614 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
616         * stdlib/strtod_nan.c: New file.
617         * stdlib/strtod_nan_double.h: Likewise.
618         * stdlib/strtod_nan_float.h: Likewise.
619         * stdlib/strtod_nan_main.c: Likewise.
620         * stdlib/strtod_nan_narrow.h: Likewise.
621         * stdlib/strtod_nan_wide.h: Likewise.
622         * stdlib/strtof_nan.c: Likewise.
623         * stdlib/strtold_nan.c: Likewise.
624         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
625         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
626         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
627         * wcsmbs/wcstod_nan.c: Likewise.
628         * wcsmbs/wcstof_nan.c: Likewise.
629         * wcsmbs/wcstold_nan.c: Likewise.
630         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
631         strtold_nan.
632         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
633         wcstof_nan.
634         * include/stdlib.h (__strtof_nan): Declare and use
635         libc_hidden_proto.
636         (__strtod_nan): Likewise.
637         (__strtold_nan): Likewise.
638         (__wcstof_nan): Likewise.
639         (__wcstod_nan): Likewise.
640         (__wcstold_nan): Likewise.
641         * include/wchar.h (____wcstoull_l_internal): Declare.
642         * stdlib/strtod_l.c: Do not include <ieee754.h>.
643         (____strtoull_l_internal): Remove declaration.
644         (STRTOF_NAN): Define macro.
645         (SET_MANTISSA): Remove macro.
646         (STRTOULL): Likewise.
647         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
648         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
649         (STRTOF_NAN): Define macro.
650         (SET_MANTISSA): Remove macro.
651         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
652         (SET_MANTISSA): Remove macro.
653         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
654         macro.
655         (SET_MANTISSA): Remove macro.
656         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
657         macro.
658         (SET_MANTISSA): Remove macro.
659         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
660         (SET_MANTISSA): Remove macro.
661         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
662         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
663         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
665         [BZ #19266]
666         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
667         upper case and lower case letters inside NAN(), not using TOLOWER.
668         * stdlib/tst-strtod-nan-locale-main.c: New file.
669         * stdlib/tst-strtod-nan-locale.c: Likewise.
670         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
671         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
672         Depend on $(gen-locales).
673         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
674         * wcsmbs/tst-wcstod-nan-locale.c: New file.
675         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
676         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
677         Depend on $(gen-locales).
678         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
680 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
682         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
684         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
685         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
686         __finitel, __isinfl, and __isnanl.
687         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
688         Likewise.
689         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
690         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
691         __finitel.
692         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
693         Likewise.
694         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
696 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
698         * malloc/memusage.c (me): Remove redundant getenv call.
700 2015-10-24  Florian Weimer  <fweimer@redhat.com>
702         [BZ #19143]
703         [BZ #19164]
704         * nptl/check-cpuset.h: Remove.
705         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
706         Remove CPU set size check.
707         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
708         Likewise.
709         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
710         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
711         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
712         (__pthread_setaffinity_new): Remove CPU set size check.
713         * sysdeps/unix/sysv/linux/sched_setaffinity.c
714         (__kernel_cpumask_size): Remove.
715         (__sched_setaffinity_new): Remove CPU set size check.
716         * manual/threads.texi (Default Thread Attributes): Remove stale
717         reference to check_cpuset_attr, determine_cpumask_size in comment.
718         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
719         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
720         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
721         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
722         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
723         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
724         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
725         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
726         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
727         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
728         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
729         skeleton test file.
730         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
731         tst-affinity-pid.
733 2015-11-24  Florian Weimer  <fweimer@redhat.com>
735         * scripts/update-abilist.sh: New file.
736         * Makefile (+subdir_targets): Add subdir_update-all-abi.
737         * Makerules (update-all-abi-%, update-all-abi)
738         (subdir_update-all-abi): New targets.
739         * elf/Makefile (update-all-abi): New target.
741 2015-11-24  Florian Weimer  <fweimer@redhat.com>
743         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
744         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
745         (__libc_lock_define_initialized): Use it.
746         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
747         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
748         * malloc/malloc.c (main_arena): Likewise.
749         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
750         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
752 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
754         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
755         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
756         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
757         (PTRACE_O_MASK): Update value.
758         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
759         New value in enum __ptrace_setoptions.
760         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
761         (PTRACE_O_MASK): Update value.
762         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
763         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
764         (PTRACE_O_MASK): Update value.
765         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
766         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
767         (PTRACE_O_MASK): Update value.
768         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
769         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
770         (PTRACE_O_MASK): Update value.
771         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
772         New value in enum __ptrace_setoptions.
773         (PTRACE_O_MASK): Update value.
774         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
775         New value in enum __ptrace_setoptions.
776         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
777         (PTRACE_O_MASK): Update value.
779         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
780         New macro.
781         (PACKET_AUXDATA): Likewise.
782         (PACKET_ORIGDEV): Likewise.
783         (PACKET_VERSION): Likewise.
784         (PACKET_HDRLEN): Likewise.
785         (PACKET_RESERVE): Likewise.
786         (PACKET_TX_RING): Likewise.
787         (PACKET_LOSS): Likewise.
788         (PACKET_VNET_HDR): Likewise.
789         (PACKET_TX_TIMESTAMP): Likewise.
790         (PACKET_TIMESTAMP): Likewise.
791         (PACKET_FANOUT): Likewise.
792         (PACKET_TX_HAS_OFF): Likewise.
793         (PACKET_QDISC_BYPASS): Likewise.
794         (PACKET_ROLLOVER_STATS): Likewise.
795         (PACKET_FANOUT_DATA): Likewise.
796         (PACKET_MR_UNICAST): Likewise.
798         [BZ #19242]
799         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
800         (TOUPPER): Likewise.
801         * stdlib/tst-strtol-locale-main.c: New file.
802         * stdlib/tst-strtol-locale.c: Likewise.
803         * stdlib/Makefile (tests): Add tst-strtol-locale.
804         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
805         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
806         Depend on $(gen-locales).
807         * wcsmbs/tst-wcstol-locale.c: New file.
808         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
809         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
810         tr_TR.ISO-8859-9.
811         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
812         Depend on $(gen-locales).
814 2015-11-20  Roland McGrath  <roland@hack.frob.com>
816         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
817         __glibc_likely instead of __builtin_expect.  After falling back to
818         dyncode_create in a non-ET_DYN case, use the allocate_code_data
819         system interface to register the code pages as occupied.
821 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
823         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
824         [!ARM_MATH_PRIVATE_H].
825         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
826         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
827         [!HPPA_MATH_PRIVATE_H].
828         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
829         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
830         to [!I386_MATH_PRIVATE_H].
831         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
832         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
833         Change guard to [!M68K_MATH_PRIVATE_H].
834         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
835         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
836         guard to [!MICROBLAZE_MATH_PRIVATE_H].
837         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
838         macro.
839         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
840         [!MIPS_MATH_PRIVATE_H].
841         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
842         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
843         [!NIO2_MATH_PRIVATE_H].
844         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
845         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
846         [!TILE_MATH_PRIVATE_H].
847         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
849         [BZ #15421]
850         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
851         initialize with 0 and define as weak alias of __signgam.
852         * include/math.h [!_ISOMAC] (__signgam): Declare.
853         * math/Makefile (libm-calls): Add w_lgamma_compat.
854         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
855         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
856         test-signgam-ullong-init.
857         (tests-static): Add test-signgam-uchar-static,
858         test-signgam-uchar-init-static, test-signgam-uint-static,
859         test-signgam-uint-init-static, test-signgam-ullong-static and
860         test-signgam-ullong-init-static.
861         (CFLAGS-test-signgam-uchar.c): New variable.
862         (CFLAGS-test-signgam-uchar-init.c): Likewise.
863         (CFLAGS-test-signgam-uchar-static.c): Likewise.
864         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
865         (CFLAGS-test-signgam-uint.c): Likewise.
866         (CFLAGS-test-signgam-uint-init.c): Likewise.
867         (CFLAGS-test-signgam-uint-static.c): Likewise.
868         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
869         (CFLAGS-test-signgam-ullong.c): Likewise.
870         (CFLAGS-test-signgam-ullong-init.c): Likewise.
871         (CFLAGS-test-signgam-ullong-static.c): Likewise.
872         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
873         * math/Versions (libm): Add GLIBC_2.23.
874         * math/lgamma-compat.h: New file.
875         * math/test-signgam-main.c: Likewise.
876         * math/test-signgam-uchar-init-static.c: Likewise.
877         * math/test-signgam-uchar-init.c: Likewise.
878         * math/test-signgam-uchar-static.c: Likewise.
879         * math/test-signgam-uchar.c: Likewise.
880         * math/test-signgam-uint-init-static.c: Likewise.
881         * math/test-signgam-uint-init.c: Likewise.
882         * math/test-signgam-uint-static.c: Likewise.
883         * math/test-signgam-uint.c: Likewise.
884         * math/test-signgam-ullong-init-static.c: Likewise.
885         * math/test-signgam-ullong-init.c: Likewise.
886         * math/test-signgam-ullong-static.c: Likewise.
887         * math/test-signgam-ullong.c: Likewise.
888         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
889         wrapper of w_lgamma_main.c.
890         * math/w_lgamma_compat.c: New file.
891         * math/w_lgamma_compatf.c: Likewise.
892         * math/w_lgamma_compatl.c: Likewise.
893         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
894         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
895         defining compatibility symbols.
896         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
897         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
898         wrapper of w_lgammaf_main.c.
899         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
900         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
901         defining compatibility symbols.
902         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
903         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
904         wrapper of w_lgammal_main.c.
905         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
906         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
907         defining compatibility symbols.
908         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
909         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
910         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
911         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
912         <lgamma-compat.h>.
913         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
914         (__ieee754_gamma): Define as alias.
915         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
916         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
917         <lgamma-compat.h>.
918         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
919         (__ieee754_gammaf): Define as alias.
920         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
921         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
922         <lgamma-compat.h>.
923         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
924         (__ieee754_gammal): Define as alias.
925         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
926         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
927         <math/w_lgamma_compat.c>.
928         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
929         Define as alias of __lgamma_compat and use in defining lgammal.
930         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
931         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
932         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
933         (USE_AS_COMPAT): New macro.
934         (LGAMMA_OLD_VER): Undefine and redefine.
935         (lgammal): Do not define here.
936         (gammal): Only define here if [GAMMA_ALIAS].
937         * conform/linknamespace.pl (@whitelist): Remove signgam.
938         * sysdeps/nacl/libm.abilist: Update.
939         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
940         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
941         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
942         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
943         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
944         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
945         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
946         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
947         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
948         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
949         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
950         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
952         Likewise.
953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
954         Likewise.
955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
956         Likewise.
957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
958         Likewise.
959         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
960         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
961         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
962         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
963         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
964         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
965         Likewise.
966         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
967         Likewise.
968         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
969         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
970         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
972 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
974         [BZ #16364]
975         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
976         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
978 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
980         * sysdeps/s390/fpu/bits/mathinline.h:
981         Use __asm__ [__volatile__] instead of asm [volatile].
982         * sysdeps/s390/abort-instr.h: Likewise.
983         * sysdeps/s390/atomic-machine.h: Likewise.
984         * sysdeps/s390/bits/string.h: Likewise.
985         * sysdeps/s390/dl-tls.h: Likewise.
986         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
987         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
988         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
989         * sysdeps/s390/fpu/fesetround.c: Likewise.
990         * sysdeps/s390/fpu/fpu_control.h: Likewise.
991         * sysdeps/s390/fpu/s_fma.c: Likewise.
992         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
993         * sysdeps/s390/memusage.h: Likewise.
994         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
995         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
996         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
997         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
998         * sysdeps/s390/nptl/tls.h: Likewise.
999         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
1000         * sysdeps/s390/s390-32/backtrace.c: Likewise.
1001         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
1002         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
1003         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
1004         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
1005         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
1006         * sysdeps/s390/s390-64/backtrace.c: Likewise.
1007         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1008         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
1009         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
1010         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
1011         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
1012         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
1013         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
1014         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
1015         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
1016         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
1017         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
1018         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1019         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
1020         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1021         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
1023 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1024             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1026         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
1027         Add lwarx hint, and use macro for acquire instruction.
1028         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
1029         Likewise.
1030         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
1031         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
1032         update to use new atomic macros.
1034 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1036         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
1037         (__lll_trylock_elision): Fix setting of adapt_count.
1038         * sysdeps/unix/sysv/linux/powerpc/htm.h
1039         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
1040         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
1041         (_ABORT_SYSCALL): Renumber, and clarify definition.
1042         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
1044 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1046         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
1047         after system headers to prevent MIN/MAX redefinition.  Define
1048         HAVE_ALLOCA to preserve builtin alloca usage.
1050 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
1052         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
1053         static and don't set or restore rounding.
1054         (__cos)[IN_SINCOS]: Likewise.
1055         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
1056         (__sincos): Set and restore rounding mode.  Remove check for infinite
1057         or NaN input.
1059         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
1061         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
1062         as used.
1064 2015-11-16  Florian Weimer  <fweimer@redhat.com>
1066         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
1068 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
1070         * config.make.in (have-glob-dat-reloc): New.
1071         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
1072         target supports GLOB_DAT relocaton. AC_SUBST.
1073         * configure: Regenerated.
1074         * elf/Makefile (tests): Add tst-prelink.
1075         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
1076         (tst-prelink-ENV): New.
1077         ($(objpfx)tst-prelink-conflict.out): Likewise.
1078         ($(objpfx)tst-prelink-cmp.out): Likewise.
1079         * sysdeps/x86/tst-prelink.c: Moved to ...
1080         * elf/tst-prelink.c: Here.
1081         * sysdeps/x86/tst-prelink.exp: Moved to ...
1082         * elf/tst-prelink.exp: Here.
1083         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
1084         (tst-prelink-ENV): Removed.
1085         ($(objpfx)tst-prelink-conflict.out): Likewise.
1086         ($(objpfx)tst-prelink-cmp.out): Likewise.
1087         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
1089 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
1091         [BZ #14551]
1092         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
1093         (__mpn_construct_long_double): If high part overflows to infinity,
1094         set errno and recompute overflowed result of the correct sign.
1095         * sysdeps/ieee754/ldbl-128ibm/Makefile
1096         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
1097         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
1098         $(libm).
1099         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
1101 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
1103         [BZ #15479]
1104         [BZ #19238]
1105         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
1106         floating-point state after first operation on input.  Restore full
1107         state rather than just rounding mode.
1108         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
1109         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
1110         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
1112         [BZ #19235]
1113         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
1114         add 0.5 to integer arguments.
1115         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
1116         Likewise.
1117         (.LC2): New object.
1119 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
1121         * scripts/pylintrc (reports): Set to no.
1123 2015-11-10  Roland McGrath  <roland@hack.frob.com>
1125         * elf/dl-load.c (open_verify): Take new argument FD.
1126         Skip __open call if passed FD is not -1.
1127         (_dl_map_object, open_path): Update callers.
1128         * elf/dl-sysdep-open.h: New file.
1129         * elf/dl-load.c: Include it.
1130         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
1131         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
1132         * sysdeps/nacl/dl-sysdep-open.h: New file.
1133         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
1134         from libc to rtld.
1136 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
1138         [BZ #19228]
1139         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
1140         and restore full floating-point state.
1141         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
1142         Likewise.
1143         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
1144         Likewise.
1145         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
1146         Likewise.
1147         * math/test-nearbyint-except-2.c: New file.
1148         * math/Makefile (tests): Add test-nearbyint-except-2.
1150 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
1152         [BZ #19178]
1153         * sysdeps/x86/Makefile (tests): Add tst-prelink.
1154         (tst-prelink-ENV): New.
1155         ($(objpfx)tst-prelink-conflict.out): Likewise.
1156         ($(objpfx)tst-prelink-cmp.out): Likewise.
1157         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
1158         * sysdeps/x86/tst-prelink.c: New file.
1159         * sysdeps/x86/tst-prelink.exp: Likewise.
1161 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
1163         * math/auto-libm-test-in: Add another test of pow.
1164         * math/auto-libm-test-out: Regenerated.
1165         * math/libm-test.inc (pow_test_data): Add another test.
1167 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1169         [BZ #19219]
1170         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
1171         weak_alias to nearbyintl.
1173 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
1175         * sysdeps/aarch64/bits/string.h: New file.
1176         (_STRING_ARCH_unaligned): Define.
1178 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
1180         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
1181         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
1182         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
1183         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
1184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
1186 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
1188         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
1189         for original name of the DSO.  Add it to the name list of the DSO
1190         if it is actually given.
1191         (_dl_map_object): Keep track of whether an audit module rewrote
1192         the file name.  If yes, pass the original name to
1193         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
1194         debugging is enabled, log the change of the file name.
1195         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
1196         _dl_map_object_from_fd.
1197         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
1198         * elf/tst-audit11.c: New file
1199         * elf/tst-auditmod11.c: New file.
1200         * elf/tst-audit11mod1.c: New file.
1201         * elf/tst-audit11mod2.c: New file.
1202         * elf/tst-audit11mod2.map: New file.
1203         * elf/tst-audit12.c: New file
1204         * elf/tst-auditmod12.c: New file.
1205         * elf/tst-audit12mod1.c: New file.
1206         * elf/tst-audit12mod2.c: New file.
1207         * elf/tst-audit12mod2.map: New file.
1208         * elf/tst-audit12mod3.c: New file.
1210 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
1212         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
1213         Don't create weak aliases,
1214         because versioned symbols are created later.
1215         * sysdeps/s390/s390-32/setjmp.S
1216         (setjmp, _setjmp): Remove weak and rename to an unique name
1217         in SHARED case due to existing versioned symbols.
1218         * sysdeps/s390/s390-64/setjmp.S: Likewise.
1219         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
1220         (getcontext): Create weak alias only in non SHARED case.
1221         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
1223 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
1225         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
1226         (__ASSUME_*_SYSCALL) Define new macros.
1227         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
1228         Remove socketcall syscalls.
1229         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
1230         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
1231         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
1232         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
1233         * sysdeps/unix/sysv/linux/send.c (__libc_send):
1234         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
1236 2015-11-09  Florian Weimer  <fweimer@redhat.com>
1238         [BZ #12926]
1239         Terminate process on invalid netlink response.
1240         * sysdeps/unix/sysv/linux/netlinkaccess.h
1241         (__netlink_assert_response): Declare.
1242         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
1243         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
1244         (sysdep_routines): Add netlink_assert_response.
1245         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
1246         __netlink_assert_response.
1247         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
1248         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
1249         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
1250         __netlink_assert_response.
1252 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
1254         [BZ #19178]
1255         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
1256         (RTYPE_CLASS_PLT): Likewise.
1257         (RTYPE_CLASS_COPY): Likewise.
1258         (RTYPE_CLASS_TLS): Likewise.
1259         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
1260         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
1261         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
1262         DL_DEBUG_PRELINK.
1264 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
1266         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
1267         calls with argument -0.5.
1268         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
1270         * configure.ac (libc_cv_z_nodelete): Remove configure test.
1271         (libc_cv_z_nodlopen): Likewise.
1272         (libc_cv_z_initfirst): Likewise.
1273         * configure: Regenerated.
1275 2015-11-06  Florian Weimer  <fweimer@redhat.com>
1277         Simplify abilist format to be line-based.
1278         * scripts/abilist.awk: Collect descriptors in the descs variable.
1279         (emit): Write descs variable and sort it
1280         externally, with sort.
1281         * sysdeps/**/*.abilist: Convert to new format.
1283 2015-11-06  Mark Wielaard  <mjw@redhat.com>
1285         [BZ #11460]
1286         * io/Makefile (routines): Add fts64.
1287         (tests): Add tst-fts and tst-fts-lfs.
1288         (CFLAGS-fts64.c): New.
1289         * io/Versions (GLIBC_2.23): New.
1290         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
1291         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
1292         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
1293         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
1294         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
1295         (FTSENT64): Likewise.
1296         (fts64_children): Likewise.
1297         (fts64_close): Likewise.
1298         (fts64_open): Likewise.
1299         (fts64_read): Likewise.
1300         (fts64_set): Likewise.
1301         * io/fts64.c: New file.
1302         * io/tst-fts.c: New test.
1303         * io/tst-fts-lfs.c: Likewise.
1304         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
1305         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
1306         fts64_set.
1307         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1308         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
1309         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
1310         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
1311         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1312         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
1313         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
1314         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
1315         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
1316         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
1317         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
1318         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1319         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
1320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1321         Likewise.
1322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1323         Likewise.
1324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
1325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
1326         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1327         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1328         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
1329         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1330         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1331         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
1332         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
1333         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
1334         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1335         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1336         * sysdeps/wordsize-64/fts.c: New file.
1337         * sysdeps/wordsize-64/fts64.c: Likewise.
1338         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
1339         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
1340         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
1341         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
1343 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
1345         * math/libm-test.inc (NON_FINITE): New macro.
1346         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
1347         * math/gen-libm-test.pl (show_exceptions): Add argument
1348         $non_finite.
1349         (parse_args): Update call to show_exceptions.
1350         * math/test-math-finite.h: New file.
1351         * math/test-math-no-finite.h: Likewise.
1352         * math/test-double-finite.c: Likewise.
1353         * math/test-float-finite.c: Likewise.
1354         * math/test-ldouble-finite.c: Likewise.
1355         * math/test-double.c: Include "test-math-no-finite.h".
1356         * math/test-float.c: Include "test-math-no-finite.h".
1357         * math/test-ldouble.c: Include "test-math-no-finite.h".
1358         * math/test-math-inline.h (TEST_FINITE): New macro.
1359         * math/test-math-vector.h (TEST_FINITE): Likewise.
1360         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
1361         (libm-tests): Add test-float-finite and test-double-finite.
1362         ($(objpfx)test-float-finite.o): New dependency on
1363         $(objpfx)libm-test.stmp.
1364         ($(objpfx)test-double-finite.o): Likewise.
1365         ($(objpfx)test-ldouble-finite.o): Likewise.
1366         (libm-test-no-inline-cflags): New variable.
1367         (libm-test-finite-cflags): Likewise.
1368         (CFLAGS-test-float-finite.c): Likewise.
1369         (CFLAGS-test-double-finite.c): Likewise.
1370         (CFLAGS-test-ldouble-finite.c): Likewise.
1371         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
1372         (CFLAGS-test-double.c): Likewise.
1373         (CFLAGS-test-ldouble.c): Likewise.
1375 2015-11-05  Roland McGrath  <roland@hack.frob.com>
1377         * io/fcntl.c (__fcntl): Add ... to prototype.
1378         * misc/ioctl.c (__ioctl): Likewise.
1379         * misc/syscall.c (syscall): Likewise.
1381 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
1383         * scripts/list-fixed-bugs.py: New file.
1385         [BZ #19213]
1386         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
1387         returned for argument 1.
1388         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
1389         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
1390         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
1391         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
1392         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
1393         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
1395         [BZ #19211]
1396         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
1397         __USE_XOPEN], not if [!__USE_ISOC99].
1398         (lgammaf): Likewise.
1399         (lgammal): Likewise.
1400         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
1401         (gammaf): Likewise.
1402         (gammal): Likewise.
1403         * math/test-signgam-finite-c11.c: New file.
1404         * math/test-signgam-finite-c99.c: Likewise.
1405         * math/test-signgam-finite.c: Likewise.
1406         * math/Makefile (tests): Add test-signgam-finite,
1407         test-signgam-finite-c99 and test-signgam-finite-c11.
1408         (CFLAGS-test-signgam-finite.c): New variable.
1409         (CFLAGS-test-signgam-finite-c99.c): Likewise.
1410         (CFLAGS-test-signgam-finite-c11.c): Likewise.
1412         [BZ #19212]
1413         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
1414         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
1415         500].
1416         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
1417         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
1418         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
1419         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
1420         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
1421         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
1422         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
1423         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
1424         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
1425         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
1427         [BZ #19209]
1428         * math/bits/math-finite.h (ldexp): Remove declaration.
1429         (ldexpf): Likewise.
1430         (ldexpl): Likewise.
1432         [BZ #19205]
1433         * math/bits/math-finite.h (acosf): Condition declaration on
1434         [__USE_ISOC99].
1435         (acosl): Likewise.
1436         (acoshf): Likewise.
1437         (acoshl): Likewise.
1438         (asinf): Likewise.
1439         (asinl): Likewise.
1440         (atan2f): Likewise.
1441         (atan2l): Likewise.
1442         (atanhf): Likewise.
1443         (atanhl): Likewise.
1444         (coshf): Likewise.
1445         (coshl): Likewise.
1446         (expf): Likewise.
1447         (expl): Likewise.
1448         (fmodf): Likewise.
1449         (fmodl): Likewise.
1450         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
1451         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
1452         (j0l): Likewise.
1453         (y0f): Likewise.
1454         (y0l): Likewise.
1455         (j1f): Likewise.
1456         (j1l): Likewise.
1457         (y1f): Likewise.
1458         (y1l): Likewise.
1459         (jnf): Likewise.
1460         (jnl): Likewise.
1461         (ynf): Likewise.
1462         (ynl): Likewise.
1463         (lgammaf_r): Condition declaration on [__USE_ISOC99].
1464         (lgammal_r): Likewise.
1465         (__lgamma_r_finite): New declaration.
1466         (__lgammaf_r_finite): Likewise.
1467         (__lgammal_r_finite): Likewise.
1468         (lgamma): Use __lgamma_r_finite.
1469         (lgammaf): Condition definition on [__USE_ISOC99].  Use
1470         __lgammaf_r_finite.
1471         (lgammal): Condition definition on [__USE_ISOC99].  Use
1472         __lgammal_r_finite.
1473         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
1474         __lgamma_r_finite.
1475         (gammaf): Condition definition on [__USE_ISOC99].  Use
1476         __lgammaf_r_finite.
1477         (gammal): Condition definition on [__USE_ISOC99].  Use
1478         __lgammal_r_finite.
1479         (logf): Condition declaration on [__USE_ISOC99].
1480         (logl): Likewise.
1481         (log10f): Likewise.
1482         (log10l): Likewise.
1483         (ldexpf): Likewise.
1484         (ldexpl): Likewise.
1485         (powf): Likewise.
1486         (powl): Likewise.
1487         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
1488         __USE_ISOC99].
1489         (remainderf): Condition declaration on [__USE_ISOC99].
1490         (remainderl): Likewise.
1491         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
1492         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
1493         (scalbl): Likewise.
1494         (sinhf): Condition declaration on [__USE_ISOC99].
1495         (sinhl): Likewise.
1496         (sqrtf): Likewise.
1497         (sqrtl): Likewise.
1499 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
1501         * sysdeps/arm/atomic-machine.h
1502         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
1503         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
1504         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
1505         Remove conditional code.
1506         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
1507         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
1508         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
1509         Change conditional to [__ASSEMBLER__].
1510         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
1511         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
1512         [!__ASSEMBLER__].
1513         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
1514         code.
1515         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
1516         conditional macro definitions.
1517         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
1518         (__arch_compare_and_exchange_val_16_acq): Likewise.
1519         (__arch_compare_and_exchange_val_32_acq): Likewise.
1520         (atomic_exchange_and_add): Likewise.
1521         (atomic_add): Likewise.
1522         (atomic_add_negative): Likewise.
1523         (atomic_add_zero): Likewise.
1524         (atomic_bit_set): Likewise.
1525         (atomic_bit_test_set): Likewise.
1526         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
1527         code unconditional.
1528         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
1530         * math/test-math-errno.h: New file.
1531         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
1532         empty.
1533         (TEST_ERRNO): New macro.
1534         (TEST_EXCEPTIONS): Likewise.
1535         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
1536         (TEST_EXCEPTIONS): Likewise.
1537         * math/test-math-vector.h (TEST_ERRNO): Likewise.
1538         * math/test-double.c: Include "test-math-errno.h".
1539         * math/test-float.c: Likewise.
1540         * math/test-ldouble.c: Likewise.
1541         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
1542         code unconditional.
1543         (test_exceptions): Only run code if TEST_EXCEPTIONS.
1544         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
1545         unconditional.
1546         (test_errno): Only run code if TEST_ERRNO.
1547         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
1549 2015-11-04  Florian Weimer  <fweimer@redhat.com>
1551         * nptl/tst-once5.cc: Remove attribution.
1553 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
1555         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
1556         sqrt, tan, tanh, y0, y1 and yn.
1557         * math/auto-libm-test-out: Regenerated.
1558         * math/libm-test.inc (scalb_test_data): Add more tests.
1559         (scalbn_test_data): Likewise.
1560         (scalbln_test_data): Likewise.
1561         (signbit_test_data): Likewise.
1562         (sin_test_data): Likewise.
1563         (sincos_test_data): Likewise.
1564         (sinh_test_data): Likewise.
1565         (sqrt_test_data): Likewise.
1566         (tan_test_data): Likewise.
1567         (tanh_test_data): Likewise.
1568         (tgamma_test_data): Likewise.
1569         (y0_test_data): Likewise.
1570         (y1_test_data): Likewise.
1571         (yn_test_data): Likewise.
1572         (significand_test_data): Likewise.
1573         * sysdeps/i386/fpu/libm-test-ulps: Update.
1575 2015-11-03  David Kastrup  <dak@gnu.org>
1577         [BZ #18604]
1578         * assert/assert.h (assert): Don't macro-expand failed assertion
1579         expression in error message.
1580         * malloc/malloc.c (assert): Likewise.
1582 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
1584         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
1585         test.
1586         * configure: Regenerated.
1588 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
1590         * math/libm-test.inc (modf_test_data): Add more tests.
1591         (nearbyint_test_data): Likewise.
1592         (nextafter_test_data): Likewise.
1593         (nexttoward_test_data): Likewise.
1594         (pow_test_data): Likewise.
1595         (remainder_test_data): Likewise.
1596         (remquo_test_data): Likewise.
1597         (rint_test_data): Likewise.
1599         [BZ #19201]
1600         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
1601         Check for zero remainder in case of large exponents and ensure
1602         correct sign of result in that case.
1603         * math/libm-test.inc (remainder_test_data): Add more tests.
1605         [BZ #6799]
1606         * math/s_nextafter.c: Include <errno.h>.
1607         (__nextafter): Set errno on overflow and underflow.
1608         * math/s_nexttowardf.c: Include <errno.h>.
1609         (__nexttowardf): Set errno on overflow and underflow.
1610         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
1611         (__nextafterl): Set errno on overflow and underflow.
1612         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
1613         (__nexttoward): Set errno on overflow and underflow.
1614         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
1615         (__nexttowardf): Set errno on overflow and underflow.
1616         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
1617         (__nextafterf): Set errno on overflow and underflow.
1618         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
1619         (__nextafterl): Set errno on overflow and underflow.
1620         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
1621         (__nexttoward): Set errno on overflow and underflow.
1622         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
1623         (__nexttowardf): Set errno on overflow and underflow.
1624         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
1625         (__nextafterl): Set errno on overflow and underflow.
1626         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
1627         (__nexttoward): Set errno on overflow and underflow.
1628         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
1629         (__nexttowardf): Set errno on overflow and underflow.
1630         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
1631         (__nexttoward): Set errno on overflow and underflow.
1632         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
1633         (__nexttowardf): Set errno on overflow and underflow.
1634         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
1635         (__nldbl_nexttowardf): Set errno on overflow and underflow.
1636         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
1637         (__nextafterl): Set errno on overflow and underflow.
1638         * math/libm-test.inc (nextafter_test_data): Do not allow errno
1639         setting to be missing on overflow.  Add more tests.
1640         (nexttoward_test_data): Likewise.
1642         * configure.ac (libc_cv_initfini_array): Remove configure test.
1643         * configure: Regenerated.
1645 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
1647         [BZ #19189]
1648         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
1649         non-finite argument handle arguments with negative sign.
1651         * math/libm-test.inc (j0_test_data): Do not test sign of zero
1652         result from infinite argument.
1653         (j1_test_data): Likewise.
1654         (jn_test_data): Likewise.
1655         (y0_test_data): Likewise.
1656         (y1_test_data): Likewise.
1657         (yn_test_data): Likewise.
1659         [BZ #16171]
1660         * math/w_remainder.c (drem): Define as weak alias of __remainder.
1661         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
1662         * math/w_remainderf.c (dremf): Define as weak alias of
1663         __remainderf.
1664         * math/w_remainderl.c (dreml): Define as weak alias of
1665         __remainderl.
1666         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
1667         __remainder.
1668         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
1669         __remainderf.
1670         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
1671         __remainderl.
1672         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
1673         weak alias of remainderl.
1674         * sysdeps/ieee754/ldbl-opt/w_remainder.c
1675         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
1676         alias of __remainder.
1677         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
1678         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
1679         strong alias of __remainderl.
1680         (dreml): Use long_double_symbol.
1681         * math/Makefile (libm-calls): Remove w_drem.
1682         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
1683         (CFLAGS-nldbl-drem.c): Remove variable.
1684         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
1685         * math/w_drem.c: Remove file.
1686         * math/w_dremf.c: Likewise.
1687         * math/w_dreml.c: Likewise.
1688         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
1689         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
1690         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
1692         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
1693         * sysdeps/i386/configure: Regenerated.
1694         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
1695         * sysdeps/x86_64/configure: Regenerated.
1697         * configure.ac (libc_cv_asm_protected_directive): Remove configure
1698         test.
1699         (libc_cv_visibility_attribute): Likewise.
1700         (libc_cv_protected_data): Test unconditionally.
1701         (libc_cv_broken_visibility_attribute): Remove configure test.
1702         (libc_cv_have_sdata_section): Test unconditionally.
1703         * configure: Regenerated.
1705         * include/libc-internal.h (libc_max_align_t): Remove typedef.
1706         * include/scratch_buffer.h: Include <stddef.h> instead of
1707         <libc-internal.h>.
1708         (struct scratch_buffer): Use max_align_t instead of
1709         libc_max_align_t.
1711 2015-10-29  Florian Weimer  <fweimer@redhat.com>
1713         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
1714         instead of extend_alloca.  Change control flow to avoid a goto.
1715         Remove assert which is trivially always true.
1717 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
1719         [BZ #16068]
1720         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
1721         (FE_ALL_EXCEPT_X86): New macro.
1722         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
1723         FE_ALL_EXCEPT.  Ensure precision control is included in
1724         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
1725         handle "denormal operand exception" and clear FZ and DAZ bits.
1726         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
1727         (FE_ALL_EXCEPT_X86): New macro.
1728         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
1729         FE_ALL_EXCEPT.  Ensure precision control is included in
1730         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
1731         handle "denormal operand exception" and clear FZ and DAZ bits.
1732         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
1733         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
1734         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
1735         test-fenv-x87 and test-fenv-sse-2.
1736         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
1738         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
1739         * math/test-double.h (BUILD_COMPLEX): New macro.
1740         * math/test-float.h (BUILD_COMPLEX): Likewise.
1741         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
1743         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
1744         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
1745         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
1746         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
1747         instead of DBL_DENORM_MIN in comment.
1748         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
1749         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
1750         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
1751         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
1752         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
1753         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
1755 2015-10-28  Florian Weimer  <fweimer@redhat.com>
1757         [BZ# 19048]
1758         * malloc/malloc.c (struct malloc_state): Update comment.  Add
1759         attached_threads member.
1760         (main_arena): Initialize attached_threads.
1761         * malloc/arena.c (list_lock): Update comment.
1762         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
1763         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
1764         (deattach_arena): New function.
1765         (_int_new_arena): Initialize arena reference count and deattach
1766         replaced arena.
1767         (get_free_list, reused_arena): Update reference count and deattach
1768         replaced arena.
1769         (arena_thread_freeres): Update arena reference count and only put
1770         unreferenced arenas on the free list.
1772 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
1774         [BZ #19181]
1775         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
1776         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
1777         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
1778         * math/test-fenv-clear-main.c: New file.
1779         * math/test-fenv-clear.c: Likewise.
1780         * math/Makefile (tests): Add test-fenv-clear.
1781         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
1782         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
1783         test-fenv-clear-sse.
1784         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
1786         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
1787         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
1788         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
1790 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
1792         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
1793         static libc.
1795 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
1797         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
1798         test.
1799         * sysdeps/i386/configure: Regenerated.
1800         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
1801         test.
1802         * sysdeps/x86_64/configure: Regenerated.
1803         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
1804         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1805         memset-avx2 unconditionally instead of conditionally on
1806         [$(config-cflags-avx2) = yes].
1807         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1808         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
1809         unconditional.
1810         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
1811         * sysdeps/x86_64/multiarch/memset_chk.S
1812         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
1813         to [IS_IN (libc) && SHARED].
1815 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
1817         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
1818         configure test.
1819         * sysdeps/arm/configure: Regenerated.
1820         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
1821         Define variable if not already defined.
1823         [BZ #17404]
1824         * sysdeps/mips/atomic-machine.h
1825         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
1826         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
1827         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
1829         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
1830         unconditional.
1831         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
1832         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
1833         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
1834         unconditional.
1835         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
1836         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
1837         unconditional.
1838         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
1839         * stdlib/setenv.c
1840         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
1841         code unconditional.
1842         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
1843         Remove conditional code.
1844         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
1845         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
1846         unconditional.
1847         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
1848         code.
1849         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
1850         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
1851         unconditional.
1852         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
1853         code.
1854         * sysdeps/ieee754/ldbl-128/k_tanl.c
1855         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
1856         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
1857         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
1858         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
1859         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
1860         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
1861         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
1862         unconditional.
1863         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
1864         code.
1865         * sysdeps/ieee754/ldbl-96/k_tanl.c
1866         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
1867         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
1869         * nptl/tst-initializers1-c11.c: New file.
1870         * nptl/tst-initializers1-gnu11.c: Likewise.
1871         * nptl/Makefile (tests): Add these new tests.
1872         (CFLAGS-tst-initializers1-c11.c): New variable.
1873         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
1875         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
1876         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
1877         instead of -std=gnu99.
1878         * configure.ac (systemtap): Test with -std=gnu11 instead of
1879         -std=gnu99.
1880         * configure: Regenerated.
1881         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
1882         in compilation command in comment.
1884         * sysdeps/nptl/configure.ac: Remove file.
1885         * sysdeps/nptl/configure: Remove generated file.
1886         * configure.ac (libc_cv_forced_unwind): Do not substitute.
1887         * configure: Regenerated.
1888         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
1889         * config.make.in (have-forced-unwind): Remove variable.
1890         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
1891         unconditional.
1892         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
1893         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
1894         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
1895         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
1896         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
1897         unconditional.
1899 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1901         [BZ #19174]
1902         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
1903         .skip_lock_out_of_tbegin_retries.
1904         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
1905         (__lll_lock_elision): Likewise, and respect a value of
1906         try_tbegin <= 0.
1908 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
1910         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
1911         statement.
1913 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
1915         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
1916         variable.
1917         (test-xfail-ISO11/stdalign.h/conform): Likewise.
1918         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
1920         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
1921         of -std=c1x -D_ISOC11_SOURCE.
1923         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
1924         * configure: Regenerated.
1925         * manual/install.texi (Tools for Compilation): Document
1926         requirement for GCC 4.7 or later.
1927         * INSTALL: Regenerated.
1929 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
1931         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
1932         on CNT to a conditional jump to 'puntdata'.
1934 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
1936         * configure.ac (libc_cv_gcc___thread): Remove configure test.
1937         (libc_cv_gcc_tls_model_attr): Likewise.
1938         * configure: Regenerated.
1940         * configure.ac (libc_cv_need_minus_P): Remove configure test.
1941         * configure: Regenerated.
1942         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
1944 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
1946         * configure.ac (old_glibc_headers): Remove configure test.
1947         * configure: Regenerated.
1948         * config.make.in (old-glibc-headers): Remove variable.
1949         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
1950         (install): Remove dependency on remove-old-headers.
1951         (headers2_0): Remove variable.
1952         (remove-old-headers): Remove rule.
1954         * configure.ac (libc_cv_dot_text): Remove configure test.
1955         (libc_cv_asm_set_directive): Use .text instead of
1956         ${libc_cv_dot_text} in configure test.
1957         * configure: Regenerated.
1959 2015-10-26  Florian Weimer  <fweimer@redhat.com>
1961         [BZ #19168]
1962         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1964 2015-10-26  Florian Weimer  <fweimer@redhat.com>
1966         * configure.ac (CXX): Clear the variable if the C++ toolchain does
1967         not support static linking.
1968         * configure: Regenerate.
1970 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
1972         * math/libm-test.inc (check_float_internal): Do not special-case
1973         errors up to 0.5 ulp.
1975         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
1976         log2.
1977         * math/auto-libm-test-out: Regenerated.
1978         * math/libm-test.inc (MAX_EXP): New macro.
1979         (ilogb_test_data): Add more tests.
1980         (isfinite_test_data): Likewise.
1981         (isgreater_test_data): Likewise.
1982         (isgreaterequal_test_data): Likewise.
1983         (isinf_test_data): Likewise.
1984         (isless_test_data): Likewise.
1985         (islessequal_test_data): Likewise.
1986         (islessgreater_test_data): Likewise.
1987         (isnan_test_data): Likewise.
1988         (isnormal_test_data): Likewise.
1989         (issignaling_test_data): Likewise.
1990         (isunordered_test_data): Likewise.
1991         (j0_test_data): Likewise.
1992         (j1_test_data): Likewise.
1993         (jn_test_data): Likewise.
1994         (lgamma_test_data): Likewise.
1995         (log_test_data): Likewise.
1996         (log10_test_data): Likewise.
1997         (log1p_test_data): Likewise.
1998         (log2_test_data): Likewise.
1999         (logb_test_data): Likewise.
2000         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2002         [BZ #18611]
2003         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
2004         avoid excess range and precision on underflow.
2005         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
2006         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
2007         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
2008         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
2009         underflow.
2010         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
2011         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2012         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
2013         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
2014         * math/auto-libm-test-in: Do not allow missing errno setting for
2015         tests of j1 and jn.
2016         * math/auto-libm-test-out: Regenerated.
2018 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
2020         [BZ #15491]
2021         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
2022         floating-point environment instead of clearing all exceptions.
2023         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
2024         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
2025         merging in "invalid" exceptions from frndint.
2026         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
2027         * math/test-nearbyint-except.c: New file.
2028         * math/Makefile (tests): Add test-nearbyint-except.
2030 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
2032         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
2034         * sysdeps/tile/libm-test-ulps: Regenerated.
2036 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
2039         (__NR_sync_file_range2): Assume it is always defined.
2040         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
2041         (__NR_sync_file_range): Assume it is always defined.
2043 2015-10-22  Andreas Schwab  <schwab@suse.de>
2045         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
2046         INTERNAL_SYSCALL_ERRNO.
2047         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
2048         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
2049         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2050         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
2051         Likewise.
2052         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2054 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
2056         * io/tst-fcntl.c (fd): New static variable.
2057         (do_prepare): Open temporary file here....
2058         (do_test): ...not here.
2060         * io/ftwtest-sh: Also trap on exit to remove temporary files.
2062 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
2064         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
2065         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
2066         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
2067         Moved before "#ifdef __ASSEMBLER__".
2069 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
2071         [BZ #19156]
2072         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
2073         arguments very close to 0.
2075 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
2077         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
2078         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
2080 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
2082         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
2083         New.  Defined for GCC 5 and above when not compiling for
2084         profiling.
2085         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
2087         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
2088         Renamed to ...
2089         (CFLAGS-epoll_pwait.o): This.
2090         (CFLAGS-mmap.c): Renamed to ...
2091         (CFLAGS-mmap.o): This.
2092         (CFLAGS-mmap64.c): Renamed to ...
2093         (CFLAGS-mmap64.o): This.
2094         (CFLAGS-epoll_pwait.os): New.
2095         (CFLAGS-mmap.os): Likewise.
2096         (CFLAGS-mmap64.os): Likewise.
2097         (CFLAGS-semtimedop.os): Likewise.
2098         (CFLAGS-semtimedop.c): Renamed to ...
2099         (CFLAGS-semtimedop.o): This.
2101 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2103         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
2104         warning message.
2106 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
2108         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
2109         * Makefile ($(objpfx)c++-types-check.out): Filter out
2110         $(+gccwarn-c) instead of -Wstrict-prototypes.
2112         * io/fts.c (fts_open): Convert to prototype-style function
2113         definition.
2114         * malloc/mcheck.c (mcheck): Likewise.
2115         (mcheck_pedantic): Likewise.
2116         * posix/regexec.c (re_search_2_stub): Likewise.  Use
2117         internal_function.
2118         (re_search_internal): Likewise.
2119         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
2120         prototype-style function definition.
2121         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
2122         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
2123         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
2124         (xdr_utmpptr): Likewise.
2125         (xdr_utmparr): Likewise.
2126         (xdr_utmpidle): Likewise.
2127         (xdr_utmpidleptr): Likewise.
2128         (xdr_utmpidlearr): Likewise.
2130         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
2131         log, log10 and log2.
2132         * math/auto-libm-test-out: Regenerated.
2133         * math/libm-test.inc (fmod_test_data): Add more tests.
2134         (fpclassify_test_data): Likewise.
2135         (frexp_test_data): Likewise.
2136         (hypot_test_data): Likewise.
2137         (ilogb_test_data): Likewise.
2139 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
2141         * debug/fortify_fail.c (__fortify_fail): Convert to
2142         prototype-style function definition.  Use internal_function.
2143         * libio/genops.c (save_for_backup): Convert to prototype-style
2144         function definition.
2145         * libio/wgenops.c (save_for_wbackup): Likewise.
2146         * login/grantpt.c (grantpt): Likewise.
2147         * login/ptsname.c (ptsname): Likewise.
2148         (__ptsname_r): Likewise.
2149         * login/unlockpt.c (unlockpt): Likewise.
2150         * mach/msgserver.c (__mach_msg_server): Likewise.
2151         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
2152         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
2153         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
2154         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
2155         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
2156         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
2157         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
2158         Likewise.
2159         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
2160         internal_function.
2161         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
2162         prototype-style function definition.
2163         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
2164         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
2165         (__pthread_create_2_0): Likewise.
2166         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
2167         * nptl/register-atfork.c (__register_atfork): Likewise.
2168         * posix/glob.c (glob): Likewise.
2169         * posix/regcomp.c (re_comp): Likewise.
2170         * posix/regexec.c (re_exec): Likewise.
2171         * stdlib/add_n.c [__STDC__]: Make code unconditional.
2172         [!__STDC__]: Remove conditional code.
2173         * stdlib/cmp.c [__STDC__]: Make code unconditional.
2174         [!__STDC__]: Remove conditional code.
2175         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
2176         [!__STDC__]: Remove conditional code.
2177         * stdlib/divrem.c [__STDC__]: Make code unconditional.
2178         [!__STDC__]: Remove conditional code.
2179         * stdlib/lshift.c [__STDC__]: Make code unconditional.
2180         [!__STDC__]: Remove conditional code.
2181         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
2182         [!__STDC__]: Remove conditional code.
2183         * stdlib/mul.c [__STDC__]: Make code unconditional.
2184         [!__STDC__]: Remove conditional code.
2185         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
2186         [!__STDC__]: Remove conditional code.
2187         * stdlib/rshift.c [__STDC__]: Make code unconditional.
2188         [!__STDC__]: Remove conditional code.
2189         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
2190         function definition.
2191         (STRTOF): Likewise.
2192         * stdlib/strtod_l.c (__STRTOF): Likewise.
2193         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
2194         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
2195         (__strtol_l): Likewise.
2196         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
2197         [!__STDC__]: Remove conditional code.
2198         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
2199         definition.
2200         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
2201         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
2202         type.
2203         (__strcasecmp): Convert to prototype-style function definition.
2204         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
2205         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
2206         type.
2207         (__strncasecmp): Convert to prototype-style function definition.
2208         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
2209         * sunrpc/xdr.c (xdr_union): Likewise.
2210         * sunrpc/xdr_array.c (xdr_array): Likewise.
2211         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
2212         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
2213         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
2214         Likewise.
2215         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
2216         Likewise.
2217         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
2218         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
2219         Likewise.
2220         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
2221         (LOCALE_PARAM_PROTO): Likewise.
2222         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
2223         argument type.
2224         (ut_argument_spec): Remove macro.
2225         (ut_argument_spec_iso): Rename to ut_argument_spec.
2226         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
2227         prototype-style function definition.
2228         (memcpy_uppcase): Likewise.
2229         (__strftime_internal): Likewise.
2230         (my_strftime): Likewise.
2231         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
2232         (LOCALE_PARAM_DECL): Likewise.
2233         [_LIBC] (LOCALE_PARAM): Include argument type.
2234         (__strptime_internal): Convert to prototype-style function
2235         definition.
2236         (strptime): Likewise.
2237         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
2238         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
2239         type.
2240         (__wcscasecmp): Convert to prototype-style function definition.
2241         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
2242         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
2243         type.
2244         (__wcsncasecmp): Convert to prototype-style function definition.
2246         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
2247         function definition.
2248         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
2249         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
2250         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
2251         * elf/dl-minimal.c (_itoa): Likewise.
2252         * hurd/hurdmalloc.c (malloc): Likewise.
2253         (free): Likewise.
2254         (realloc): Likewise.
2255         * inet/inet6_option.c (inet6_option_space): Likewise.
2256         (inet6_option_init): Likewise.
2257         (inet6_option_append): Likewise.
2258         (inet6_option_alloc): Likewise.
2259         (inet6_option_next): Likewise.
2260         (inet6_option_find): Likewise.
2261         * io/ftw.c (FTW_NAME): Likewise.
2262         (NFTW_NAME): Likewise.
2263         (NFTW_NEW_NAME): Likewise.
2264         (NFTW_OLD_NAME): Likewise.
2265         * libio/iofwide.c (_IO_fwide): Likewise.
2266         * libio/strops.c (_IO_str_init_static_internal): Likewise.
2267         (_IO_str_init_static): Likewise.
2268         (_IO_str_init_readonly): Likewise.
2269         (_IO_str_overflow): Likewise.
2270         (_IO_str_underflow): Likewise.
2271         (_IO_str_count): Likewise.
2272         (_IO_str_seekoff): Likewise.
2273         (_IO_str_pbackfail): Likewise.
2274         (_IO_str_finish): Likewise.
2275         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
2276         (_IO_wstr_overflow): Likewise.
2277         (_IO_wstr_underflow): Likewise.
2278         (_IO_wstr_count): Likewise.
2279         (_IO_wstr_seekoff): Likewise.
2280         (_IO_wstr_pbackfail): Likewise.
2281         (_IO_wstr_finish): Likewise.
2282         * locale/programs/localedef.c (normalize_codeset): Likewise.
2283         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
2284         (add_locales_to_archive): Likewise.
2285         (delete_locales_from_archive): Likewise.
2286         * malloc/malloc.c (__libc_mallinfo): Likewise.
2287         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
2288         * misc/tsearch.c (__tfind): Likewise.
2289         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
2290         * nptl/pthread_attr_getdetachstate.c
2291         (__pthread_attr_getdetachstate): Likewise.
2292         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
2293         Likewise.
2294         * nptl/pthread_attr_getinheritsched.c
2295         (__pthread_attr_getinheritsched): Likewise.
2296         * nptl/pthread_attr_getschedparam.c
2297         (__pthread_attr_getschedparam): Likewise.
2298         * nptl/pthread_attr_getschedpolicy.c
2299         (__pthread_attr_getschedpolicy): Likewise.
2300         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
2301         Likewise.
2302         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
2303         Likewise.
2304         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
2305         Likewise.
2306         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
2307         Likewise.
2308         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
2309         (__pthread_attr_init_2_0): Likewise.
2310         * nptl/pthread_attr_setdetachstate.c
2311         (__pthread_attr_setdetachstate): Likewise.
2312         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
2313         Likewise.
2314         * nptl/pthread_attr_setinheritsched.c
2315         (__pthread_attr_setinheritsched): Likewise.
2316         * nptl/pthread_attr_setschedparam.c
2317         (__pthread_attr_setschedparam): Likewise.
2318         * nptl/pthread_attr_setschedpolicy.c
2319         (__pthread_attr_setschedpolicy): Likewise.
2320         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
2321         Likewise.
2322         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
2323         Likewise.
2324         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
2325         Likewise.
2326         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
2327         Likewise.
2328         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
2329         Likewise.
2330         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
2331         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
2332         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
2333         use internal_function.
2334         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
2335         prototype-style function definition.
2336         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
2337         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
2338         internal_function.
2339         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
2340         Convert to prototype-style function definition.
2341         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
2342         Likewise.
2343         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
2344         Likewise.
2345         (__pthread_mutex_unlock): Likewise.
2346         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
2347         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
2348         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
2349         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
2350         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
2351         * nss/makedb.c (process_input): Likewise.
2352         * posix/fnmatch.c (__strchrnul): Likewise.
2353         (__wcschrnul): Likewise.
2354         (fnmatch): Likewise.
2355         * posix/fnmatch_loop.c (FCT): Likewise.
2356         * posix/glob.c (globfree): Likewise.
2357         (__glob_pattern_type): Likewise.
2358         (__glob_pattern_p): Likewise.
2359         * posix/regcomp.c (re_compile_pattern): Likewise.
2360         (re_set_syntax): Likewise.
2361         (re_compile_fastmap): Likewise.
2362         (regcomp): Likewise.
2363         (regerror): Likewise.
2364         (regfree): Likewise.
2365         * posix/regexec.c (regexec): Likewise.
2366         (re_match): Likewise.
2367         (re_search): Likewise.
2368         (re_match_2): Likewise.
2369         (re_search_2): Likewise.
2370         (re_search_stub): Likewise.  Use internal_function
2371         (re_copy_regs): Likewise.
2372         (re_set_registers): Convert to prototype-style function
2373         definition.
2374         (prune_impossible_nodes): Likewise.  Use internal_function.
2375         * resolv/inet_net_pton.c (inet_net_pton): Convert to
2376         prototype-style function definition.
2377         (inet_net_pton_ipv4): Likewise.
2378         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
2379         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
2380         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
2381         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
2382         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
2383         Make variadic.
2384         * time/strptime_l.c (localtime_r): Convert to prototype-style
2385         function definition.
2386         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
2387         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
2388         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
2389         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
2391         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
2392         definition.
2393         (_ufc_doit_r): Likewise.
2394         * crypt/crypt_util.c (_ufc_copymem): Likewise.
2395         (_ufc_output_conversion_r): Likewise.
2396         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
2397         * inet/rcmd.c (rcmd_af): Likewise.
2398         (rcmd): Likewise.
2399         (ruserok_af): Likewise.
2400         (ruserok): Likewise.
2401         (ruserok2_sa): Likewise.
2402         (ruserok_sa): Likewise.
2403         (iruserok_af): Likewise.
2404         (iruserok): Likewise.
2405         (__ivaliduser): Likewise.
2406         (__validuser2_sa): Likewise.
2407         * inet/rexec.c (rexec_af): Likewise.
2408         (rexec): Likewise.
2409         * inet/ruserpass.c (ruserpass): Likewise.
2410         * locale/programs/xmalloc.c (xcalloc): Likewise.
2411         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
2412         * math/w_drem.c (__drem): Likewise.
2413         * math/w_dremf.c (__dremf): Likewise.
2414         * math/w_dreml.c (__dreml): Likewise.
2415         * misc/daemon.c (daemon): Likewise.
2416         * resolv/res_debug.c (p_fqnname): Likewise.
2417         * stdlib/div.c (div): Likewise.
2418         * string/memcmp.c (memcmp_bytes): Likewise.
2419         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
2420         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
2422         * crypt/cert.c (main): Convert to prototype-style function
2423         definition.
2424         * io/pipe.c (__pipe): Likewise.
2425         * io/pipe2.c (__pipe2): Likewise.
2426         * misc/futimesat.c (futimesat): Likewise.
2427         * misc/utimes.c (__utimes): Likewise.
2428         * posix/execve.c (__execve): Likewise.
2429         * posix/execvp.c (execvp): Likewise.
2430         * posix/execvpe.c (__execvpe): Likewise.
2431         * posix/fexecve.c (fexecve): Likewise.
2432         * socket/socketpair.c (socketpair): Likewise.
2433         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
2434         * stdlib/erand48.c (erand48): Likewise.
2435         * stdlib/erand48_r.c (__erand48_r): Likewise.
2436         * stdlib/jrand48.c (jrand48): Likewise.
2437         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
2438         * stdlib/lcong48.c (lcong48): Likewise.
2439         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
2440         * stdlib/nrand48.c (nrand48): Likewise.
2441         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
2442         * stdlib/seed48.c (seed48): Likewise.
2443         * stdlib/seed48_r.c (__seed48_r): Likewise.
2444         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
2445         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
2446         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
2448 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
2450         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
2451         * configure: Regenerated.
2452         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
2453         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
2454         unconditional.
2455         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
2456         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
2457         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
2458         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
2459         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
2460         unconditional.
2461         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
2463         * posix/Makefile (CFLAGS-regex.c): Remove variable.
2464         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
2466         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
2467         function definition.
2468         * crypt/crypt_util.c (__encrypt_r): Likewise.
2469         * libio/genops.c (_IO_no_init): Likewise.
2470         * libio/iofopncook.c (_IO_fopencookie): Likewise.
2471         (_IO_old_fopencookie): Likewise.
2472         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
2473         * libio/iogetline.c (_IO_getline): Likewise.
2474         (_IO_getline_info): Likewise.
2475         * libio/iogetwline.c (_IO_getwline): Likewise.
2476         (_IO_getwline_info): Likewise.
2477         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
2478         * libio/vswprintf.c (_IO_vswprintf): Likewise.
2479         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
2480         (find_entry): Likewise.
2481         (iterate_table): Likewise.
2482         (lookup): Likewise.
2483         * login/forkpty.c (forkpty): Likewise.
2484         * misc/hsearch_r.c (__hsearch_r): Likewise.
2485         * misc/select.c (__select): Likewise.
2486         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
2487         Likewise.
2488         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
2489         Likewise.
2490         * nptl/old_pthread_cond_timedwait.c
2491         (__pthread_cond_timedwait_2_0): Likewise.
2492         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
2493         * nptl/pthread_barrierattr_getpshared.c
2494         (pthread_barrierattr_getpshared): Likewise.
2495         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
2496         Likewise.
2497         * nptl/pthread_mutex_setprioceiling.c
2498         (pthread_mutex_setprioceiling): Likewise.
2499         * nptl/pthread_mutexattr_getprioceiling.c
2500         (pthread_mutexattr_getprioceiling): Likewise.
2501         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
2502         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2503         Likewise.
2504         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
2505         Likewise.
2506         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
2507         Likewise.
2508         * socket/recvfrom.c (__recvfrom): Likewise.
2509         * socket/sendto.c (__sendto): Likewise.
2510         * socket/setsockopt.c (__setsockopt): Likewise.
2511         * stdio-common/_itoa.c (_itoa): Likewise.
2512         * stdio-common/_itowa.c (_itowa): Likewise.
2513         * stdio-common/reg-printf.c (__register_printf_specifier):
2514         Likewise.
2515         (__register_printf_function): Likewise.
2516         * stdio-common/tempname.c (__path_search): Likewise.
2517         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
2518         * stdlib/mul_1.c (mpn_mul_1): Likewise.
2519         * stdlib/random_r.c (__initstate_r): Likewise.
2520         * stdlib/setenv.c (__add_to_environ): Likewise.
2521         * stdlib/submul_1.c (mpn_submul_1): Likewise.
2522         * streams/getpmsg.c (getpmsg): Likewise.
2523         * streams/putmsg.c (putmsg): Likewise.
2524         * streams/putpmsg.c (putpmsg): Likewise.
2525         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
2526         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
2527         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
2528         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
2529         * sunrpc/pm_getport.c (pmap_getport): Likewise.
2530         * sunrpc/svc_udp.c (cache_get): Likewise.
2531         * sunrpc/xdr_array.c (xdr_vector): Likewise.
2532         * sysdeps/mach/hurd/getcwd.c
2533         (__canonicalize_directory_name_internal): Likewise.
2534         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
2535         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
2536         * sysdeps/mach/hurd/select.c (__select): Likewise.
2537         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
2538         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
2539         * sysdeps/sparc/nptl/pthread_barrier_init.c
2540         (__pthread_barrier_init): Likewise.
2541         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
2542         (__pthread_cond_timedwait): Likewise.
2543         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
2544         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
2545         Likewise.
2546         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
2547         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
2548         Likewise.
2549         * sysvipc/semtimedop.c (semtimedop): Likewise.
2550         * time/setitimer.c (__setitimer): Likewise.
2551         * time/strftime_l.c (emacs_strftime): Likewise.
2553 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
2555         * config.make.in (have-ssp): Delete.
2556         (stack-protector): New variable.
2557         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
2558         cache test for -fstack-protector-strong.  Export stack_protector to
2559         the best ssp flag.
2560         * configure: Regenerated.
2561         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
2562         * nscd/Makefile (CFLAGS-nscd): Likewise.
2563         * resolv/Makefile (CFLAGS-libresolv): Likewise.
2565 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
2567         [BZ #19122]
2568         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
2569         attribute_hidden.
2571 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2573         [BZ #18743]
2574         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
2575         code to...
2576         (ELIDE_LOCK): ...here.
2577         (__get_new_count): New function with part of the code from
2578         __elide_lock that updates the value of adapt_count after a
2579         transaction abort.
2580         (__elided_trylock): Moved this code to...
2581         (ELIDE_TRYLOCK): ...here.
2583 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
2585         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
2586         * configure: Regenerate.
2587         * INSTALL: Regenerate.
2588         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
2589         and tweak grammar.
2591 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
2593         * login/programs/pt_chown.c: Include signal.h
2594         (main): Clear any signal mask from the parent process.
2596 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
2598         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
2599         * configure: Regenerated.
2600         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
2601         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
2602         $(gnu89-inline-CFLAGS).
2604         * configure.ac (libc_cv_asm_weak_directive): Remove configure
2605         test.
2606         (libc_cv_asm_weakext_directive): Likewise.
2607         * configure: Regenerated.
2608         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
2609         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
2610         * include/libc-symbols.h
2611         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
2612         #error.
2613         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
2614         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
2616         * sysdeps/arm/backtrace.c (__backtrace): Convert to
2617         prototype-style function definition.
2618         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
2619         * sysdeps/i386/ffs.c (__ffs): Likewise.
2620         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
2621         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
2622         Likewise.
2623         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
2624         Likewise.
2625         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
2626         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
2627         Likewise.
2628         * sysdeps/m68k/ffs.c (__ffs): Likewise.
2629         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
2630         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
2631         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
2632         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
2633         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
2634         * sysdeps/mach/hurd/access.c (__access): Likewise.
2635         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
2636         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
2637         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
2638         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
2639         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
2640         (cthread_getspecific): Likewise.
2641         (cthread_setspecific): Likewise.
2642         (__libc_getspecific): Likewise.
2643         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
2644         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
2645         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
2646         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
2647         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
2648         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
2649         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
2650         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
2651         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
2652         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
2653         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
2654         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
2655         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
2656         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
2657         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
2658         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
2659         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
2660         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
2661         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
2662         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
2663         * sysdeps/mach/hurd/link.c (__link): Likewise.
2664         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
2665         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
2666         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
2667         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
2668         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
2669         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
2670         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
2671         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
2672         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
2673         * sysdeps/mach/hurd/rename.c (rename): Likewise.
2674         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
2675         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
2676         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
2677         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
2678         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
2679         * sysdeps/mach/hurd/send.c (__send): Likewise.
2680         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
2681         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
2682         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
2683         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
2684         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
2685         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
2686         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
2687         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
2688         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
2689         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
2690         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
2691         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
2692         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
2693         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
2694         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
2695         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
2696         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
2697         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
2698         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
2699         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
2700         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
2701         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
2702         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
2703         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
2704         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
2705         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
2706         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
2707         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
2708         * sysdeps/posix/alarm.c (alarm): Likewise.
2709         * sysdeps/posix/cuserid.c (cuserid): Likewise.
2710         * sysdeps/posix/dirfd.c (dirfd): Likewise.
2711         * sysdeps/posix/dup.c (__dup): Likewise.
2712         * sysdeps/posix/dup2.c (__dup2): Likewise.
2713         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
2714         (main): Likewise.
2715         * sysdeps/posix/flock.c (__flock): Likewise.
2716         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
2717         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
2718         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
2719         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
2720         * sysdeps/posix/isatty.c (__isatty): Likewise.
2721         * sysdeps/posix/killpg.c (killpg): Likewise.
2722         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
2723         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
2724         * sysdeps/posix/raise.c (raise): Likewise.
2725         * sysdeps/posix/remove.c (remove): Likewise.
2726         * sysdeps/posix/rename.c (rename): Likewise.
2727         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
2728         * sysdeps/posix/seekdir.c (seekdir): Likewise.
2729         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
2730         * sysdeps/posix/sigignore.c (sigignore): Likewise.
2731         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
2732         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
2733         * sysdeps/posix/sigset.c (sigset): Likewise.
2734         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
2735         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
2736         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
2737         * sysdeps/posix/time.c (time): Likewise.
2738         * sysdeps/posix/ttyname.c (getttyname): Likewise.
2739         (ttyname): Likewise.
2740         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
2741         * sysdeps/posix/utime.c (utime): Likewise.
2742         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
2743         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
2744         Likewise.
2745         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
2746         (pthread_spin_trylock): Likewise.
2747         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
2748         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
2749         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
2750         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
2751         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
2752         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
2753         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
2754         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
2755         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
2756         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
2757         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
2758         * sysdeps/s390/ffs.c (__ffs): Likewise.
2759         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
2760         Likewise.
2761         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
2762         Likewise.
2763         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
2764         Likewise.
2765         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
2766         (pthread_barrier_destroy): Likewise.
2767         * sysdeps/sparc/nptl/pthread_barrier_wait.c
2768         (__pthread_barrier_wait): Likewise.
2769         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
2770         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
2771         (__pthread_barrier_wait): Likewise.
2772         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
2773         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
2774         (memcmp_not_common_alignment): Likewise.
2775         (MEMCMP): Likewise.
2776         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
2777         (_wordcopy_fwd_dest_aligned): Likewise.
2778         (_wordcopy_bwd_aligned): Likewise.
2779         (_wordcopy_bwd_dest_aligned): Likewise.
2780         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
2781         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
2782         * sysdeps/unix/bsd/stty.c (stty): Likewise.
2783         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
2784         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
2785         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
2786         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
2787         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
2788         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
2789         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
2790         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
2791         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
2792         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
2793         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
2794         * sysdeps/unix/stime.c (stime): Likewise.
2795         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
2796         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
2797         Likewise.  Use internal_function.
2798         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
2799         Convert to prototype-style function definition.
2800         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
2801         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
2802         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
2803         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
2804         Likewise.  Use internal_function.
2805         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
2806         prototype-style function definition
2807         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
2808         Likewise.
2809         (__getlogin_r): Likewise.
2810         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
2811         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
2812         (__pthread_cond_broadcast): Likewise.
2813         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
2814         (__pthread_cond_destroy): Likewise.
2815         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
2816         (__pthread_cond_init): Likewise.
2817         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
2818         (__pthread_cond_signal): Likewise.
2819         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
2820         (__pthread_cond_wait): Likewise.
2821         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
2822         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
2823         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
2824         Likewise.
2825         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
2826         Likewise.
2827         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
2828         Likewise.
2829         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
2830         Likewise.
2831         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
2832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
2833         (__ftruncate64): Likewise.
2834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
2835         (truncate64): Likewise.
2836         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
2837         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
2838         (pthread_getcpuclockid): Likewise.
2839         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
2840         Likewise.
2841         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
2842         Likewise.
2843         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
2844         Likewise.
2845         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
2846         Likewise.
2847         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
2848         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
2849         (__libc_sigaction): Likewise.
2850         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
2851         Likewise.
2852         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
2853         (__sigprocmask): Likewise.
2854         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
2855         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
2856         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
2857         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
2858         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
2859         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
2860         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
2861         Likewise.
2862         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
2863         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
2864         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
2865         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
2866         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
2867         Likewise.
2868         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
2869         (__sigprocmask): Likewise.
2870         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
2871         (cfgetispeed): Likewise.
2872         (cfsetospeed): Likewise.
2873         (cfsetispeed): Likewise.
2874         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
2875         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
2876         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
2877         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
2878         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
2879         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
2880         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
2881         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
2882         Likewise.
2883         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
2884         Likewise.
2885         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
2886         Likewise.
2887         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
2888         Likewise.
2889         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
2891 2015-10-17  Florian Weimer  <fweimer@redhat.com>
2893         sunrpc: Rewrite with explicit TLS access using __thread.
2894         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
2895         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
2896         directly.
2897         (__rpc_thread_variables): Access thread_rpc_vars directly.
2898         Eliminate redundant assignment of the tvp variable.
2900 2015-10-17  Florian Weimer  <fweimer@redhat.com>
2902         malloc: Rewrite with explicit TLS access using __thread.
2903         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
2904         (tsd_setspecific, tsd_getspecific): Remove.
2905         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
2906         (tsd_setspecific, tsd_getspecific): Likewise.
2907         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
2908         (tsd_setspecific, tsd_getspecific): Likewise.
2909         * malloc/arena.c (thread_arena): New TLS variable.
2910         (arena_key): Remove variable.
2911         (arena_get): Use thread_arena.
2912         (arena_lookup): Remove macro.
2913         (malloc_atfork, free_atfork, ptmalloc_lock_all)
2914         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
2915         (_int_new_arena, get_free_list, reused_arena)
2916         (arena_thread_freeres): Use thread_arena.
2917         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
2918         tsd_getspecific, tsd_setspecific from safety annotations.
2919         (Allocating Cleared Space): Remove arena_lookup from safety
2920         annotations.
2922 2015-10-17  Florian Weimer  <fweimer@redhat.com>
2924         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
2925         struct scratch_buffer instead of extend_alloca.
2927 2015-10-17  Florian Weimer  <fweimer@redhat.com>
2929         * sysdeps/unix/sysv/linux/kernel-features.h
2930         (__ASSUME_SOCK_CLOEXEC): Remove.
2931         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
2932         (__have_paccept): Remove unused macro.
2933         * include/unistd.h (__have_sock_cloexec): Remove declaration.
2934         * misc/syslog.c (openlog_internal): Remove fallback code for
2935         !__ASSUME_SOCK_CLOEXEC.
2936         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
2937         missing SOCK_CLOEXEC.
2938         * nscd/connections.c (have_sock_cloexec): Remove definition.
2939         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
2940         * nscd/nscd_helper.c (open_socket): Remove fallback code for
2941         !__ASSUME_SOCK_CLOEXEC.
2942         * resolv/res_send.c (__have_o_nonblock): Remove definition.
2943         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
2944         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
2945         definition.
2946         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
2947         code for !__ASSUME_SOCK_CLOEXEC.
2949 2015-10-17  Florian Weimer  <fweimer@redhat.com>
2951         [BZ #18982]
2952         * manual/stdio.texi (Variable Arguments Output): Add portability
2953         note, explaining that vfprintf clobbers the va_list pointer.
2955 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
2957         * math/libm-test.inc (fabs_test_data): Add more tests.
2958         (fdim_test_data): Likewise.
2959         (fma_test_data): Likewise.
2960         (fmax_test_data): Likewise.
2961         (fmin_test_data): Likewise.
2962         (fmod_test_data): Likewise.
2964 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
2966         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
2967         data.
2969 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
2971         * math/libm-test.inc (ceil_test_data): Add more tests and more
2972         expectations for "inexact".
2973         (floor_test_data): Add more tests.
2974         (round_test_data): Likewise.
2975         (trunc_test_data): Likewise.
2977         * crypt/cert.c (good_bye): Convert to prototype-style function
2978         definition.
2979         (get8): Likewise.
2980         (put8): Likewise.
2981         * crypt/crypt-entry.c (crypt): Likewise.
2982         (__fcrypt): Likewise.
2983         * crypt/crypt_util.c (_ufc_prbits): Likewise.
2984         (_ufc_set_bits): Likewise.
2985         (_ufc_clearmem): Likewise.
2986         (__init_des_r): Likewise.
2987         (shuffle_sb): Likewise.
2988         (shuffle_sb): Likewise.
2989         (_ufc_setup_salt_r): Likewise.
2990         (_ufc_mk_keytab_r): Likewise.
2991         (_ufc_dofinalperm_r): Likewise.
2992         (encrypt): Likewise.
2993         (__setkey_r): Likewise.
2994         (setkey): Likewise.
2995         * crypt/md5.c (md5_init_ctx): Likewise.
2996         (md5_read_ctx): Likewise.
2997         (md5_finish_ctx): Likewise.
2998         (md5_stream): Likewise.
2999         (md5_buffer): Likewise.
3000         (md5_process_bytes): Likewise.
3001         * crypt/sha256.c (__sha256_init_ctx): Likewise.
3002         (__sha256_finish_ctx): Likewise.
3003         (__sha256_process_bytes): Likewise.
3004         * crypt/sha512.c (__sha512_init_ctx): Likewise.
3005         (__sha512_finish_ctx): Likewise.
3006         (__sha512_process_bytes): Likewise.
3007         * ctype/isctype.c (__isctype): Likewise.
3008         * debug/backtrace.c (__backtrace): Likewise.
3009         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
3010         * debug/fgets_chk.c (__fgets_chk): Likewise.
3011         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
3012         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
3013         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
3014         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
3015         * debug/memset_chk.c (__memset_chk): Likewise.
3016         * debug/strcat_chk.c (__strcat_chk): Likewise.
3017         * debug/strncat_chk.c (__strncat_chk): Likewise.
3018         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
3019         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
3020         * dirent/dirfd.c (dirfd): Likewise.
3021         * dirent/getdents.c (__getdirentries): Likewise.
3022         * dirent/getdents64.c (getdirentries64): Likewise.
3023         * dirent/rewinddir.c (__rewinddir): Likewise.
3024         * dirent/seekdir.c (seekdir): Likewise.
3025         * dirent/telldir.c (telldir): Likewise.
3026         * elf/sln.c (makesymlinks): Likewise.
3027         (makesymlink): Likewise.
3028         * gmon/gmon.c (__moncontrol): Likewise.
3029         (__monstartup): Likewise.
3030         (write_hist): Likewise.
3031         (write_call_graph): Likewise.
3032         (write_bb_counts): Likewise.
3033         * grp/setgroups.c (setgroups): Likewise.
3034         * inet/inet_lnaof.c (inet_lnaof): Likewise.
3035         * inet/inet_net.c (inet_network): Likewise.
3036         * inet/inet_netof.c (inet_netof): Likewise.
3037         * inet/rcmd.c (rresvport_af): Likewise.
3038         (rresvport): Likewise.
3039         * io/access.c (__access): Likewise.
3040         * io/chdir.c (__chdir): Likewise.
3041         * io/chmod.c (__chmod): Likewise.
3042         * io/chown.c (__chown): Likewise.
3043         * io/close.c (__close): Likewise.
3044         * io/creat.c (creat): Likewise.
3045         * io/creat64.c (creat64): Likewise.
3046         * io/dup.c (__dup): Likewise.
3047         * io/dup2.c (__dup2): Likewise.
3048         * io/dup3.c (__dup3): Likewise.
3049         * io/euidaccess.c (__euidaccess): Likewise.
3050         * io/faccessat.c (faccessat): Likewise.
3051         * io/fchmod.c (__fchmod): Likewise.
3052         * io/fchmodat.c (fchmodat): Likewise.
3053         * io/fchown.c (__fchown): Likewise.
3054         * io/fchownat.c (fchownat): Likewise.
3055         * io/fcntl.c (__fcntl): Likewise.
3056         * io/flock.c (__flock): Likewise.
3057         * io/fts.c (fts_load): Likewise.
3058         (fts_close): Likewise.
3059         (fts_read): Likewise.
3060         (fts_set): Likewise.
3061         (fts_children): Likewise.
3062         (fts_build): Likewise.
3063         (fts_stat): Likewise.
3064         (fts_sort): Likewise.
3065         (fts_alloc): Likewise.
3066         (fts_lfree): Likewise.
3067         (fts_palloc): Likewise.
3068         (fts_padjust): Likewise.
3069         (fts_maxarglen): Likewise.
3070         (fts_safe_changedir): Likewise.
3071         * io/getwd.c (getwd): Likewise.
3072         * io/isatty.c (__isatty): Likewise.
3073         * io/lchown.c (__lchown): Likewise.
3074         * io/link.c (__link): Likewise.
3075         * io/linkat.c (linkat): Likewise.
3076         * io/lseek.c (__libc_lseek): Likewise.
3077         * io/mkdir.c (__mkdir): Likewise.
3078         * io/mkdirat.c (mkdirat): Likewise.
3079         * io/mkfifo.c (mkfifo): Likewise.
3080         * io/mkfifoat.c (mkfifoat): Likewise.
3081         * io/open.c (__libc_open): Likewise.
3082         * io/open64.c (__libc_open64): Likewise.
3083         * io/readlink.c (__readlink): Likewise.
3084         * io/readlinkat.c (readlinkat): Likewise.
3085         * io/rmdir.c (__rmdir): Likewise.
3086         * io/symlink.c (__symlink): Likewise.
3087         * io/symlinkat.c (symlinkat): Likewise.
3088         * io/ttyname.c (ttyname): Likewise.
3089         * io/ttyname_r.c (__ttyname_r): Likewise.
3090         * io/umask.c (__umask): Likewise.
3091         * io/unlink.c (__unlink): Likewise.
3092         * io/unlinkat.c (unlinkat): Likewise.
3093         * io/utime.c (utime): Likewise.
3094         * libio/clearerr.c (clearerr): Likewise.
3095         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
3096         * libio/feof.c (_IO_feof): Likewise.
3097         * libio/feof_u.c (feof_unlocked): Likewise.
3098         * libio/ferror.c (_IO_ferror): Likewise.
3099         * libio/ferror_u.c (ferror_unlocked): Likewise.
3100         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
3101         * libio/fileno.c (__fileno): Likewise.
3102         * libio/fputc.c (fputc): Likewise.
3103         * libio/fputc_u.c (fputc_unlocked): Likewise.
3104         * libio/fputwc.c (fputwc): Likewise.
3105         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
3106         * libio/freopen.c (freopen): Likewise.
3107         * libio/freopen64.c (freopen64): Likewise.
3108         * libio/fseek.c (fseek): Likewise.
3109         * libio/fseeko.c (fseeko): Likewise.
3110         * libio/fseeko64.c (fseeko64): Likewise.
3111         * libio/ftello.c (__ftello): Likewise.
3112         * libio/ftello64.c (ftello64): Likewise.
3113         * libio/fwide.c (fwide): Likewise.
3114         * libio/genops.c (_IO_un_link): Likewise.
3115         (_IO_link_in): Likewise.
3116         (_IO_least_marker): Likewise.
3117         (_IO_switch_to_main_get_area): Likewise.
3118         (_IO_switch_to_backup_area): Likewise.
3119         (_IO_switch_to_get_mode): Likewise.
3120         (_IO_free_backup_area): Likewise.
3121         (_IO_switch_to_put_mode): Likewise.
3122         (__overflow): Likewise.
3123         (__underflow): Likewise.
3124         (__uflow): Likewise.
3125         (_IO_setb): Likewise.
3126         (_IO_doallocbuf): Likewise.
3127         (_IO_default_underflow): Likewise.
3128         (_IO_default_uflow): Likewise.
3129         (_IO_default_xsputn): Likewise.
3130         (_IO_sgetn): Likewise.
3131         (_IO_default_xsgetn): Likewise.
3132         (_IO_sync): Likewise.
3133         (_IO_default_setbuf): Likewise.
3134         (_IO_default_seekpos): Likewise.
3135         (_IO_default_doallocate): Likewise.
3136         (_IO_init): Likewise.
3137         (_IO_old_init): Likewise.
3138         (_IO_default_sync): Likewise.
3139         (_IO_default_finish): Likewise.
3140         (_IO_default_seekoff): Likewise.
3141         (_IO_sputbackc): Likewise.
3142         (_IO_sungetc): Likewise.
3143         (_IO_set_column): Likewise.
3144         (_IO_set_column): Likewise.
3145         (_IO_adjust_column): Likewise.
3146         (_IO_get_column): Likewise.
3147         (_IO_init_marker): Likewise.
3148         (_IO_remove_marker): Likewise.
3149         (_IO_marker_difference): Likewise.
3150         (_IO_marker_delta): Likewise.
3151         (_IO_seekmark): Likewise.
3152         (_IO_unsave_markers): Likewise.
3153         (_IO_nobackup_pbackfail): Likewise.
3154         (_IO_default_pbackfail): Likewise.
3155         (_IO_default_seek): Likewise.
3156         (_IO_default_stat): Likewise.
3157         (_IO_default_read): Likewise.
3158         (_IO_default_write): Likewise.
3159         (_IO_default_showmanyc): Likewise.
3160         (_IO_default_imbue): Likewise.
3161         (_IO_iter_next): Likewise.
3162         (_IO_iter_file): Likewise.
3163         * libio/getc.c (_IO_getc): Likewise.
3164         * libio/getwc.c (_IO_getwc): Likewise.
3165         * libio/iofclose.c (_IO_new_fclose): Likewise.
3166         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
3167         * libio/iofflush.c (_IO_fflush): Likewise.
3168         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
3169         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
3170         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
3171         * libio/iofgets.c (_IO_fgets): Likewise.
3172         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
3173         * libio/iofgetws.c (fgetws): Likewise.
3174         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
3175         * libio/iofopen64.c (_IO_fopen64): Likewise.
3176         * libio/iofopncook.c (_IO_cookie_read): Likewise.
3177         (_IO_cookie_write): Likewise.
3178         (_IO_cookie_seek): Likewise.
3179         (_IO_cookie_close): Likewise.
3180         (_IO_cookie_seekoff): Likewise.
3181         (_IO_old_cookie_seek): Likewise.
3182         * libio/iofputs.c (_IO_fputs): Likewise.
3183         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
3184         * libio/iofputws.c (fputws): Likewise.
3185         * libio/iofputws_u.c (fputws_unlocked): Likewise.
3186         * libio/iofread.c (_IO_fread): Likewise.
3187         * libio/iofread_u.c (__fread_unlocked): Likewise.
3188         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
3189         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
3190         * libio/ioftell.c (_IO_ftell): Likewise.
3191         * libio/iofwrite.c (_IO_fwrite): Likewise.
3192         * libio/iogetdelim.c (_IO_getdelim): Likewise.
3193         * libio/iogets.c (_IO_gets): Likewise.
3194         * libio/iopadn.c (_IO_padn): Likewise.
3195         * libio/iopopen.c (_IO_new_proc_open): Likewise.
3196         (_IO_new_popen): Likewise.
3197         (_IO_new_proc_close): Likewise.
3198         * libio/ioputs.c (_IO_puts): Likewise.
3199         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
3200         (_IO_seekoff): Likewise.
3201         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
3202         (_IO_seekpos): Likewise.
3203         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
3204         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
3205         * libio/ioungetc.c (_IO_ungetc): Likewise.
3206         * libio/ioungetwc.c (ungetwc): Likewise.
3207         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
3208         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
3209         * libio/iowpadn.c (_IO_wpadn): Likewise.
3210         * libio/libc_fatal.c (__libc_fatal): Likewise.
3211         * libio/memstream.c (__open_memstream): Likewise.
3212         (_IO_mem_sync): Likewise.
3213         (_IO_mem_finish): Likewise.
3214         * libio/oldfileops.c (_IO_old_file_init): Likewise.
3215         (_IO_old_file_close_it): Likewise.
3216         (_IO_old_file_finish): Likewise.
3217         (_IO_old_file_fopen): Likewise.
3218         (_IO_old_file_attach): Likewise.
3219         (_IO_old_file_setbuf): Likewise.
3220         (_IO_old_do_write): Likewise.
3221         (old_do_write): Likewise.
3222         (_IO_old_file_underflow): Likewise.
3223         (_IO_old_file_overflow): Likewise.
3224         (_IO_old_file_sync): Likewise.
3225         (_IO_old_file_seekoff): Likewise.
3226         (_IO_old_file_write): Likewise.
3227         (_IO_old_file_xsputn): Likewise.
3228         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
3229         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
3230         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
3231         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
3232         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
3233         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
3234         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
3235         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
3236         (_IO_old_popen): Likewise.
3237         (_IO_old_proc_close): Likewise.
3238         * libio/oldpclose.c (__old_pclose): Likewise.
3239         * libio/pclose.c (__new_pclose): Likewise.
3240         * libio/peekc.c (_IO_peekc_locked): Likewise.
3241         * libio/putc.c (_IO_putc): Likewise.
3242         * libio/putc_u.c (putc_unlocked): Likewise.
3243         * libio/putchar.c (putchar): Likewise.
3244         * libio/putchar_u.c (putchar_unlocked): Likewise.
3245         * libio/putwc.c (putwc): Likewise.
3246         * libio/putwc_u.c (putwc_unlocked): Likewise.
3247         * libio/putwchar.c (putwchar): Likewise.
3248         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
3249         * libio/rewind.c (rewind): Likewise.
3250         * libio/setbuf.c (setbuf): Likewise.
3251         * libio/setlinebuf.c (setlinebuf): Likewise.
3252         * libio/vasprintf.c (_IO_vasprintf): Likewise.
3253         * libio/vscanf.c (_IO_vscanf): Likewise.
3254         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
3255         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
3256         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
3257         * libio/wgenops.c (_IO_least_wmarker): Likewise.
3258         (_IO_switch_to_main_wget_area): Likewise.
3259         (_IO_switch_to_wbackup_area): Likewise.
3260         (_IO_wsetb): Likewise.
3261         (_IO_wdefault_pbackfail): Likewise.
3262         (_IO_wdefault_finish): Likewise.
3263         (_IO_wdefault_uflow): Likewise.
3264         (__woverflow): Likewise.
3265         (__wuflow): Likewise.
3266         (__wunderflow): Likewise.
3267         (_IO_wdefault_xsputn): Likewise.
3268         (_IO_wdefault_xsgetn): Likewise.
3269         (_IO_wdoallocbuf): Likewise.
3270         (_IO_wdefault_doallocate): Likewise.
3271         (_IO_switch_to_wget_mode): Likewise.
3272         (_IO_free_wbackup_area): Likewise.
3273         (_IO_switch_to_wput_mode): Likewise.
3274         (_IO_sputbackwc): Likewise.
3275         (_IO_sungetwc): Likewise.
3276         (_IO_adjust_wcolumn): Likewise.
3277         (_IO_init_wmarker): Likewise.
3278         (_IO_wmarker_delta): Likewise.
3279         (_IO_seekwmark): Likewise.
3280         (_IO_unsave_wmarkers): Likewise.
3281         * libio/wmemstream.c (open_wmemstream): Likewise.
3282         (_IO_wmem_sync): Likewise.
3283         (_IO_wmem_finish): Likewise.
3284         * locale/nl_langinfo.c (nl_langinfo): Likewise.
3285         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
3286         * locale/programs/simple-hash.c (init_hash): Likewise.
3287         (delete_hash): Likewise.
3288         (insert_entry): Likewise.
3289         (set_entry): Likewise.
3290         (next_prime): Likewise.
3291         (is_prime): Likewise.
3292         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
3293         (xmalloc): Likewise.
3294         (xrealloc): Likewise.
3295         * locale/programs/xstrdup.c (xstrdup): Likewise.
3296         * localedata/collate-test.c (xstrcoll): Likewise.
3297         * localedata/xfrm-test.c (xstrcmp): Likewise.
3298         * login/getlogin_r.c (__getlogin_r): Likewise.
3299         * login/getpt.c (__posix_openpt): Likewise.
3300         * login/login_tty.c (login_tty): Likewise.
3301         * login/setlogin.c (setlogin): Likewise.
3302         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
3303         (mach_msg_destroy_port): Likewise.
3304         (mach_msg_destroy_memory): Likewise.
3305         * malloc/mcheck.c (flood): Likewise.
3306         * misc/acct.c (acct): Likewise.
3307         * misc/brk.c (__brk): Likewise.
3308         * misc/chflags.c (chflags): Likewise.
3309         * misc/chroot.c (chroot): Likewise.
3310         * misc/fchflags.c (fchflags): Likewise.
3311         * misc/fstab.c (getfsspec): Likewise.
3312         (getfsfile): Likewise.
3313         * misc/fsync.c (fsync): Likewise.
3314         * misc/ftruncate.c (__ftruncate): Likewise.
3315         * misc/ftruncate64.c (__ftruncate64): Likewise.
3316         * misc/getdomain.c (getdomainname): Likewise.
3317         (getdomainname): Likewise.
3318         * misc/gethostname.c (__gethostname): Likewise.
3319         * misc/getpass.c (getpass): Likewise.
3320         * misc/getttyent.c (skip): Likewise.
3321         (value): Likewise.
3322         * misc/gtty.c (gtty): Likewise.
3323         * misc/hsearch.c (hsearch): Likewise.
3324         (hcreate): Likewise.
3325         * misc/hsearch_r.c (__hcreate_r): Likewise.
3326         (__hdestroy_r): Likewise.
3327         * misc/ioctl.c (__ioctl): Likewise.
3328         * misc/mkdtemp.c (mkdtemp): Likewise.
3329         * misc/mkostemp.c (mkostemp): Likewise.
3330         * misc/mkostemp64.c (mkostemp64): Likewise.
3331         * misc/mkostemps.c (mkostemps): Likewise.
3332         * misc/mkostemps64.c (mkostemps64): Likewise.
3333         * misc/mkstemp.c (mkstemp): Likewise.
3334         * misc/mkstemp64.c (mkstemp64): Likewise.
3335         * misc/mkstemps.c (mkstemps): Likewise.
3336         * misc/mkstemps64.c (mkstemps64): Likewise.
3337         * misc/mktemp.c (__mktemp): Likewise.
3338         * misc/preadv.c (preadv): Likewise.
3339         * misc/preadv64.c (preadv64): Likewise.
3340         * misc/pwritev.c (pwritev): Likewise.
3341         * misc/pwritev64.c (pwritev64): Likewise.
3342         * misc/readv.c (__readv): Likewise.
3343         * misc/revoke.c (revoke): Likewise.
3344         * misc/setdomain.c (setdomainname): Likewise.
3345         * misc/setegid.c (setegid): Likewise.
3346         * misc/seteuid.c (seteuid): Likewise.
3347         * misc/sethostid.c (sethostid): Likewise.
3348         * misc/sethostname.c (sethostname): Likewise.
3349         * misc/setregid.c (__setregid): Likewise.
3350         * misc/setreuid.c (__setreuid): Likewise.
3351         * misc/sstk.c (sstk): Likewise.
3352         * misc/stty.c (stty): Likewise.
3353         * misc/syscall.c (syscall): Likewise.
3354         * misc/syslog.c (setlogmask): Likewise.
3355         * misc/truncate.c (__truncate): Likewise.
3356         * misc/truncate64.c (truncate64): Likewise.
3357         * misc/ualarm.c (ualarm): Likewise.
3358         * misc/usleep.c (usleep): Likewise.
3359         * misc/ustat.c (ustat): Likewise.
3360         * misc/writev.c (__writev): Likewise.
3361         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
3362         * nptl/old_pthread_cond_broadcast.c
3363         (__pthread_cond_broadcast_2_0): Likewise.
3364         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
3365         Likewise.
3366         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
3367         Likewise.
3368         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
3369         Likewise.
3370         * nptl/pt-raise.c (raise): Likewise.
3371         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
3372         Likewise.
3373         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
3374         * nptl/pthread_barrierattr_destroy.c
3375         (pthread_barrierattr_destroy): Likewise.
3376         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
3377         Likewise.
3378         * nptl/pthread_barrierattr_setpshared.c
3379         (pthread_barrierattr_setpshared): Likewise.
3380         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
3381         Likewise.
3382         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
3383         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
3384         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
3385         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
3386         Likewise.
3387         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
3388         Likewise.
3389         * nptl/pthread_condattr_getpshared.c
3390         (pthread_condattr_getpshared): Likewise.
3391         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
3392         Likewise.
3393         * nptl/pthread_condattr_setpshared.c
3394         (pthread_condattr_setpshared): Likewise.
3395         * nptl/pthread_detach.c (pthread_detach): Likewise.
3396         * nptl/pthread_equal.c (__pthread_equal): Likewise.
3397         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
3398         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
3399         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
3400         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
3401         Likewise.
3402         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
3403         Likewise.
3404         * nptl/pthread_mutex_getprioceiling.c
3405         (pthread_mutex_getprioceiling): Likewise.
3406         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
3407         Likewise.
3408         * nptl/pthread_mutexattr_getprotocol.c
3409         (pthread_mutexattr_getprotocol): Likewise.
3410         * nptl/pthread_mutexattr_getpshared.c
3411         (pthread_mutexattr_getpshared): Likewise.
3412         * nptl/pthread_mutexattr_getrobust.c
3413         (pthread_mutexattr_getrobust): Likewise.
3414         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
3415         Likewise.
3416         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
3417         Likewise.
3418         * nptl/pthread_mutexattr_setprioceiling.c
3419         (pthread_mutexattr_setprioceiling): Likewise.
3420         * nptl/pthread_mutexattr_setprotocol.c
3421         (pthread_mutexattr_setprotocol): Likewise.
3422         * nptl/pthread_mutexattr_setpshared.c
3423         (pthread_mutexattr_setpshared): Likewise.
3424         * nptl/pthread_mutexattr_setrobust.c
3425         (pthread_mutexattr_setrobust): Likewise.
3426         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
3427         Likewise.
3428         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
3429         Likewise.
3430         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
3431         Likewise.
3432         * nptl/pthread_rwlockattr_getkind_np.c
3433         (pthread_rwlockattr_getkind_np): Likewise.
3434         * nptl/pthread_rwlockattr_getpshared.c
3435         (pthread_rwlockattr_getpshared): Likewise.
3436         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
3437         Likewise.
3438         * nptl/pthread_rwlockattr_setkind_np.c
3439         (pthread_rwlockattr_setkind_np): Likewise.
3440         * nptl/pthread_rwlockattr_setpshared.c
3441         (pthread_rwlockattr_setpshared): Likewise.
3442         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
3443         Likewise.
3444         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
3445         Likewise.
3446         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
3447         Likewise.
3448         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
3449         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
3450         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
3451         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
3452         * nptl/sem_close.c (sem_close): Likewise.
3453         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
3454         * nptl/sem_init.c (__old_sem_init): Likewise.
3455         * nptl/sigaction.c (__sigaction): Likewise.
3456         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
3457         * posix/_exit.c (_exit): Likewise.
3458         * posix/alarm.c (alarm): Likewise.
3459         * posix/confstr.c (confstr): Likewise.
3460         * posix/fpathconf.c (__fpathconf): Likewise.
3461         * posix/getgroups.c (__getgroups): Likewise.
3462         * posix/getpgid.c (__getpgid): Likewise.
3463         * posix/group_member.c (__group_member): Likewise.
3464         * posix/pathconf.c (__pathconf): Likewise.
3465         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
3466         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
3467         * posix/setgid.c (__setgid): Likewise.
3468         * posix/setpgid.c (__setpgid): Likewise.
3469         * posix/setuid.c (__setuid): Likewise.
3470         * posix/sleep.c (__sleep): Likewise.
3471         * posix/sysconf.c (__sysconf): Likewise.
3472         * posix/times.c (__times): Likewise.
3473         * posix/uname.c (__uname): Likewise.
3474         * posix/waitid.c (__waitid): Likewise.
3475         * pwd/getpw.c (__getpw): Likewise.
3476         * resolv/base64.c (b64_pton): Likewise.
3477         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
3478         * resolv/gethnamaddr.c (Dprintf): Likewise.
3479         (gethostbyname): Likewise.
3480         (gethostbyname2): Likewise.
3481         (gethostbyaddr): Likewise.
3482         (_sethtent): Likewise.
3483         (_gethtbyname): Likewise.
3484         (_gethtbyname2): Likewise.
3485         (_gethtbyaddr): Likewise.
3486         (map_v4v6_address): Likewise.
3487         (map_v4v6_hostent): Likewise.
3488         (addrsort): Likewise.
3489         (ht_sethostent): Likewise.
3490         (ht_gethostbyname): Likewise.
3491         (ht_gethostbyaddr): Likewise.
3492         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
3493         (inet_net_ntop_ipv4): Likewise.
3494         * resolv/inet_neta.c (inet_neta): Likewise.
3495         * resolv/inet_ntop.c (inet_ntop): Likewise.
3496         (inet_ntop4): Likewise.
3497         (inet_ntop6): Likewise.
3498         * resolv/inet_pton.c (__inet_pton): Likewise.
3499         (inet_pton4): Likewise.
3500         (inet_pton6): Likewise.
3501         * resolv/res_debug.c (loc_aton): Likewise.
3502         (loc_ntoa): Likewise.
3503         * resource/getpriority.c (__getpriority): Likewise.
3504         * resource/getrusage.c (__getrusage): Likewise.
3505         * resource/nice.c (nice): Likewise.
3506         * resource/setpriority.c (__setpriority): Likewise.
3507         * resource/setrlimit64.c (setrlimit64): Likewise.
3508         * resource/vlimit.c (vlimit): Likewise.
3509         * resource/vtimes.c (vtimes): Likewise.
3510         * rt/aio_error.c (aio_error): Likewise.
3511         * rt/aio_return.c (aio_return): Likewise.
3512         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
3513         * signal/kill.c (__kill): Likewise.
3514         * signal/killpg.c (killpg): Likewise.
3515         * signal/raise.c (raise): Likewise.
3516         * signal/sigaction.c (__sigaction): Likewise.
3517         * signal/sigaddset.c (sigaddset): Likewise.
3518         * signal/sigaltstack.c (sigaltstack): Likewise.
3519         * signal/sigandset.c (sigandset): Likewise.
3520         * signal/sigblock.c (__sigblock): Likewise.
3521         * signal/sigdelset.c (sigdelset): Likewise.
3522         * signal/sigempty.c (sigemptyset): Likewise.
3523         * signal/sigfillset.c (sigfillset): Likewise.
3524         * signal/sighold.c (sighold): Likewise.
3525         * signal/sigignore.c (sigignore): Likewise.
3526         * signal/sigintr.c (siginterrupt): Likewise.
3527         * signal/sigisempty.c (sigisemptyset): Likewise.
3528         * signal/sigismem.c (sigismember): Likewise.
3529         * signal/signal.c (signal): Likewise.
3530         * signal/sigorset.c (sigorset): Likewise.
3531         * signal/sigpause.c (__sigpause): Likewise.
3532         * signal/sigpending.c (sigpending): Likewise.
3533         * signal/sigprocmask.c (__sigprocmask): Likewise.
3534         * signal/sigrelse.c (sigrelse): Likewise.
3535         * signal/sigreturn.c (__sigreturn): Likewise.
3536         * signal/sigset.c (sigset): Likewise.
3537         * signal/sigsetmask.c (__sigsetmask): Likewise.
3538         * signal/sigstack.c (sigstack): Likewise.
3539         * signal/sigsuspend.c (__sigsuspend): Likewise.
3540         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
3541         * signal/sysv_signal.c (__sysv_signal): Likewise.
3542         * socket/accept.c (accept): Likewise.
3543         * socket/accept4.c (__libc_accept4): Likewise.
3544         * socket/bind.c (__bind): Likewise.
3545         * socket/connect.c (__connect): Likewise.
3546         * socket/getpeername.c (getpeername): Likewise.
3547         * socket/getsockname.c (__getsockname): Likewise.
3548         * socket/getsockopt.c (getsockopt): Likewise.
3549         * socket/listen.c (__listen): Likewise.
3550         * socket/recv.c (__recv): Likewise.
3551         * socket/recvmsg.c (__recvmsg): Likewise.
3552         * socket/send.c (__send): Likewise.
3553         * socket/sendmsg.c (__sendmsg): Likewise.
3554         * socket/shutdown.c (shutdown): Likewise.
3555         * socket/sockatmark.c (sockatmark): Likewise.
3556         * socket/socket.c (__socket): Likewise.
3557         * stdio-common/ctermid.c (ctermid): Likewise.
3558         * stdio-common/cuserid.c (cuserid): Likewise.
3559         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
3560         * stdio-common/remove.c (remove): Likewise.
3561         * stdio-common/rename.c (rename): Likewise.
3562         * stdio-common/renameat.c (renameat): Likewise.
3563         * stdio-common/tempname.c (__gen_tempname): Likewise.
3564         * stdio-common/xbug.c (InitBuffer): Likewise.
3565         (AppendToBuffer): Likewise.
3566         (ReadFile): Likewise.
3567         * stdlib/a64l.c (a64l): Likewise.
3568         * stdlib/drand48_r.c (drand48_r): Likewise.
3569         * stdlib/getcontext.c (getcontext): Likewise.
3570         * stdlib/getenv.c (getenv): Likewise.
3571         * stdlib/l64a.c (l64a): Likewise.
3572         * stdlib/llabs.c (llabs): Likewise.
3573         * stdlib/lldiv.c (lldiv): Likewise.
3574         * stdlib/lrand48_r.c (lrand48_r): Likewise.
3575         * stdlib/mrand48_r.c (mrand48_r): Likewise.
3576         * stdlib/putenv.c (putenv): Likewise.
3577         * stdlib/random.c (__srandom): Likewise.
3578         (__initstate): Likewise.
3579         (__setstate): Likewise.
3580         * stdlib/random_r.c (__srandom_r): Likewise.
3581         (__setstate_r): Likewise.
3582         (__random_r): Likewise.
3583         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
3584         * stdlib/setcontext.c (setcontext): Likewise.
3585         * stdlib/setenv.c (setenv): Likewise.
3586         (unsetenv): Likewise.
3587         * stdlib/srand48.c (srand48): Likewise.
3588         * stdlib/srand48_r.c (__srand48_r): Likewise.
3589         * stdlib/swapcontext.c (swapcontext): Likewise.
3590         * stdlib/system.c (__libc_system): Likewise.
3591         * stdlib/tst-strtod.c (expand): Likewise.
3592         * stdlib/tst-strtol.c (expand): Likewise.
3593         * stdlib/tst-strtoll.c (expand): Likewise.
3594         * streams/fattach.c (fattach): Likewise.
3595         * streams/fdetach.c (fdetach): Likewise.
3596         * streams/getmsg.c (getmsg): Likewise.
3597         * streams/isastream.c (isastream): Likewise.
3598         * string/ffs.c (__ffs): Likewise.
3599         * string/ffsll.c (ffsll): Likewise.
3600         * string/memcmp.c (memcmp_common_alignment): Likewise.
3601         (memcmp_not_common_alignment): Likewise.
3602         (MEMCMP): Likewise.
3603         * string/memcpy.c (memcpy): Likewise.
3604         * string/memmove.c (MEMMOVE): Likewise.
3605         * string/memset.c (memset): Likewise.
3606         * string/rawmemchr.c (RAWMEMCHR): Likewise.
3607         * string/strchrnul.c (STRCHRNUL): Likewise.
3608         * string/strerror.c (strerror): Likewise.
3609         * string/strndup.c (__strndup): Likewise.
3610         * string/strverscmp.c (__strverscmp): Likewise.
3611         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
3612         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
3613         (clnttcp_freeres): Likewise.
3614         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
3615         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
3616         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
3617         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
3618         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
3619         (xdr_callhdr): Likewise.
3620         * sunrpc/rpcinfo.c (udpping): Likewise.
3621         (tcpping): Likewise.
3622         (pstatus): Likewise.
3623         (pmapdump): Likewise.
3624         (brdcst): Likewise.
3625         (deletereg): Likewise.
3626         (getprognum): Likewise.
3627         (getvers): Likewise.
3628         (get_inet_address): Likewise.
3629         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
3630         * sunrpc/svc_udp.c (svcudp_create): Likewise.
3631         (svcudp_stat): Likewise.
3632         (svcudp_recv): Likewise.
3633         (svcudp_reply): Likewise.
3634         (svcudp_getargs): Likewise.
3635         (svcudp_freeargs): Likewise.
3636         (svcudp_destroy): Likewise.
3637         * sunrpc/xdr.c (xdr_bytes): Likewise.
3638         (xdr_netobj): Likewise.
3639         (xdr_string): Likewise.
3640         (xdr_wrapstring): Likewise.
3641         * sunrpc/xdr_float.c (xdr_float): Likewise.
3642         (xdr_double): Likewise.
3643         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
3644         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
3645         * sysvipc/ftok.c (ftok): Likewise.
3646         * sysvipc/msgctl.c (msgctl): Likewise.
3647         * sysvipc/msgget.c (msgget): Likewise.
3648         * sysvipc/msgrcv.c (msgrcv): Likewise.
3649         * sysvipc/msgsnd.c (msgsnd): Likewise.
3650         * sysvipc/semget.c (semget): Likewise.
3651         * sysvipc/semop.c (semop): Likewise.
3652         * sysvipc/shmat.c (shmat): Likewise.
3653         * sysvipc/shmctl.c (shmctl): Likewise.
3654         * sysvipc/shmdt.c (shmdt): Likewise.
3655         * sysvipc/shmget.c (shmget): Likewise.
3656         * termios/cfmakeraw.c (cfmakeraw): Likewise.
3657         * termios/speed.c (cfgetospeed): Likewise.
3658         (cfgetispeed): Likewise.
3659         (cfsetospeed): Likewise.
3660         (cfsetispeed): Likewise.
3661         * termios/tcflow.c (tcflow): Likewise.
3662         * termios/tcflush.c (tcflush): Likewise.
3663         * termios/tcgetattr.c (__tcgetattr): Likewise.
3664         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
3665         * termios/tcgetsid.c (tcgetsid): Likewise.
3666         * termios/tcsendbrk.c (tcsendbreak): Likewise.
3667         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
3668         * time/adjtime.c (__adjtime): Likewise.
3669         * time/dysize.c (dysize): Likewise.
3670         * time/ftime.c (ftime): Likewise.
3671         * time/getitimer.c (__getitimer): Likewise.
3672         * time/gettimeofday.c (__gettimeofday): Likewise.
3673         * time/gmtime.c (__gmtime_r): Likewise.
3674         (gmtime): Likewise.
3675         * time/localtime.c (__localtime_r): Likewise.
3676         (localtime): Likewise.
3677         * time/offtime.c (__offtime): Likewise.
3678         * time/settimeofday.c (__settimeofday): Likewise.
3679         * time/stime.c (stime): Likewise.
3680         * time/strftime_l.c (tm_diff): Likewise.
3681         (iso_week_days): Likewise.
3682         * time/strptime.c (strptime): Likewise.
3683         * time/time.c (time): Likewise.
3684         * time/timespec_get.c (timespec_get): Likewise.
3685         * time/tzset.c (tzset_internal): Likewise.
3686         (compute_change): Likewise.
3687         (__tz_compute): Likewise.
3688         * wcsmbs/btowc.c (__btowc): Likewise.
3689         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
3690         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
3691         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
3692         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
3693         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
3694         * wcsmbs/wcscat.c (__wcscat): Likewise.
3695         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
3696         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
3697         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
3698         * wcsmbs/wcscspn.c (wcscspn): Likewise.
3699         * wcsmbs/wcsdup.c (wcsdup): Likewise.
3700         * wcsmbs/wcslen.c (__wcslen): Likewise.
3701         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
3702         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
3703         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
3704         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
3705         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
3706         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
3707         * wcsmbs/wcsspn.c (wcsspn): Likewise.
3708         * wcsmbs/wcsstr.c (wcsstr): Likewise.
3709         * wcsmbs/wcstok.c (wcstok): Likewise.
3710         * wcsmbs/wctob.c (wctob): Likewise.
3711         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
3712         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
3713         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
3714         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
3715         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
3716         * wcsmbs/wmemset.c (__wmemset): Likewise.
3717         * wctype/wcfuncs.c (__towlower): Likewise.
3718         (__towupper): Likewise.
3720         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
3721         (lll_unlock_elision): Add adapt_count parameter.
3723 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
3725         * sysdeps/nptl/configure.ac: Do not give errors based on the
3726         results of top-level configure tests.
3727         * sysdeps/nptl/configure: Regenerated.
3729         * configure.ac (libc_cv_Bgroup): Remove configure test.
3730         * configure: Regenerated.
3731         * config.make.in (have-Bgroup): Remove variable.
3733         * configure.ac (sizeof_long_double): Remove configure test.
3734         * configure: Regenerated.
3735         * config.make.in (sizeof-long-double): Remove variable.
3737         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
3738         * configure: Regenerated.
3739         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
3740         variable.
3741         (exceptions): Likewise.
3742         * sysdeps/arm/configure: Regenerated.
3743         * config.make.in (exceptions): Remove variable.
3744         * Makeconfig (uses-callbacks): Use -fexceptions instead of
3745         $(exceptions).
3746         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
3747         (CFLAGS-vdprintf_chk.c): Likewise.
3748         (CFLAGS-printf_chk.c): Likewise.
3749         (CFLAGS-fprintf_chk.c): Likewise.
3750         (CFLAGS-vprintf_chk.c): Likewise.
3751         (CFLAGS-vfprintf_chk.c): Likewise.
3752         (CFLAGS-gets_chk.c): Likewise.
3753         (CFLAGS-fgets_chk.c): Likewise.
3754         (CFLAGS-fgets_u_chk.c): Likewise.
3755         (CFLAGS-fread_chk.c): Likewise.
3756         (CFLAGS-fread_u_chk.c): Likewise.
3757         (CFLAGS-wprintf_chk.c): Likewise.
3758         (CFLAGS-fwprintf_chk.c): Likewise.
3759         (CFLAGS-vwprintf_chk.c): Likewise.
3760         (CFLAGS-vfwprintf_chk.c): Likewise.
3761         (CFLAGS-fgetws_chk.c): Likewise.
3762         (CFLAGS-fgetws_u_chk.c): Likewise.
3763         * libio/Makefile (CFLAGS-fileops.c): Likewise.
3764         (CFLAGS-fputc.c): Likewise.
3765         (CFLAGS-fputwc.c): Likewise.
3766         (CFLAGS-freopen64.c): Likewise.
3767         (CFLAGS-freopen.c): Likewise.
3768         (CFLAGS-fseek.c): Likewise.
3769         (CFLAGS-fseeko64.c): Likewise.
3770         (CFLAGS-fseeko.c): Likewise.
3771         (CFLAGS-ftello64.c): Likewise.
3772         (CFLAGS-ftello.c): Likewise.
3773         (CFLAGS-fwide.c): Likewise.
3774         (CFLAGS-genops.c): Likewise.
3775         (CFLAGS-getc.c): Likewise.
3776         (CFLAGS-getchar.c): Likewise.
3777         (CFLAGS-getwc.c): Likewise.
3778         (CFLAGS-getwchar.c): Likewise.
3779         (CFLAGS-iofclose.c): Likewise.
3780         (CFLAGS-iofflush.c): Likewise.
3781         (CFLAGS-iofgetpos64.c): Likewise.
3782         (CFLAGS-iofgetpos.c): Likewise.
3783         (CFLAGS-iofgets.c): Likewise.
3784         (CFLAGS-iofgetws.c): Likewise.
3785         (CFLAGS-iofputs.c): Likewise.
3786         (CFLAGS-iofputws.c): Likewise.
3787         (CFLAGS-iofread.c): Likewise.
3788         (CFLAGS-iofsetpos64.c): Likewise.
3789         (CFLAGS-iofsetpos.c): Likewise.
3790         (CFLAGS-ioftell.c): Likewise.
3791         (CFLAGS-iofwrite.c): Likewise.
3792         (CFLAGS-iogetdelim.c): Likewise.
3793         (CFLAGS-iogetline.c): Likewise.
3794         (CFLAGS-iogets.c): Likewise.
3795         (CFLAGS-iogetwline.c): Likewise.
3796         (CFLAGS-ioputs.c): Likewise.
3797         (CFLAGS-ioseekoff.c): Likewise.
3798         (CFLAGS-ioseekpos.c): Likewise.
3799         (CFLAGS-iosetbuffer.c): Likewise.
3800         (CFLAGS-iosetvbuf.c): Likewise.
3801         (CFLAGS-ioungetc.c): Likewise.
3802         (CFLAGS-ioungetwc.c): Likewise.
3803         (CFLAGS-oldfileops.c): Likewise.
3804         (CFLAGS-oldiofclose.c): Likewise.
3805         (CFLAGS-oldiofgetpos64.c): Likewise.
3806         (CFLAGS-oldiofgetpos.c): Likewise.
3807         (CFLAGS-oldiofsetpos64.c): Likewise.
3808         (CFLAGS-oldiofsetpos.c): Likewise.
3809         (CFLAGS-peekc.c): Likewise.
3810         (CFLAGS-putc.c): Likewise.
3811         (CFLAGS-putchar.c): Likewise.
3812         (CFLAGS-putwc.c): Likewise.
3813         (CFLAGS-putwchar.c): Likewise.
3814         (CFLAGS-rewind.c): Likewise.
3815         (CFLAGS-wfileops.c): Likewise.
3816         (CFLAGS-wgenops.c): Likewise.
3817         (CFLAGS-oldiofopen.c): Likewise.
3818         (CFLAGS-iofopen.c): Likewise.
3819         (CFLAGS-iofopen64.c): Likewise.
3820         (CFLAGS-oldtmpfile.c): Likewise.
3821         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
3822         (CFLAGS-fprintf.c): Likewise.
3823         (CFLAGS-printf.c): Likewise.
3824         (CFLAGS-vfwprintf.c): Likewise.
3825         (CFLAGS-vfscanf.c): Likewise.
3826         (CFLAGS-vfwscanf.c): Likewise.
3827         (CFLAGS-fscanf.c): Likewise.
3828         (CFLAGS-scanf.c): Likewise.
3829         (CFLAGS-isoc99_vfscanf.c): Likewise.
3830         (CFLAGS-isoc99_vscanf.c): Likewise.
3831         (CFLAGS-isoc99_fscanf.c): Likewise.
3832         (CFLAGS-isoc99_scanf.c): Likewise.
3833         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
3834         (CFLAGS-isoc99_fwscanf.c): Likewise.
3835         (CFLAGS-isoc99_vwscanf.c): Likewise.
3836         (CFLAGS-isoc99_vfwscanf.c): Likewise.
3838         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
3839         after mkstemp64.
3840         * login/tst-utmp.c (do_prepare): Likewise.
3841         * rt/tst-aio.c (do_prepare): Likewise.
3842         * rt/tst-aio64.c (do_prepare): Likewise.
3844 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3846         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
3847         (__lll_lock_elision): Remove adapt_count decrement...
3848         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
3849         (__lll_trylock_elision): Likewise.
3850         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
3851         (__lll_unlock_elision): ... to here. And utilize
3852         new adapt_count parameter.
3853         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
3854         (__lll_unlock_elision): Update to include adapt_count
3855         parameter.
3856         (lll_unlock_elision): Pass pointer to adapt_count
3857         variable.
3859 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3861         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
3862         Add elision adapt_count parameter to list of arguments.
3863         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
3864         (lll_unlock_elision): Update with new parameter list
3865         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
3866         (lll_unlock_elision): Likewise
3867         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
3868         (lll_unlock_elision): Likewise
3870 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
3872         [BZ #19122]
3873         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
3874         attribute_hidden.
3876         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
3877         attribute_hidden.
3878         [IS_IN (rtld)] (__strdup): Likewise.
3879         [IS_IN (rtld)] (__strerror_r): Likewise.
3880         [IS_IN (rtld)] (__strsep_g): Likewise.
3881         [IS_IN (rtld)] (memchr): Likewise.
3882         [IS_IN (rtld)] (memcmp): Likewise.
3883         [IS_IN (rtld)] (memcpy): Likewise.
3884         [IS_IN (rtld)] (memmove): Likewise.
3885         [IS_IN (rtld)] (memset): Likewise.
3886         [IS_IN (rtld)] (rawmemchr): Likewise.
3887         [IS_IN (rtld)] (stpcpy): Likewise.
3888         [IS_IN (rtld)] (strchr): Likewise.
3889         [IS_IN (rtld)] (strcmp): Likewise.
3890         [IS_IN (rtld)] (strlen): Likewise.
3891         [IS_IN (rtld)] (strnlen): Likewise.
3892         [IS_IN (rtld)] (strsep): Likewise.
3894         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
3895         attribute_hidden.
3896         [IS_IN (rtld)] (__strtoul_internal): Likewise.
3898         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
3899         attribute_hidden.
3900         [IS_IN (rtld)] (__libc_sigaction): Likewise.
3902         * include/setjmp.h (__longjmp): Add attribute_hidden.
3903         [IS_IN (rtld)] (__sigsetjmp): Likewise.
3905         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
3906         Add attribute_hidden.
3908         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
3909         [IS_IN (rtld)] (__open): Likewise.
3910         [IS_IN (rtld)] (__fcntl): Likewise.
3912         * include/dirent.h (__opendirat): Add attribute_hidden.
3913         (__getdents): Likewise.
3914         (__getdents64): Likewise.
3915         (__alloc_dir): Likewise.
3916         [IS_IN (rtld)] (__closedir): Likewise.
3917         [IS_IN (rtld)] (__fdopendir): Likewise.
3918         [IS_IN (rtld)] (__readdir): Likewise.
3919         [IS_IN (rtld)] (__readdir64): Likewise.
3920         [IS_IN (rtld)] (__rewinddir): Likewise.
3922         * include/dlfcn.h (_dl_catch_error): Moved to ...
3923         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
3924         attribute_hidden.
3926         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
3927         (_itoa_word): Likewise.
3929         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
3930         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
3931         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
3932         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
3933         (_dl_higher_prime_number): Likewise.
3934         (_dl_debug_printf_c): Likewise.
3935         (_dl_signal_cerror): Likewise.
3936         (_dl_receive_error): Likewise.
3937         (_dl_reloc_bad_type): Likewise.
3938         (_dl_resolve_conflicts): Likewise.
3939         (_dl_check_all_versions): Likewise.
3940         (_dl_check_map_versions): Likewise.
3941         (_dl_sort_fini): Likewise.
3942         (_dl_debug_initialize): Likewise.
3943         (_dl_init_paths): Likewise.
3944         (_dl_show_auxv): Likewise.
3945         (_dl_next_ld_env_entry): Likewise.
3946         (_dl_important_hwcaps): Likewise.
3947         (_dl_load_cache_lookup): Likewise.
3948         (_dl_update_slotinfo): Likewise.
3949         (_dl_show_scope): Likewise.
3951         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
3952         attribute_hidden.
3953         (_wordcopy_fwd_dest_aligned): Likewise.
3954         (_wordcopy_bwd_aligned): Likewise.
3955         (_wordcopy_bwd_dest_aligned): Likewise.
3957         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
3958         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
3959         Likewise.
3960         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
3961         Likewise.
3962         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
3964 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
3966         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
3967         GCC 5 requirement.
3969 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
3971         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
3972         test.
3973         * sysdeps/i386/configure: Regenerated.
3974         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
3975         code unconditional.
3977         * configure.ac (libc_cv_asm_previous_directive): Remove configure
3978         test.
3979         (libc_cv_asm_popsection_directive): Likewise.
3980         * configure: Regenerated.
3981         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
3982         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
3983         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
3984         (__make_section_unallocated): Make definition unconditional.
3985         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
3986         Remove conditional definition.
3987         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
3988         (__make_section_unallocated): Likewise.
3990         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
3991         * configure: Regenerated.
3992         * config.make.in (static-libgcc): Remove variable.
3993         * Makerules (build-shlib-helper): Use -static-libgcc instead of
3994         $(static-libgcc).
3995         (build-module-helper): Likewise.
3997         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
3998         * configure: Regenerated.
4000 2015-10-15  Florian Weimer  <fweimer@redhat.com>
4002         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
4003         (struct char_buffer): New type.
4004         (char_buffer_start, char_buffer_size, char_buffer_error)
4005         (char_buffer_rewind, char_buffer_add): New functions.
4006         (ADDW): Remove macro, replaced by the char_buffer_add function.
4007         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
4008         of extend_alloca.  Make control flow more explicit.
4010 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
4012         [BZ #19137]
4013         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
4014         Add -fomit-frame-pointer.
4015         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
4017 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
4019         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
4020         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
4021         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
4022         only if !__GNUC_PREREQ (5,0).
4023         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
4024         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
4025         (INTERNAL_SYSCALL_NCS): Likewise.
4026         (LOADREGS_0): New macro for GCC 5.
4027         (ASMARGS_0): Likewise.
4028         (LOADREGS_1): Likewise.
4029         (ASMARGS_1): Likewise.
4030         (LOADREGS_2): Likewise.
4031         (ASMARGS_2): Likewise.
4032         (LOADREGS_3): Likewise.
4033         (ASMARGS_3): Likewise.
4034         (LOADREGS_4): Likewise.
4035         (ASMARGS_4): Likewise.
4036         (LOADREGS_5): Likewise.
4037         (ASMARGS_5): Likewise.
4038         (LOADREGS_6): Likewise.
4039         (ASMARGS_6): Likewise.
4041 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
4043         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
4044         -fomit-frame-pointer.
4045         (CFLAGS-mmap64.c): Likewise.
4046         (CFLAGS-semtimedop.c): Likewise.
4047         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
4048         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
4049         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
4050         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
4052 2015-10-15  Florian Weimer  <fweimer@redhat.com>
4054         [BZ #18928]
4055         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
4056         _dl_pointer_guard member.
4057         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
4058         initializer.
4059         (security_init): Always set up pointer guard.
4060         (process_envvars): Do not process LD_POINTER_GUARD.
4062 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
4064         [BZ #19134]
4065         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
4066         (.LC2): Likewise.
4067         (.LC3): Likewise.
4068         (__lround): Do not add 0.5 to integer or out-of-range arguments.
4070 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4072         [BZ #19129]
4073         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
4074         r0 and r1.
4076 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
4078         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
4080 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
4082         * include/stap-probe.h: Fix macro definition formatting.
4084 2015-10-14  Florian Weimer  <fweimer@redhat.com>
4086         [BZ #19074]
4087         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
4088         load and store num_ifs.
4090 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
4092         [BZ #18822]
4093         * sysdeps/unix/sysv/linux/sched_getaffinity.c
4094         (__sched_getaffinity_new): Add libc_hidden_proto and
4095         libc_hidden_def.
4097 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
4099         [BZ #19007]
4100         * scripts/localplt.awk: Also allow GOT references.
4101         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
4102         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
4103         with "+ REL R_386_GLOB_DAT".
4104         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
4105         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
4107 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
4109         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
4110         INLINE_SYSCALL_ERROR_RETURN_VALUE.
4111         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
4112         Likewise.
4113         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
4114         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
4115         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
4116         INTERNAL_SYSCALLINTERNAL_SYSCALL and
4117         INLINE_SYSCALL_ERROR_RETURN_VALUE.
4118         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
4119         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
4120         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
4121         Likewise.
4122         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
4124 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
4126         [BZ #19125]
4127         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
4128         <math_private.h> and <stdint.h>.
4129         (__llround): Avoid conversions to and from long long int, and
4130         subtractions, where those might raise spurious exceptions.
4131         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
4132         <math_private.h> and <stdint.h>.
4133         (__llroundf): Avoid conversions to and from long long int, and
4134         subtractions, where those might raise spurious exceptions.
4136 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
4138         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
4139         INLINE_SYSCALL_ERROR_RETURN_VALUE.
4140         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
4141         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
4142         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
4143         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
4144         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
4145         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
4146         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
4147         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
4148         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
4149         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
4150         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
4151         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
4152         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
4153         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
4154         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
4155         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
4156         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
4157         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
4158         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
4159         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
4160         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
4161         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
4162         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
4163         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
4164         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
4165         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
4166         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
4167         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
4168         (__xstat64_conv): Likewise.
4169         (__xstat32_conv): Likewise.
4171 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
4173         * sysdeps/unix/sysv/linux/sysdep.h: New file.
4174         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
4175         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
4176         <sysdeps/unix/sysv/linux/sysdep.h>.
4177         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
4178         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
4179         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
4180         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4181         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
4182         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
4183         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
4184         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
4185         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
4186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4188         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4189         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4190         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4191         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
4192         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4193         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
4194         (sysdep-dl-routines): Add sysdep.
4195         [$(subdir) == nptl] (libpthread-routines): Likewise.
4196         [$(subdir) == rt] (librt-routines): Likewise.
4197         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
4198         PIC when branching to SYSCALL_ERROR_LABEL.
4199         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
4200         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
4201         <sysdeps/unix/sysv/linux/sysdep.h>.
4202         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
4203         (SYSCALL_ERROR_ERRNO): Removed.
4204         (SYSCALL_ERROR_HANDLER): Changed to empty.
4205         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
4206         (__syscall_error): New prototype.
4207         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
4208         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
4210 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
4212         [BZ #19124]
4213         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
4214         (_dl_runtime_resolve_avx512): Make it a hidden alias of
4215         _dl_runtime_resolve_avx.
4216         (_dl_runtime_profile_avx512): Make it a hidden alias of
4217         _dl_runtime_profile_avx.
4219 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
4221         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
4222         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
4223         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
4224         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
4226         [BZ #16422]
4227         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
4228         New configure test.
4229         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
4230         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
4231         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
4232         <math_private.h> and <stdint.h>.
4233         (__llrint): Avoid conversions to long long int where those might
4234         raise spurious exceptions.
4235         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
4236         <math_private.h> and <stdint.h>.
4237         (__llrintf): Avoid conversions to long long int where those might
4238         raise spurious exceptions.
4240 2015-10-12  Andreas Schwab  <schwab@suse.de>
4242         [BZ #18969]
4243         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
4244         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
4245         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
4246         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
4247         $(gen-locales).
4248         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
4249         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
4250         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
4251         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
4252         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
4253         $(gen-locales).
4254         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
4255         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
4256         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
4257         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
4258         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
4259         ($(objpfx)tst-ftell-active-handler.out)
4260         ($(objpfx)tst-ftell-append.out)
4261         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
4262         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
4263         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
4264         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
4265         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
4266         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
4267         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
4268         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
4269         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
4270         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
4271         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
4272         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
4273         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
4274         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
4275         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
4276         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
4277         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
4278         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
4279         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
4280         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
4281         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
4282         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
4283         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
4284         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
4285         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
4286         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
4287         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
4288         $(gen-locales).
4289         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
4290         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
4291         $(gen-locales).
4292         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
4293         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
4294         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
4295         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
4296         $(gen-locales).
4297         * libio/tst_wprintf2.c (main): Use explicit locale.
4298         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
4300 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4302         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
4303         __msg_sig_post.
4304         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
4306 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
4308         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
4309         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4311         * sysdeps/arm/libm-test-ulps: Regenerated.
4313         [BZ #15470]
4314         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
4316         [BZ #16399]
4317         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
4318         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
4319         and <fix-fp-int-convert-overflow.h>.
4320         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
4321         FIX_DBL_LLONG_CONVERT_OVERFLOW.
4322         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
4323         and <fix-fp-int-convert-overflow.h>.
4324         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
4325         FIX_DBL_LLONG_CONVERT_OVERFLOW.
4326         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
4327         <fix-fp-int-convert-overflow.h>.
4328         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
4329         FIX_DBL_LLONG_CONVERT_OVERFLOW.
4330         * sysdeps/ieee754/dbl-64/s_lround.c: Include
4331         <fix-fp-int-convert-overflow.h>.
4332         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
4333         FIX_DBL_LLONG_CONVERT_OVERFLOW.
4334         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
4335         and <fix-fp-int-convert-overflow.h>.
4336         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
4337         FIX_DBL_LLONG_CONVERT_OVERFLOW.
4338         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
4339         <limits.h> and <fix-fp-int-convert-overflow.h>.
4340         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
4341         FIX_DBL_LLONG_CONVERT_OVERFLOW.
4342         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
4343         and <fix-fp-int-convert-overflow.h>.
4344         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
4345         FIX_DBL_LLONG_CONVERT_OVERFLOW.
4346         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
4347         and <fix-fp-int-convert-overflow.h>.
4348         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
4349         FIX_DBL_LLONG_CONVERT_OVERFLOW.
4350         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
4352 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
4354         [BZ #18589]
4355         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
4356         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
4357         $(gen-locales).
4359 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4360             Phil Blundell <pb@pbcl.net>
4362         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
4363         * nptl/tst-cancel26.c: New file.
4364         * nptl/tst-cancel27.c: Likewise.
4366 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
4368         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
4369         __ILP32__ isn't defined.
4370         (lrint): Likewise.
4371         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
4372         (lrintf): Likewise.
4373         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
4374         (lrintl): Likewise.
4375         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
4376         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
4377         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
4379 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4381         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
4382         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
4384         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
4385         file.
4386         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
4387         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
4389 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
4391         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
4392         configure test.
4393         * sysdeps/i386/configure: Regenerated.
4394         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
4395         configure test.
4396         * sysdeps/x86_64/configure: Regenerated.
4397         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
4398         Make code unconditional.
4400         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
4401         test.
4402         * sysdeps/i386/configure: Regenerated.
4403         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
4404         test.
4405         * sysdeps/x86_64/configure: Regenerated.
4406         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
4407         Make code unconditional.
4408         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
4409         Likewise.
4410         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
4411         Likewise.
4412         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
4413         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
4414         code unconditional.
4415         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
4416         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
4417         code unconditional.
4418         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
4419         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
4420         code unconditional.
4421         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
4422         code unconditional.
4423         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
4424         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
4425         code unconditional.
4426         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
4427         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
4428         code unconditional.
4429         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
4430         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
4431         code unconditional.
4432         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
4433         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
4434         code unconditional.
4435         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
4436         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
4438         [BZ #19095]
4439         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
4440         mantissa to long int before shifting left.
4442 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
4444         [BZ #19094]
4445         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
4446         <limits.h>.
4447         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
4448         when result overflows but exception would not result from cast.
4449         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
4450         <limits.h>.
4451         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
4452         when result overflows but exception would not result from cast.
4453         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
4454         <limits.h>.
4455         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
4456         when result overflows but exception would not result from cast.
4457         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
4458         <limits.h>.
4459         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
4460         when result overflows but exception would not result from cast.
4461         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
4462         <limits.h>.
4463         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
4464         when result overflows but exception would not result from cast.
4465         * math/libm-test.inc (lrint_test_data): Add more tests.
4466         (llrint_test_data): Likewise.
4468 2015-10-08  Roland McGrath  <roland@hack.frob.com>
4470         [BZ #18872]
4471         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
4472         Move out from under [$(run-built-tests) = yes] conditional.
4473         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
4474         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
4476 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
4478         [BZ #18589]
4479         * string/Makefile (tests): Add bug-strcoll2.
4480         (LOCALES): Add cs_CZ.UTF-8.
4481         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
4483         [BZ #18589]
4484         * string/bug-strcoll2.c: New file.
4485         * locale/categories.def: Revert commit
4486         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
4487         * locale/langinfo.h: Likewise.
4488         * locale/localeinfo.h: Likewise.
4489         * locale/C-collate.c: Likewise.
4490         * locale/programs/ld-collate.c (collate_output): Likewise.
4491         * string/strcoll_l.c (STRDIFF): Likewise.
4492         (STRCOLL): Likewise.
4493         * wcsmbs/wcscoll_l.c: Likewise.
4495 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
4497         * math/libm-test.inc (lround_test_data): Do not expect the absence
4498         of "inexact" for some tests with non-integer arguments.
4499         (llround_test_data): Likewise.
4501         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
4502         test.
4503         (libc_cv_cc_sse2avx): Likewise.
4504         * sysdeps/i386/configure: Regenerated.
4505         * sysdeps/i386/i686/multiarch/Makefile
4506         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
4507         [$(subdir) = math].
4508         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
4509         code unconditional.
4510         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
4511         Likewise.
4512         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
4513         Likewise.
4514         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
4515         Likewise.
4516         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
4517         test.
4518         (libc_cv_cc_sse2avx): Likewise.
4519         * sysdeps/x86_64/configure: Regenerated.
4520         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
4521         unconditional.
4522         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
4523         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
4524         unconditional.
4525         (_dl_runtime_profile)
4526         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
4527         conditional code.
4528         * sysdeps/x86_64/fpu/multiarch/Makefile
4529         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
4530         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
4531         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
4532         * sysdeps/x86_64/fpu/multiarch/e_exp.c
4533         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
4534         * sysdeps/x86_64/fpu/multiarch/e_log.c
4535         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
4536         * sysdeps/x86_64/fpu/multiarch/s_atan.c
4537         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
4538         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
4539         Likewise.
4540         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
4541         Likewise.
4542         * sysdeps/x86_64/fpu/multiarch/s_sin.c
4543         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
4544         * sysdeps/x86_64/fpu/multiarch/s_tan.c
4545         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
4546         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
4547         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
4548         (HAVE_SSE2AVX_SUPPORT): Likewise.
4550 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
4552         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
4553         instead of #pragma optimize.
4555 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
4557         [BZ #17195]
4558         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
4559         as is similarly done in systrim and _int_free already.
4561 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4563         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
4565 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
4567         [BZ #19088]
4568         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
4569         <limits.h>.
4570         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
4571         overflows but exception would not result from cast.
4572         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
4573         and <limits.h>.
4574         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
4575         overflows but exception would not result from cast.
4576         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
4577         <limits.h>.
4578         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
4579         overflows but exception would not result from cast.
4580         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
4581         <limits.h>.
4582         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
4583         overflows but exception would not result from cast.
4584         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
4585         <limits.h>.
4586         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
4587         overflows but exception would not result from cast.
4588         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
4589         <limits.h>.
4590         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
4591         overflows but exception would not result from cast.
4592         * math/libm-test.inc (lround_test_data): Add more tests.
4593         (llround_test_data): Likewise.
4595 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
4597         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
4598         (CFLAGS-ialloc.c): Ditto.
4599         (CFLAGS-scheck.c): Ditto.
4601 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
4603         [BZ #19086]
4604         * manual/filesys.texi (Storage Allocation): Fix argument order for
4605         posix_fallocate64.
4607 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
4609         [BZ #19085]
4610         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
4611         exponent below 48 inside case for non-overflowing exponent.
4612         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
4614 2015-10-07  Florian Weimer  <fweimer@redhat.com>
4616         * iconvdata/cp737.h (from_idx): Add const.
4617         * iconvdata/cp775.h (from_idx): Likewise.
4619 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
4621         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
4622         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
4623         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
4625         [BZ #19079]
4626         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
4627         file, conditioned on [!_LP64].
4628         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
4629         [!_LP64] (__lround): Do not define as function or alias.
4630         [!_LP64] (lround): Likewise.
4631         [!_LP64] (__lroundl): Likewise.
4632         [!_LP64] (lroundl): Likewise.
4633         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
4634         macro.
4635         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
4636         Likewise.
4638 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
4640         * math/libm-test.inc (lrint_test_data): Add more tests.
4641         (llrint_test_data): Likewise.
4642         (lround_test_data): Likewise.
4643         (llround_test_data): Likewise.
4645         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
4646         (llrint_test_data): Add tests used for lrint.
4648         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
4649         test.
4650         * sysdeps/i386/configure: Regenerated.
4651         * sysdeps/i386/i686/multiarch/Makefile
4652         [$(config-cflags-sse4) = yes]: Make code unconditional.
4653         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
4654         Likewise.
4655         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
4656         Likewise.
4657         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
4658         test.
4659         * sysdeps/x86_64/configure: Regenerated.
4660         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
4661         Make code unconditional.
4662         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
4663         Likewise.
4664         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
4665         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
4667         * scripts/rpm2dynsym.sh: Remove file.
4669 2015-10-06  Florian Weimer  <fweimer@redhat.com>
4671         * configure.ac (libc_cv_cxx_thread_local): Define.
4672         * configure: Regenerate.
4673         * config.make.in (have-cxx-thread_local): Define.
4674         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
4675         (LDLIBS-tst-thread_local1): Define.
4676         (tests): Add tst-thread_local1.
4677         [have-cxx-thread_local != yes] (tests-unsupported): Add
4678         tst-thread_local1.
4679         * nptl/tst-thread_local1.cc: New file.
4681 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
4683         [BZ #19078]
4684         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
4685         (u_thres): Likewise.
4686         (__expl): Determine whether to call __kernel_standard_l based on
4687         value of result, not argument.
4689         * math/libm-test.inc (scalb_test_data): Add more expectations for
4690         the "inexact" exception.
4692         [BZ #19077]
4693         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
4694         0.0L for argument 1.0L.
4696         [BZ #19076]
4697         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
4698         constant 0.0L when computing infinite result.
4700 2015-10-06  Florian Weimer  <fweimer@redhat.com>
4702         [BZ #10432]
4703         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
4704         malloc_usable_size.
4706 2015-10-06  Florian Weimer  <fweimer@redhat.com>
4708         [BZ #19018]
4709         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
4710         Mangle function pointer before storing it.
4711         (__call_tls_dtors): Demangle function pointer before calling it.
4713 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
4715         [BZ #19012]
4716         * iconv/gconv_db.c (gen_steps): Check for additional errors.
4717         Clean up on failure.
4719 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
4721         [BZ #19071]
4722         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
4723         long int variable to store possibly incremented high part of
4724         mantissa.
4725         * math/libm-test.inc (lround_test_data): Add tests used for
4726         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
4727         for tests requiring 64-bit long.  Do not condition tests on
4728         [TEST_FLOAT] unnecessarily.
4729         (llround_test_data): Add tests used for lround.  Add another
4730         expectation for the "inexact" exception.  Do not condition tests
4731         on [TEST_FLOAT] unnecessarily.
4733         [BZ #887]
4734         [BZ #19049]
4735         [BZ #19050]
4736         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
4737         * sysdeps/ieee754/dbl-64/e_log10.c: Include
4738         <fix-int-fp-convert-zero.h>.
4739         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4740         * sysdeps/ieee754/dbl-64/e_log2.c: Include
4741         <fix-int-fp-convert-zero.h>.
4742         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4743         * sysdeps/ieee754/dbl-64/s_erf.c: Include
4744         <fix-int-fp-convert-zero.h>.
4745         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4746         * sysdeps/ieee754/dbl-64/s_logb.c: Include
4747         <fix-int-fp-convert-zero.h>.
4748         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4749         * sysdeps/ieee754/flt-32/e_log10f.c: Include
4750         <fix-int-fp-convert-zero.h>.
4751         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4752         * sysdeps/ieee754/flt-32/e_log2f.c: Include
4753         <fix-int-fp-convert-zero.h>.
4754         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4755         * sysdeps/ieee754/flt-32/s_erff.c: Include
4756         <fix-int-fp-convert-zero.h>.
4757         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4758         * sysdeps/ieee754/flt-32/s_logbf.c: Include
4759         <fix-int-fp-convert-zero.h>.
4760         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4761         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
4762         <fix-int-fp-convert-zero.h>.
4763         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4764         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
4765         <fix-int-fp-convert-zero.h>.
4766         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4767         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
4768         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
4769         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
4770         file.
4771         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
4773 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
4775         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4777 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
4779         [BZ #19059]
4780         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
4781         overflowing computation.
4782         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
4783         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
4784         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
4785         Likewise.
4786         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
4787         Likewise.
4788         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
4789         Likewise.
4790         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4791         Likewise.
4792         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
4793         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
4794         Likewise.
4795         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
4796         Likewise.
4797         * math/libm-test.inc (nexttoward_test_data): Add more tests.
4799         * nss/rewrite_field.c (__nss_rewrite_field): Use
4800         internal_function.
4801         * nss/valid_field.c (__nss_valid_field): Likewise.
4802         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
4804 2015-10-02  Florian Weimer  <fweimer@redhat.com>
4806         [BZ #18724]
4807         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
4808         (__nss_invalid_field_characters, __nss_valid_field)
4809         (__nss_valid_list_field, __nss_rewrite_field): Declare.
4810         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
4811         tst-field.c: New file.
4812         * nss/Makefile (routines): Add valid_field, rewrite_field.
4813         (tests-static): Define unconditionally.
4814         (tests): Include tests-static.
4815         [build-static-nss] (tests-static): Use append.
4816         [build-static-nss] (tests): Remove modification.
4817         * nss/getent.c (print_group): Call putgrent.  Report error.
4818         (print_gshadow): Call putsgent.  Report error.
4819         (print_passwd): Call putpwent.  Report error.
4820         (print_shadow): Call putspent.  Report error.
4821         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
4822         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
4823         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
4824         name, password, directory, shell fields for valid syntax.  Rewrite
4825         GECOS field to match syntax.
4826         * pwd/Makefile (tests): Add tst-putpwent.
4827         * pwd/tst-putpwent.c: New file.
4828         * grp/putgrent.c (putgrent): Convert to ISO function definition.
4829         Check grName, grpasswd, gr_mem fields for valid syntax.
4830         Change loop variable i to size_t.
4831         * grp/Makefile (tests): Add tst-putgrent.
4832         * grp/tst-putgrent.c: New file.
4833         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
4834         valid syntax.
4835         * shadow/Makefile (tests): Add tst-putspent.
4836         * shadow/tst-putspent.c: New file.
4837         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
4838         sg_mem fields for valid syntax.
4839         * gshadow/Makefile (tests): Add tst-putsgent.
4840         * gshadow/tst-putsgent.c: New file.
4842 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4844         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
4845         assembly instructions.
4847 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4849         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
4850         prefix from operands.
4852 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
4854         [BZ #16347]
4855         [BZ #19046]
4856         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
4857         <libc-internal.h>.
4858         (MAXLGM): Do not use diagnostic control macros.
4859         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
4860         threshold for ldbl-128ibm.
4861         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
4862         instead of multiplying by log then subtracting.
4863         * math/auto-libm-test-in: Add more tests of lgamma.
4864         * math/auto-libm-test-out: Regenerated.
4866         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
4867         (TYPE_HEX_DIG): Likewise.
4868         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
4869         precisions when printing floating-point numbers.
4870         (check_float_internal): Likewise.
4872 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
4874         [BZ #16620]
4875         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
4876         of log (10) rounded downward to 48 bits.
4877         (log10_low): Use corresponding low part of log (10).
4879         [BZ #19032]
4880         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
4881         compute result as (x - x) / (x - x) not as 0 / 0.
4882         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
4883         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
4885         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
4886         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
4887         and expm1.
4888         * math/auto-libm-test-out: Regenerated.
4889         * math/libm-test.inc (acos_test_data): Add more tests.
4890         (asin_test_data): Likewise.
4891         (asinh_test_data): Likewise.
4892         (atan_test_data): Likewise.
4893         (atanh_test_data): Likewise.
4894         (atan2_test_data): Likewise.
4895         (cbrt_test_data): Likewise.
4896         (ceil_test_data): Likewise.
4897         (copysign_test_data): Likewise.
4898         (cos_test_data): Likewise.
4899         (cosh_test_data): Likewise.
4900         (erf_test_data): Likewise.
4901         (erfc_test_data): Likewise.
4902         (exp_test_data): Likewise.
4903         (exp10_test_data): Likewise.
4904         (exp2_test_data): Likewise.
4905         (expm1_test_data): Likewise.
4906         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4908 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
4910         [BZ #19006]
4911         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
4912         to ...
4913         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
4914         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
4915         to ...
4916         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
4917         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
4918         to ...
4919         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
4920         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
4921         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
4922         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
4923         to ...
4924         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
4925         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
4926         Moved to ...
4927         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
4928         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
4929         Moved to ...
4930         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
4931         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
4932         to ...
4933         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
4934         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
4935         Moved to ...
4936         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
4937         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
4938         to ...
4939         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
4940         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
4941         Removed.
4942         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
4943         Likewise.
4944         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
4945         Likewise.
4946         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
4947         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
4948         Likewise.
4949         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
4950         Likewise.
4951         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
4952         Likewise.
4953         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
4954         Likewise.
4955         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
4956         Likewise.
4957         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
4958         Likewise.
4959         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
4960         Likewise.
4961         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
4962         Likewise.
4963         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
4964         Likewise.
4965         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
4966         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
4967         Likewise.
4968         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
4969         Likewise.
4970         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
4971         Likewise.
4972         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
4973         Likewise.
4974         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
4975         Likewise.
4976         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
4977         Replace ../i486/pthread_cond_timedwait.S with
4978         ../pthread_cond_timedwait.S.
4980 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
4982         * math/libm-test.inc (acos_test_data): Refine expectations for
4983         errno and "inexact" exceptions.
4984         (acosh_test_data): Likewise.
4985         (asin_test_data): Likewise.
4986         (asinh_test_data): Likewise.
4987         (atan_test_data): Likewise.
4988         (atanh_test_data): Likewise.
4989         (atan2_test_data): Likewise.
4990         (cbrt_test_data): Likewise.
4991         (ceil_test_data): Likewise.
4992         (copysign_test_data): Likewise.
4993         (cosh_test_data): Likewise.
4994         (erf_test_data): Likewise.
4995         (erfc_test_data): Likewise.
4996         (exp_test_data): Likewise.
4997         (exp10_test_data): Likewise.
4998         (exp2_test_data): Likewise.
4999         (expm1_test_data): Likewise.
5000         (fabs_test_data): Likewise.
5001         (floor_test_data): Likewise.
5002         (fma_test_data): Likewise.
5003         (fmax_test_data): Likewise.
5004         (fmin_test_data): Likewise.
5005         (fmod_test_data): Likewise.
5006         (fpclassify_test_data): Likewise.
5007         (frexp_test_data): Likewise.
5008         (hypot_test_data): Likewise.
5009         (ilogb_test_data): Likewise.
5010         (isgreater_test_data): Likewise.
5011         (isgreaterequal_test_data): Likewise.
5012         (isinf_test_data): Likewise.
5013         (isless_test_data): Likewise.
5014         (islessequal_test_data): Likewise.
5015         (islessgreater_test_data): Likewise.
5016         (isnan_test_data): Likewise.
5017         (isnormal_test_data): Likewise.
5018         (issignaling_test_data): Likewise.
5019         (isunordered_test_data): Likewise.
5020         (j0_test_data): Likewise.
5021         (j1_test_data): Likewise.
5022         (jn_test_data): Likewise.
5023         (lgamma_test_data): Likewise.
5024         (lrint_test_data): Likewise.
5025         (llrint_test_data): Likewise.
5026         (log_test_data): Likewise.
5027         (log10_test_data): Likewise.
5028         (log1p_test_data): Likewise.
5029         (log2_test_data): Likewise.
5030         (logb_test_data): Likewise.
5031         (lround_test_data): Likewise.
5032         (llround_test_data): Likewise.
5033         (modf_test_data): Likewise.
5034         (nearbyint_test_data): Likewise.
5035         (nextafter_test_data): Likewise.
5036         (nexttoward_test_data): Likewise.
5037         (pow_test_data): Likewise.
5038         (remainder_test_data): Likewise.
5039         (remquo_test_data): Likewise.
5040         (rint_test_data): Likewise.
5041         (round_test_data): Likewise.
5042         (signbit_test_data): Likewise.
5043         (sinh_test_data): Likewise.
5044         (sqrt_test_data): Likewise.
5045         (tanh_test_data): Likewise.
5046         (tgamma_test_data): Likewise.
5047         (trunc_test_data): Likewise.
5048         (y0_test_data): Likewise.
5049         (y1_test_data): Likewise.
5050         (yn_test_data): Likewise.
5051         (significand_test_data): Likewise.
5053 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
5055         * manual/filesys.texi (Storage Allocation): Document that
5056         posix_fallocate emulation fails when fd is open with O_WRONLY.
5058 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
5060         [BZ #19016]
5061         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
5062         allow more cases with X^2 + Y^2 >= 0.5.
5063         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
5064         normal element in sum instead of special-casing based on values of
5065         arguments.
5066         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
5067         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
5068         -1 as normal element in sum instead of special-casing based on
5069         values of arguments.
5070         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
5071         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
5072         (__x2y2m1): Update comment.
5073         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
5074         as normal element in sum instead of special-casing based on values
5075         of arguments.
5076         * math/s_clog.c (__clog): Handle more cases using log1p without
5077         hypot.
5078         * math/s_clog10.c (__clog10): Likewise.
5079         * math/s_clog10f.c (__clog10f): Likewise.
5080         * math/s_clog10l.c (__clog10l): Likewise.
5081         * math/s_clogf.c (__clogf): Likewise.
5082         * math/s_clogl.c (__clogl): Likewise.
5083         * math/auto-libm-test-in: Add more tests of clog and clog10.
5084         * math/auto-libm-test-out: Regenerated.
5085         * sysdeps/i386/fpu/libm-test-ulps: Update.
5086         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5088 2015-09-28  Martin Sebor  <msebor@redhat.com>
5090         [BZ #18969]
5091         * string/Makefile (LOCALES): Define.
5092         (gen-locales.mk): Include.
5093         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
5094         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
5095         * string/tst-strxfrm2.c (do_test): Print the name of the locale
5096         on setlocale failure.
5098 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
5100         [BZ #18985]
5101         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
5102         (__strftime_internal): Likewise.
5103         * time/tst-strftime.c (do_bz18985): New test.
5104         (do_test): Call it.
5106 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
5108         [BZ #18956]
5109         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
5110         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
5111         extracting high part.
5112         * math/auto-libm-test-in: Add another test of pow.
5113         * math/auto-libm-test-out: Regenerated.
5114         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5116 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
5118         [BZ #18825]
5119         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
5120         New macro.
5121         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
5122         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
5123         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
5124         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
5125         DBL_NARROW_EVAL, reloading the PIC register as needed.
5126         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
5127         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
5128         FLT_NARROW_EVAL.  Use separate return path for case when first
5129         argument is NaN.
5130         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
5131         DEFINE_LDBL_MIN.
5132         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
5133         PIC register.
5134         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
5135         math_check_force_underflow_nonneg.
5136         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
5137         underflow for subnormal result.
5138         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
5139         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
5140         math_check_force_underflow_nonneg.
5141         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
5142         math_check_force_underflow.
5143         * sysdeps/x86_64/fpu/x86_64-math-asm.h
5144         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
5145         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
5146         DEFINE_LDBL_MIN.
5147         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
5148         * math/auto-libm-test-in: Add more tests of pow.
5149         * math/auto-libm-test-out: Regenerated.
5151 2015-09-25  Florian Weimer  <fweimer@redhat.com>
5153         * nss/bug17079.c (init_test_items): Add diagnostic for
5154         inconsistent entries.
5155         (test_buffer_size): Skip inconsistent entries.
5157 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
5159         [BZ #13304]
5160         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
5161         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
5162         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
5164         [BZ #13304]
5165         * sysdeps/microblaze/s_fma.c: New file.
5166         * sysdeps/microblaze/s_fmaf.c: Likewise.
5167         * sysdeps/microblaze/sfp-machine.h: Likewise.
5169 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
5171         [BZ #17250]
5172         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
5173         member.
5175 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
5177         [BZ #18803]
5178         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
5179         (MO): New macro.
5180         (__ieee754_hypot) [PIC]: Load PIC register.
5181         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
5182         DBL_NARROW_EVAL.
5183         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
5184         math_check_force_underflow_nonneg in case where result might be
5185         tiny.
5186         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
5187         Likewise.
5188         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
5189         Likewise.
5190         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
5191         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
5192         * math/auto-libm-test-in: Add more tests of hypot.
5193         * math/auto-libm-test-out: Regenerated.
5195 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
5197         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
5199 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
5201         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
5202         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
5203         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
5204         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
5205         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
5206         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
5207         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
5209         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
5210         LOAD_PIC_REG.
5212         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
5213         (FLT_CHECK_FORCE_UFLOW): Likewise.
5214         (DBL_CHECK_FORCE_UFLOW): Likewise.
5215         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
5216         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
5217         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
5218         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
5219         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
5220         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
5221         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
5222         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
5223         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
5224         (dbl_min): Replace with use of DEFINE_DBL_MIN.
5225         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
5226         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
5227         (flt_min): Replace with use of DEFINE_FLT_MIN.
5228         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
5229         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
5230         (dbl_min): Replace with use of DEFINE_DBL_MIN.
5231         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
5232         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
5233         (flt_min): Replace with use of DEFINE_FLT_MIN.
5234         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
5235         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
5236         (dbl_min): Replace with use of DEFINE_DBL_MIN.
5237         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
5238         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
5239         (flt_min): Replace with use of DEFINE_FLT_MIN.
5240         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
5241         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
5242         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
5243         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
5244         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
5245         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
5246         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
5247         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
5248         (dbl_min): Replace with use of DEFINE_DBL_MIN.
5249         (__atan): Use DBL_CHECK_FORCE_UFLOW.
5250         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
5251         (flt_min): Replace with use of DEFINE_FLT_MIN.
5252         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
5253         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
5254         (dbl_min): Replace with use of DEFINE_DBL_MIN.
5255         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
5256         main computation.
5257         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
5258         (flt_min): Replace with use of DEFINE_FLT_MIN.
5259         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
5260         main computation.
5261         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
5262         (dbl_min): Replace with use of DEFINE_DBL_MIN.
5263         (MO): New macro.
5264         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
5265         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
5266         (flt_min): Replace with use of DEFINE_FLT_MIN.
5267         (MO): New macro.
5268         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
5269         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
5270         (__log1pl): Use MO.
5272         [BZ #19003]
5273         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
5274         $(config-cflags-nofma).
5276 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5278         * sysdeps/aarch64/libm-test-ulps: Regenerated.
5280 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
5282         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
5283         (TWO127): Likewise.
5285         * sysdeps/generic/math_private.h (fabs_tg): New macro.
5286         (min_of_type): Likewise.
5287         (math_check_force_underflow): Likewise.
5288         (math_check_force_underflow_nonneg): Likewise.
5289         (math_check_force_underflow_complex): Likewise.
5290         * math/e_exp2l.c (__ieee754_exp2l): Use
5291         math_check_force_underflow_nonneg.
5292         * math/k_casinh.c (__kernel_casinh): Likewise.
5293         * math/k_casinhf.c (__kernel_casinhf): Likewise.
5294         * math/k_casinhl.c (__kernel_casinhl): Likewise.
5295         * math/s_catan.c (__catan): Use
5296         math_check_force_underflow_complex.
5297         * math/s_catanf.c (__catanf): Likewise.
5298         * math/s_catanh.c (__catanh): Likewise.
5299         * math/s_catanhf.c (__catanhf): Likewise.
5300         * math/s_catanhl.c (__catanhl): Likewise.
5301         * math/s_catanl.c (__catanl): Likewise.
5302         * math/s_ccosh.c (__ccosh): Likewise.
5303         * math/s_ccoshf.c (__ccoshf): Likewise.
5304         * math/s_ccoshl.c (__ccoshl): Likewise.
5305         * math/s_cexp.c (__cexp): Likewise.
5306         * math/s_cexpf.c (__cexpf): Likewise.
5307         * math/s_cexpl.c (__cexpl): Likewise.
5308         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
5309         * math/s_clog10.c (__clog10): Likewise.
5310         * math/s_clog10f.c (__clog10f): Likewise.
5311         * math/s_clog10l.c (__clog10l): Likewise.
5312         * math/s_clogf.c (__clogf): Likewise.
5313         * math/s_clogl.c (__clogl): Likewise.
5314         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
5315         * math/s_csinf.c (__csinf): Likewise.
5316         * math/s_csinh.c (__csinh): Likewise.
5317         * math/s_csinhf.c (__csinhf): Likewise.
5318         * math/s_csinhl.c (__csinhl): Likewise.
5319         * math/s_csinl.c (__csinl): Likewise.
5320         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
5321         * math/s_csqrtf.c (__csqrtf): Likewise.
5322         * math/s_csqrtl.c (__csqrtl): Likewise.
5323         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
5324         * math/s_ctanf.c (__ctanf): Likewise.
5325         * math/s_ctanh.c (__ctanh): Likewise.
5326         * math/s_ctanhf.c (__ctanhf): Likewise.
5327         * math/s_ctanhl.c (__ctanhl): Likewise.
5328         * math/s_ctanl.c (__ctanl): Likewise.
5329         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
5330         instead of volatile.
5331         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
5332         math_check_force_underflow.
5333         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
5334         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
5335         volatile when forcing underflow.
5336         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
5337         math_check_force_underflow_nonneg.
5338         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
5339         Likewise.
5340         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
5341         math_check_force_underflow.
5342         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
5343         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
5344         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
5345         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
5346         math_check_force_underflow_nonneg.
5347         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
5348         math_check_force_underflow.
5349         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
5350         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
5351         instead of volatile.
5352         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
5353         math_check_force_underflow.
5354         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
5355         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
5356         math_check_force_underflow_nonneg.
5357         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
5358         math_check_force_underflow.
5359         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
5360         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
5361         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
5362         math_check_force_underflow_nonneg.
5363         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
5364         Likewise.
5365         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
5366         math_check_force_underflow.
5367         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
5368         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
5369         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
5370         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
5371         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
5372         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
5373         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
5374         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
5375         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
5376         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
5377         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
5378         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
5379         Likewise.
5380         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
5381         math_check_force_underflow_nonneg.
5382         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
5383         Likewise.
5384         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
5385         math_check_force_underflow.
5386         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
5387         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
5388         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
5389         Likewise.
5390         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
5391         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
5392         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
5393         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
5394         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
5395         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
5396         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
5397         instead of volatile.
5398         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
5399         math_check_force_underflow.
5400         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
5401         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
5402         math_check_force_underflow.
5403         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
5404         Likewise.
5405         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5406         Use math_check_force_underflow_nonneg.
5407         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
5408         math_check_force_underflow.
5409         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
5410         Likewise.
5411         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
5412         Likewise.
5413         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5414         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
5415         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
5416         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
5417         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
5418         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
5419         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
5420         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
5421         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
5422         math_check_force_underflow_nonneg.
5423         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
5424         math_check_force_underflow.
5425         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
5426         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
5427         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
5428         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
5429         math_check_force_underflow_nonneg.
5430         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
5431         math_check_force_underflow.
5432         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
5433         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
5434         instead of volatile.
5435         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
5436         math_check_force_underflow.
5438         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
5439         * stdlib/strtod_l.c: Include <math_private.h>.
5440         (overflow_value): Use math_narrow_eval.
5441         (underflow_value): Likewise.
5442         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
5443         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
5444         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
5445         (__ieee754_gamma_r): Likewise.
5446         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
5447         Likewise.
5448         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
5449         Likewise.
5450         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
5451         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
5452         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
5453         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
5454         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
5455         (__ieee754_gammaf_r): Likewise.
5456         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
5457         Likewise.
5458         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
5459         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
5460         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
5461         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
5462         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
5463         volatile.
5464         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
5465         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
5466         math_narrow_eval.
5467         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
5468         Likewise.
5469         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5470         Likewise.
5471         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
5472         Likewise.
5473         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
5474         volatile.
5475         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
5476         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
5477         math_narrow_eval.
5478         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
5479         Likewise.
5480         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
5481         Likewise.
5483 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
5485         * nptl/Versions: Remove ignored symbols.
5487 2015-09-22  Florian Weimer  <fweimer@redhat.com>
5489         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
5490         * nss/Makefile (tests): Update.
5492 2015-09-22  Florian Weimer  <fweimer@redhat.com>
5494         * nss/bug18287.c: New file.
5495         * nss/Makefile (tests): Add bug18287.
5497 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5499         * mach/Versions (__mach_host_self_): Add symbol.
5501 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5503         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
5504         vm_page_size.
5506 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5508         Really fix sysdeps/i386/fpu/s_scalbn.S build
5510         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
5511         (libc: GLIBC_2_22): Remove unused version set.
5513 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
5515         * config.make.in (enable-timezone-tools): New variable.
5516         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
5517         (enable_timezone_tools): Export to generated files.
5518         * configure: Regenerate.
5519         * INSTALL: Regenerate.
5520         * manual/install.texi (--disable-timezone-tools): Document new flag.
5521         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
5522         ifeq ($(enable-timezone-tools),yes) check.
5524 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
5526         * timezone/Makefile: Revert previous change.
5528         [BZ #18980]
5529         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
5530         (DEFINE_DBL_MIN): Likewise.
5531         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
5532         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
5533         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
5534         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
5535         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
5536         (dbl_min): Replace with use of DEFINE_DBL_MIN.
5537         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
5538         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
5539         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
5540         (dbl_min): Replace with use of DEFINE_DBL_MIN.
5541         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
5542         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
5543         (flt_min): Replace with use of DEFINE_FLT_MIN.
5544         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
5545         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
5546         (dbl_min): Replace with use of DEFINE_DBL_MIN.
5547         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
5548         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
5549         (flt_min): Replace with use of DEFINE_FLT_MIN.
5550         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
5551         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
5552         (flt_min): Replace with use of DEFINE_FLT_MIN.
5553         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
5554         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
5555         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
5556         (__ieee754_hypot): Use DBL_NARROW_EVAL.
5557         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
5558         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
5559         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
5560         (__ieee754_pow): Use DBL_NARROW_EVAL.
5561         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
5562         (__ieee754_powf): Use FLT_NARROW_EVAL.
5563         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
5564         (__ieee754_expf_sse2): Convert double-precision result to single
5565         precision.
5566         * sysdeps/i386/fpu/libm-test-ulps: Update.
5568 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
5570         * timezone/Makefile: Ignore unused variable errors due to private.h
5571         (time_t_min) and (time_t_max).
5572         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
5573         Likewise.
5575 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
5577         [BZ #18981]
5578         * sysdeps/i386/fpu/i386-math-asm.h: New file.
5579         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
5580         (__ieee754_scalb): Use DBL_NARROW_EVAL.
5581         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
5582         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
5583         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
5584         (__scalbn): Use DBL_NARROW_EVAL.
5585         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
5586         (__scalbnf): Use FLT_NARROW_EVAL.
5588 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
5590         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
5591         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
5592         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
5593         * stdio-common/printf_fp.c (___printf_fp):
5594         Use signbit to get the sign. Use isinf macro to allow inlining.
5595         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
5596         * stdio-common/printf_size.c (__printf_size): Likewise.
5598 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
5600         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
5602 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
5604         [BZ #18980]
5605         * sysdeps/generic/math_private.h: Include <float.h>.
5606         (math_narrow_eval): New macro.
5607         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
5608         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
5609         math_narrow_eval on overflowing return value.
5610         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
5611         Likewise.
5612         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
5613         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
5614         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
5615         Likewise.
5616         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
5618 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
5620         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
5621         * math/Makefile: Remove isinf_ns.c.
5622         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
5623         * math/multc3.c (__multc3): Likewise.
5624         * math/s_casin.c (__casin): Likewise.
5625         * math/s_casinf.c (__casinf): Likewise.
5626         * math/s_casinl.c (__casinl): Likewise.
5627         * math/s_cproj.c (__cproj): Likewise.
5628         * math/s_cprojf.c (__cprojf): Likewise.
5629         * math/s_cprojl.c (__cprofl): Likewise.
5630         * math/s_ctan.c (__ctan): Likewise.
5631         * math/s_ctanf.c (__ctanf): Likewise.
5632         * math/s_ctanh.c (__ctanh): Likewise.
5633         * math/s_ctanhf.c (__ctanhf): Likewise.
5634         * math/s_ctanhl.c (__ctanhl): Likewise.
5635         * math/s_ctanl.c (__ctanl): Likewise.
5636         * math/w_fmod.c (__fmod): Likewise.
5637         * math/w_fmodf.c (__fmodf): Likewise.
5638         * math/w_fmodl.c (_fmodl): Likewise.
5639         * math/w_remainder.c (__remainder): Likewise.
5640         * math/w_remainderf.c (__remainderf): Likewise.
5641         * math/w_remainderl.c (__remainderl): Likewise.
5642         * math/w_scalb.c (__scalb): Likewise.
5643         * math/w_scalbf.c (__scalbf): Likewise.
5644         * math/w_scalbl.c (__scalbl): Likewise.
5645         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
5646         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
5647         with isinf.
5648         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
5649         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
5650         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
5651         __isinf_nsf with isinf.
5652         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
5653         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
5654         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
5655         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
5656         with isinf.
5657         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
5658         __isinf_nsl with isinf.
5659         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
5660         with isinf.
5661         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
5662         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
5663         __isinf_nsl with isinf.
5664         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
5665         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
5666         with isinf.
5668 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
5670         * resolv/base64.c (rcsid): Remove unused static.
5671         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
5672         static.  (tqpi1): Likewise.
5673         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
5674         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
5675         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
5676         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
5677         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
5678         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
5679         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
5680         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
5681         Likewise.
5683 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
5685         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
5686         <nptl/pthreadP.h>.
5687         (_longjmp_unwind): Use __libc_ptf_call.
5688         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
5690 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
5692         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
5693         * sysdeps/arm/__longjmp.S: Likewise
5695 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
5697         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
5698         Use __builtin_signbit.
5699         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
5700         Use __builtin_signbitf.
5701         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
5702         Use __builtin_signbitl.
5703         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
5704         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
5706 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
5708         [BZ #15367]
5709         [BZ #17441]
5711         * math/Makefile: Build test-snan.c with -fsignaling-nans.
5712         * math/math.h (fpclassify): Use __builtin_fpclassify when
5713         available.  (signbit): Use __builtin_signbit(f/l).
5714         (isfinite): Use__builtin_isfinite.  (isnormal): Use
5715         __builtin_isnormal.  (isnan): Use __builtin_isnan.
5716         (isinf): Use __builtin_isinf_sign.
5718 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
5720         * benchtests/Makefile: Add bench-math-inlines, link with libm.
5721         * benchtests/bench-math-inlines.c: New benchmark.
5722         * benchtests/bench-util.h: New file.
5723         * benchtests/bench-util.c: New file.
5724         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
5726 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
5728         * elf/tst-dlmopen1.c: Define TEST_SO.
5729         (do_test): Use TEST_SO.
5731         * elf/dl-load.c: Include libc-internal.h.
5732         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
5734 2015-09-18  Vincent Bernat  <vincent@bernat.im>
5736         [BZ #17887]
5737         * time/strptime_l.c (__strptime_internal): Make %z accept
5738         [+-]HH:MM time zones.
5740 2015-09-18  Vincent Bernat  <vincent@bernat.im>
5742         [BZ #17886]
5743         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
5744         valid time zone.
5746 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
5748         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
5749         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
5750         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5751         (__ASSUME_FDATASYNC): Delete.
5753 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
5755         * conform/linknamespace.pl: Require weak undefined symbols to be
5756         in the standard namespace.
5757         (%strong_syms): Rename to %seen_syms.
5758         (%strong_seen): Rename to %seen_where.
5760 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
5762         [BZ #18970]
5763         * misc/error.c (error): Replace pthread_setcancelstate with
5764         __pthread_setcancelstate.
5765         (error_at_line): Likewise.
5766         * posix/wordexp.c (parse_comm): Likewise.
5767         * stdlib/fmtmsg.c (fmtmsg): Likewise.
5768         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
5769         (__pthread_setcancelstate): This.
5770         (pthread_setcancelstate): Add an alias.
5771         * nptl/nptl-init.c (pthread_functions): Replace
5772         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
5773         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
5774         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
5775         hidden_proto.
5776         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
5777         it with hidden_def.
5778         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
5779         (pthread_setcancelstate): Renamed to ...
5780         (__pthread_setcancelstate): This.
5781         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
5782         __libc_ptf_call with __pthread_setcancelstate.
5784 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
5785             Andreas Schwab  <schwab@suse.de>
5787         [BZ #17118]
5788         * math/s_ctan.c (__ctan): Determine sign of zero real part of
5789         result when imaginary part of argument is infinite using sine and
5790         cosine.
5791         * math/s_ctanf.c (__ctanf): Likewise.
5792         * math/s_ctanl.c (__ctanl): Likewise.
5793         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
5794         of result when real part of argument is infinite using sine and
5795         cosine.
5796         * math/s_ctanhf.c (__ctanhf): Likewise.
5797         * math/s_ctanhl.c (__ctanhl): Likewise.
5798         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
5799         (ctanh_test_data): Add more tests of ctanh.
5801 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
5803         [BZ #15384]
5804         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
5805         bit-mask as in subtraction.
5806         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
5807         Likewise.
5808         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
5809         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
5810         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
5812         [BZ #18951]
5813         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
5814         underflow exception for small results.
5815         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
5816         Likewise.
5817         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
5818         Likewise.
5819         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5820         Likewise.
5821         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
5822         Likewise.
5823         * math/auto-libm-test-in: Add more tests of tgamma.
5824         * math/auto-libm-test-out: Regenerated.
5826 2015-09-17  Andreas Schwab  <schwab@suse.de>
5828         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
5830 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
5832         [BZ #18977]
5833         * math/bits/mathcalls.h
5834         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
5835         not declare.
5836         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
5837         Likewise.
5838         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
5839         Likewise.
5840         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
5841         Likewise.
5842         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
5843         Likewise.
5844         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
5845         Likewise.
5846         * conform/data/math.h-data
5847         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
5848         function.
5849         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
5850         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
5851         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
5852         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
5853         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
5854         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
5855         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
5856         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
5857         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
5858         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
5859         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
5861         [BZ #6803]
5862         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
5863         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
5864         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
5865         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
5866         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
5867         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
5868         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
5869         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
5870         [NO_LONG_DOUBLE] (scalbnl): Likewise.
5871         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
5872         Likewise.
5873         [NO_LONG_DOUBLE] (scalbnl): Likewise.
5874         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
5875         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
5876         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
5877         long_double_symbol calls.
5878         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
5879         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
5880         strong alias of __ldexpl.
5881         (scalbnl): Define using long_double_symbol.
5882         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
5883         Remove alias.
5884         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
5885         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
5886         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
5887         (scalbln_test_data): Add more errno expectations.
5889 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
5891         Cache the host port like we cache the task port.  This way we do not
5892         need to call the kernel just to get the port.  Furthermore, we no
5893         longer increase the reference count on every invocation of
5894         `mach_host_self'.
5896         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
5897         Protect declarations against the macro expansion.
5898         * mach/mach_init.c (__mach_host_self_): New variable.
5899         (mach_init): Initialize `__mach_host_self_'.
5900         * mach/mach_init.h (__mach_host_self_): New declaration.
5901         (__mach_host_self, mach_host_self): New macros.
5902         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
5903         Release reference.
5905 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
5907         [BZ #4404]
5908         * po/de.po: Update from Translation Project.
5910         [BZ #16415]
5911         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
5912         (__expm1l): Remove code to handle positive infinity and overflow.
5913         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
5914         variable.
5915         (__expm1l): Remove code to handle positive infinity and overflow.
5917 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
5918             Paul Pluzhnikov  <ppluzhnikov@google.com>
5920         [BZ #18872]
5921         * stdio-common/Makefile (tst-printf-bz18872): New test.
5922         (tst-printf-bz18872-mem.out): Likewise.
5923         * stdio-common/tst-printf-bz18872.sh: Generate new test.
5924         * stdio-common/vfprintf.c: Fix memory leaks.
5926 2015-09-16  Andreas Schwab  <schwab@suse.de>
5928         [BZ #17244]
5929         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
5930         Remove extra va_start/va_end calls.
5932         [BZ #17243]
5933         * posix/execl.c (execl): Add missing va_end.
5934         * posix/execle.c (execle): Likewise.
5935         * posix/execlp.c (execlp): Likewise.
5937 2015-09-15  Roland McGrath  <roland@hack.frob.com>
5939         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
5940         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
5942 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
5944         [BZ #18967]
5945         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
5946         undefine around includes of <bits/mathcalls.h>.
5947         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
5948         not declare function.
5949         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
5950         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
5951         (scalb): Likewise.
5952         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
5953         not define macro.
5954         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
5955         variable.
5956         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
5957         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
5958         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
5960         [BZ #18857]
5961         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
5962         return non-finite argument without doing ordered comparisons on
5963         it.
5965         [BZ #16296]
5966         * math/fenv.h (fegetround): Use __attribute_pure__.
5967         * include/fenv.h (__fegetround): Likewise.
5969         [BZ #18595]
5970         * math/s_ctan.c (__ctan): Force underflow exception for results
5971         whose real or imaginary part has small absolute value.
5972         * math/s_ctanf.c (__ctanf): Likewise.
5973         * math/s_ctanh.c (__ctanh): Likewise.
5974         * math/s_ctanhf.c (__ctanhf): Likewise.
5975         * math/s_ctanhl.c (__ctanhl): Likewise.
5976         * math/s_ctanl.c (__ctanl): Likewise.
5977         * math/auto-libm-test-in: Do not allow missing underflow for ctan
5978         and ctanh.  Add more tests of ctan and ctanh.
5980         [BZ #15918]
5981         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
5982         handling of cases where one argument is an infinity.
5984         [BZ #18875]
5985         [BZ #18966]
5986         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
5987         (MO): New macro.
5988         (__ieee754_exp10): For small results, force underflow exception
5989         and remove excess range and precision from return value.
5990         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
5991         (MO): New macro.
5992         (__ieee754_exp10f): For small results, force underflow exception
5993         and remove excess range and precision from return value.
5994         * math/auto-libm-test-in: Add more tests of exp10.
5995         * math/auto-libm-test-out: Regenerated.
5997 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
5999         [BZ #18875]
6000         [BZ #18961]
6001         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
6002         (MO): New macro.
6003         (__ieee754_exp): For small results, force underflow exception and
6004         remove excess range and precision from return value.
6005         (__exp_finite): Likewise.
6006         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
6007         (MO): New macro.
6008         (__ieee754_expf): For small results, force underflow exception and
6009         remove excess range and precision from return value.
6010         (__expf_finite): Likewise.
6011         * math/auto-libm-test-in: Add more tests of exp.
6012         * math/auto-libm-test-out: Regenerated.
6014         [BZ #16521]
6015         [BZ #18875]
6016         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
6017         small results.
6018         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
6019         (MO): New macro.
6020         (__ieee754_exp2): For small results, force underflow exception and
6021         remove excess range and precision from return value.
6022         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
6023         (MO): New macro.
6024         (__ieee754_exp2f): For small results, force underflow exception
6025         and remove excess range and precision from return value.
6026         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
6027         (MO): New macro.
6028         (__ieee754_exp2l): Force underflow exception for small results.
6029         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
6030         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
6031         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
6032         (MO): New macro.
6033         (__ieee754_exp2l): Force underflow exception for small results.
6034         * math/auto-libm-test-in: Add more tests or exp2.
6035         * math/auto-libm-test-out: Regenerated.
6037 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
6039         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
6041         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
6042         /dev/null.
6044 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6046         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
6047         io fs process)): Drop spurious backslash.
6049 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
6051         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
6052         Use sysinfo system call instead of parsing /proc/meminfo.
6053         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
6054         Likewise.
6056 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
6058         [BZ #16985]
6059         * programs/localedef.c (main): Display argv[remaining] when
6060         output_path is NULL.
6062 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
6064         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
6065         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
6066         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
6067         tanh.
6068         * math/auto-libm-test-out: Regenerated.
6069         * sysdeps/i386/fpu/libm-test-ulps: Update.
6070         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
6071         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6072         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6074 2015-09-11  Roland McGrath  <roland@hack.frob.com>
6076         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
6077         Use 'override' keyword to freeze the value here, preventing
6078         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
6080 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
6082         [BZ #14912]
6083         * sysdeps/aarch64/bits/atomic.h: Move to ...
6084         * sysdeps/aarch64/atomic-machine.h: ...here.
6085         (_AARCH64_BITS_ATOMIC_H): Rename macro to
6086         _AARCH64_ATOMIC_MACHINE_H.
6087         * sysdeps/alpha/bits/atomic.h: Move to ...
6088         * sysdeps/alpha/atomic-machine.h: ...here.
6089         * sysdeps/arm/bits/atomic.h: Move to ...
6090         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
6091         * bits/atomic.h: Move to ...
6092         * sysdeps/generic/atomic-machine.h: ...here.
6093         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
6094         * sysdeps/i386/bits/atomic.h: Move to ...
6095         * sysdeps/i386/atomic-machine.h: ...here.
6096         * sysdeps/ia64/bits/atomic.h: Move to ...
6097         * sysdeps/ia64/atomic-machine.h: ...here.
6098         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
6099         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
6100         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
6101         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
6102         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
6103         * sysdeps/microblaze/bits/atomic.h: Move to ...
6104         * sysdeps/microblaze/atomic-machine.h: ...here.
6105         * sysdeps/mips/bits/atomic.h: Move to ...
6106         * sysdeps/mips/atomic-machine.h: ...here.
6107         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
6108         * sysdeps/powerpc/bits/atomic.h: Move to ...
6109         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
6110         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
6111         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
6112         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
6113         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
6114         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
6115         <atomic-machine.h> instead of <bits/atomic.h>.
6116         * sysdeps/s390/bits/atomic.h: Move to ...
6117         * sysdeps/s390/atomic-machine.h: ...here.
6118         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
6119         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
6120         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
6121         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
6122         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
6123         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
6124         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
6125         * sysdeps/tile/bits/atomic.h: Move to ...
6126         * sysdeps/tile/atomic-machine.h: ...here.
6127         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
6128         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
6129         <sysdeps/tile/atomic-machine.h> instead of
6130         <sysdeps/tile/bits/atomic.h>.
6131         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
6132         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
6133         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
6134         <sysdeps/tile/atomic-machine.h> instead of
6135         <sysdeps/tile/bits/atomic.h>.
6136         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
6137         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
6138         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
6139         <sysdeps/arm/atomic-machine.h> instead of
6140         <sysdeps/arm/bits/atomic.h>.
6141         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
6142         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
6143         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
6144         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
6145         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
6146         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
6147         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
6148         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
6149         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
6150         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
6151         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
6152         * sysdeps/x86_64/bits/atomic.h: Move to ...
6153         * sysdeps/x86_64/atomic-machine.h: ...here.
6154         * include/atomic.h: Include <atomic-machine.h> instead of
6155         <bits/atomic.h>.
6157         * sysdeps/mips/mips32/libm-test-ulps: Update.
6158         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6160         [BZ #18952]
6161         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
6162         not convert non-integer negative arguments to int to determine the
6163         value of signgam.
6164         * math/auto-libm-test-in: Add more tests of lgamma.
6165         * math/auto-libm-test-out: Regenerated.
6167         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
6168         cosh, csqrt, erfc, expm1 and lgamma.
6169         * math/auto-libm-test-out: Regenerated.
6170         * sysdeps/i386/fpu/libm-test-ulps: Update.
6171         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6173 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
6175         [BZ #2542]
6176         [BZ #2543]
6177         [BZ #2558]
6178         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
6179         __lgamma_neg for arguments from -28.0 to -2.0.
6180         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
6181         __lgamma_negf for arguments from -15.0 to -2.0.
6182         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
6183         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
6184         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
6185         Call __lgamma_negl for arguments from -33.0 to -2.0.
6186         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
6187         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
6188         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
6189         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
6190         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
6191         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
6192         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
6193         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
6194         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
6195         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
6196         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
6197         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
6198         (__lgamma_neg): Likewise.
6199         (__lgamma_negl): Likewise.
6200         (__lgamma_product): Likewise.
6201         (__lgamma_productl): Likewise.
6202         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
6203         * math/auto-libm-test-in: Add more tests of lgamma.
6204         * math/auto-libm-test-out: Regenerated.
6205         * sysdeps/i386/fpu/libm-test-ulps: Update.
6206         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6208 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
6210         [BZ #18675]
6211         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
6213 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
6215         [BZ #14912]
6216         * bits/libc-lock.h: Move to ...
6217         * sysdeps/generic/libc-lock.h: ...here.
6218         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
6219         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
6220         * sysdeps/mach/hurd/libc-lock.h: ...here.
6221         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
6222         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
6223         * sysdeps/mach/bits/libc-lock.h: Move to ...
6224         * sysdeps/mach/libc-lock.h: ...here.
6225         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
6226         * sysdeps/nptl/bits/libc-lock.h: Move to ...
6227         * sysdeps/nptl/libc-lock.h: ...here.
6228         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
6229         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
6230         * sysdeps/nptl/libc-lockP.h: ...here.
6231         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
6232         * crypt/crypt_util.c: Include <libc-lock.h> instead of
6233         <bits/libc-lock.h>.
6234         * dirent/scandir-tail.c: Likewise.
6235         * dlfcn/dlerror.c: Likewise.
6236         * elf/dl-close.c: Likewise.
6237         * elf/dl-iteratephdr.c: Likewise.
6238         * elf/dl-lookup.c: Likewise.
6239         * elf/dl-open.c: Likewise.
6240         * elf/dl-support.c: Likewise.
6241         * elf/dl-writev.h: Likewise.
6242         * elf/rtld.c: Likewise.
6243         * grp/fgetgrent.c: Likewise.
6244         * gshadow/fgetsgent.c: Likewise.
6245         * gshadow/sgetsgent.c: Likewise.
6246         * iconv/gconv_conf.c: Likewise.
6247         * iconv/gconv_db.c: Likewise.
6248         * iconv/gconv_dl.c: Likewise.
6249         * iconv/gconv_int.h: Likewise.
6250         * iconv/gconv_trans.c: Likewise.
6251         * include/link.h: Likewise.
6252         * inet/getnameinfo.c: Likewise.
6253         * inet/getnetgrent.c: Likewise.
6254         * inet/getnetgrent_r.c: Likewise.
6255         * intl/bindtextdom.c: Likewise.
6256         * intl/dcigettext.c: Likewise.
6257         * intl/finddomain.c: Likewise.
6258         * intl/gettextP.h: Likewise.
6259         * intl/loadmsgcat.c: Likewise.
6260         * intl/localealias.c: Likewise.
6261         * intl/textdomain.c: Likewise.
6262         * libidn/idn-stub.c: Likewise.
6263         * libio/libioP.h: Likewise.
6264         * locale/duplocale.c: Likewise.
6265         * locale/freelocale.c: Likewise.
6266         * locale/newlocale.c: Likewise.
6267         * locale/setlocale.c: Likewise.
6268         * login/getutent_r.c: Likewise.
6269         * login/getutid_r.c: Likewise.
6270         * login/getutline_r.c: Likewise.
6271         * login/utmp-private.h: Likewise.
6272         * login/utmpname.c: Likewise.
6273         * malloc/mtrace.c: Likewise.
6274         * misc/efgcvt.c: Likewise.
6275         * misc/error.c: Likewise.
6276         * misc/fstab.c: Likewise.
6277         * misc/getpass.c: Likewise.
6278         * misc/mntent.c: Likewise.
6279         * misc/syslog.c: Likewise.
6280         * nis/nis_call.c: Likewise.
6281         * nis/nis_callback.c: Likewise.
6282         * nis/nss-default.c: Likewise.
6283         * nis/nss_compat/compat-grp.c: Likewise.
6284         * nis/nss_compat/compat-initgroups.c: Likewise.
6285         * nis/nss_compat/compat-pwd.c: Likewise.
6286         * nis/nss_compat/compat-spwd.c: Likewise.
6287         * nis/nss_nis/nis-alias.c: Likewise.
6288         * nis/nss_nis/nis-ethers.c: Likewise.
6289         * nis/nss_nis/nis-grp.c: Likewise.
6290         * nis/nss_nis/nis-hosts.c: Likewise.
6291         * nis/nss_nis/nis-network.c: Likewise.
6292         * nis/nss_nis/nis-proto.c: Likewise.
6293         * nis/nss_nis/nis-pwd.c: Likewise.
6294         * nis/nss_nis/nis-rpc.c: Likewise.
6295         * nis/nss_nis/nis-service.c: Likewise.
6296         * nis/nss_nis/nis-spwd.c: Likewise.
6297         * nis/nss_nisplus/nisplus-alias.c: Likewise.
6298         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
6299         * nis/nss_nisplus/nisplus-grp.c: Likewise.
6300         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
6301         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
6302         * nis/nss_nisplus/nisplus-network.c: Likewise.
6303         * nis/nss_nisplus/nisplus-proto.c: Likewise.
6304         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
6305         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
6306         * nis/nss_nisplus/nisplus-service.c: Likewise.
6307         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
6308         * nis/ypclnt.c: Likewise.
6309         * nptl/libc_pthread_init.c: Likewise.
6310         * nss/getXXbyYY.c: Likewise.
6311         * nss/getXXent.c: Likewise.
6312         * nss/getXXent_r.c: Likewise.
6313         * nss/nss_db/db-XXX.c: Likewise.
6314         * nss/nss_db/db-netgrp.c: Likewise.
6315         * nss/nss_db/nss_db.h: Likewise.
6316         * nss/nss_files/files-XXX.c: Likewise.
6317         * nss/nss_files/files-alias.c: Likewise.
6318         * nss/nsswitch.c: Likewise.
6319         * posix/regex_internal.h: Likewise.
6320         * posix/wordexp.c: Likewise.
6321         * pwd/fgetpwent.c: Likewise.
6322         * resolv/res_hconf.c: Likewise.
6323         * resolv/res_libc.c: Likewise.
6324         * shadow/fgetspent.c: Likewise.
6325         * shadow/lckpwdf.c: Likewise.
6326         * shadow/sgetspent.c: Likewise.
6327         * socket/opensock.c: Likewise.
6328         * stdio-common/reg-modifier.c: Likewise.
6329         * stdio-common/reg-printf.c: Likewise.
6330         * stdio-common/reg-type.c: Likewise.
6331         * stdio-common/vfprintf.c: Likewise.
6332         * stdio-common/vfscanf.c: Likewise.
6333         * stdlib/abort.c: Likewise.
6334         * stdlib/cxa_atexit.c: Likewise.
6335         * stdlib/fmtmsg.c: Likewise.
6336         * stdlib/random.c: Likewise.
6337         * stdlib/setenv.c: Likewise.
6338         * string/strsignal.c: Likewise.
6339         * sunrpc/auth_none.c: Likewise.
6340         * sunrpc/bindrsvprt.c: Likewise.
6341         * sunrpc/create_xid.c: Likewise.
6342         * sunrpc/key_call.c: Likewise.
6343         * sunrpc/rpc_thread.c: Likewise.
6344         * sysdeps/arm/backtrace.c: Likewise.
6345         * sysdeps/generic/ldsodefs.h: Likewise.
6346         * sysdeps/generic/stdio-lock.h: Likewise.
6347         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
6348         * sysdeps/i386/backtrace.c: Likewise.
6349         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
6350         * sysdeps/m68k/backtrace.c: Likewise.
6351         * sysdeps/mach/hurd/cthreads.c: Likewise.
6352         * sysdeps/mach/hurd/dirstream.h: Likewise.
6353         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
6354         * sysdeps/nptl/malloc-machine.h: Likewise.
6355         * sysdeps/nptl/stdio-lock.h: Likewise.
6356         * sysdeps/posix/dirstream.h: Likewise.
6357         * sysdeps/posix/getaddrinfo.c: Likewise.
6358         * sysdeps/posix/system.c: Likewise.
6359         * sysdeps/pthread/aio_suspend.c: Likewise.
6360         * sysdeps/s390/s390-32/backtrace.c: Likewise.
6361         * sysdeps/s390/s390-64/backtrace.c: Likewise.
6362         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
6363         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
6364         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
6365         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
6366         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
6367         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
6368         * sysdeps/unix/sysv/linux/system.c: Likewise.
6369         * sysdeps/x86_64/backtrace.c: Likewise.
6370         * time/alt_digit.c: Likewise.
6371         * time/era.c: Likewise.
6372         * time/tzset.c: Likewise.
6373         * wcsmbs/wcsmbsload.c: Likewise.
6374         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
6375         instead of <bits/libc-lock.h> in comment.
6377 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
6379         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
6380         Only use .set mips2 if the current ISA is below mips2.
6381         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
6382         Likewise.
6383         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
6384         mips32r2 if the current ISA is below mips32r2.
6385         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
6386         (TLS_IE): Updated to use the TLD_RDHWR macro.
6387         (TLS_LE): Likewise.
6388         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
6389         __ASSEMBLER__ condition.
6391 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6393         Fix parallel build of before-compile targets.
6395         * sysdeps/mach/Makefile ($(patsubst
6396         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
6397         mach-before-compile target.
6398         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
6399         io fs process)): Move rule to dedicated hurd-before-compile target.
6401 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6403         Fix rules generating headers in hurd/ and mach/ when initial make call
6404         has subdir= explicitly set.
6406         * sysdeps/mach/Makefile ($(patsubst
6407         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
6408         calling $(MAKE).
6409         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
6410         io fs process)): Force subdir to hurd when calling $(MAKE).
6411         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
6412         subdir to mach when calling $(MAKE).
6414 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
6416         Check sysheaders when looking for Mach and Hurd headers
6418         * sysdeps/mach/configure.ac: Add sysheaders check.
6419         * sysdeps/mach/configure: Regenerate.
6420         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
6421         * sysdeps/mach/hurd/configure: Regenerate.
6423 2015-09-04  Roland McGrath  <roland@hack.frob.com>
6425         [BZ #18921]
6426         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
6427         Fix inverted sense of test of 'o_directory_works' value.
6428         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
6429         Bernhard Voelker <mail@bernhard-voelker.de>.
6431 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
6433         [BZ #14912]
6434         * bits/linkmap.h: Move to ...
6435         * sysdeps/generic/linkmap.h: ...here.
6436         * sysdeps/aarch64/bits/linkmap.h: Move to ...
6437         * sysdeps/aarch64/linkmap.h: ...here.
6438         * sysdeps/arm/bits/linkmap.h: Move to ...
6439         * sysdeps/arm/linkmap.h: ...here.
6440         * sysdeps/hppa/bits/linkmap.h: Move to ...
6441         * sysdeps/hppa/linkmap.h: ...here.
6442         * sysdeps/ia64/bits/linkmap.h: Move to ...
6443         * sysdeps/ia64/linkmap.h: ...here.
6444         * sysdeps/mips/bits/linkmap.h: Move to ...
6445         * sysdeps/mips/linkmap.h: ...here.
6446         * sysdeps/s390/bits/linkmap.h: Move to ...
6447         * sysdeps/s390/linkmap.h: ...here.
6448         * sysdeps/sh/bits/linkmap.h: Move to ...
6449         * sysdeps/sh/linkmap.h: ...here.
6450         * sysdeps/x86/bits/linkmap.h: Move to ...
6451         * sysdeps/x86/linkmap.h: ...here.
6452         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
6454 2015-09-04  Andreas Schwab  <schwab@suse.de>
6456         [BZ #18635]
6457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
6458         (__makecontext): Terminate FDE before return label.
6459         (__novec_makecontext): Likewise.
6461 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6463         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
6464         first member of struct sv in syscall macro.
6466 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
6468         [BZ #14912]
6469         * bits/stdio-lock.h: Move to ...
6470         * sysdeps/generic/stdio-lock.h: ...here.
6471         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
6472         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
6473         * sysdeps/nptl/stdio-lock.h: ...here.
6474         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
6475         * include/libio.h: Include <stdio-lock.h> instead of
6476         <bits/stdio-lock.h>.
6477         * sysdeps/nptl/fork.c: Likewise.
6478         * sysdeps/pthread/flockfile.c: Likewise.
6479         * sysdeps/pthread/ftrylockfile.c: Likewise.
6480         * sysdeps/pthread/funlockfile.c: Likewise.
6482         [BZ #14912]
6483         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
6484         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
6485         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
6486         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
6487         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
6488         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
6489         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
6491 2015-09-03  Roland McGrath  <roland@hack.frob.com>
6493         * elf/Makefile (test-xfail-tst-protected1a): New variable.
6494         (test-xfail-tst-protected1b): New variable.
6496 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
6498         [BZ #14912]
6499         * bits/libc-tsd.h: Move to ...
6500         * sysdeps/generic/libc-tsd.h: ...here.
6501         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
6502         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
6503         * sysdeps/mach/hurd/libc-tsd.h: ...here.
6504         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
6505         * include/ctype.h: Include <libc-tsd.h> instead of
6506         <bits/libc-tsd.h>.
6507         * include/rpc/rpc.h: Likewise.
6508         * locale/localeinfo.h: Likewise.
6509         * sunrpc/rpc_thread.c: Likewise.
6510         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
6511         * sysdeps/nptl/malloc-machine.h: Likewise.
6513         * Makefile (headers): Remove bits/libc-lock.h.
6514         * libio/Makefile (headers): Remove bits/stdio-lock.h.
6516         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
6517         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
6518         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
6519         <bits/stdio-lock.h>.
6520         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
6521         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
6523 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
6525         [BZ #18757]
6526         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
6527         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
6528         BZ #18757.
6530 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
6532         * malloc/mtrace.pl: Filter out NULL entries.
6534 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
6536         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
6537         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
6538         macro.
6540         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
6541         (TCP_CC_INFO): Likewise.
6542         (TCP_SAVE_SYN): Likewise.
6543         (TCP_SAVED_SYN): Likewise.
6545 2015-08-31  Brett Neumeier <brett@neumeier.us>
6547         [BZ #18870]
6548         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
6550 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
6552         [BZ #18873]
6553         Fix broken overflow check in posix_fallocate
6554         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
6555         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
6556         Fix parenthesization typo.
6558 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
6560         [BZ #18887]
6561         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
6562         tst-mntent-blank-passno.
6563         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
6564         * misc/tst-mntent-blank-corrupt.c: New test.
6565         * misc/tst-mntent-blank-passno.c: New test ripped from ...
6566         * misc/tst-mntent.c (do_test): ... here.
6568 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
6570         [BZ #4404]
6571         * po/de.po: Fix SIGALRM typo.
6573 2015-08-28  James Perkins  <james@loowit.net>
6575         * time/tst-strptime2.c (tests): Replace short list of test
6576         strings for strptime %z specifier with code which exhaustively
6577         tests every combination of sign and 0 to 5 digits. Tests for
6578         rejection of invalid strings.
6580 2015-08-28  James Perkins  <james@loowit.net>
6582         [BZ #16141]
6583         * time/strptime_l.c (__strptime_internal): Fix %z minutes
6584         calculation, removing incorrect decimal time rounding, so that
6585         all minute values result in a valid seconds value.
6586         * time/strptime_l.c (__strptime_internal): Extend %z time zone
6587         offset range limits to UTC-99:59 through UTC+99:59 to parse
6588         current and historical use cases.
6589         * time/tst-strptime2.c (tests): Modify and add tests for the
6590         strptime %z input field descriptor, specifically conversion of
6591         minutes to seconds and validating an offset range of -9959 to
6592         +9959.
6594 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6595             Dmitry V. Levin  <ldv@altlinux.org>
6597         [BZ #18877]
6598         * posix/Makefile (tests): Add tst-mmap-offset.
6599         * posix/tst-mmap.c: New file.
6600         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
6601         offset calculation for negative values.
6603 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6605         * sysdeps/i386/init-arch.h: New file.
6606         * sysdeps/i386/i586/init-arch.h: Likewise.
6607         * sysdeps/i386/i686/init-arch.h: Likewise.
6608         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
6609         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
6610         * sysdeps/x86/cpu-features.h (bit_I586): New.
6611         (bit_I686): Likewise.
6612         (bit_CX8): Likewise.
6613         (bit_CMOV): Likewise.
6614         (index_CX8): Likewise.
6615         (index_CMOV): Likewise.
6616         (index_I586): Likewise.
6617         (index_I686): Likewise.
6618         (reg_CX8): Likewise.
6619         (reg_CMOV): Likewise.
6620         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
6621         available at compile-time.
6622         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
6623         available at compile-time.
6624         * sysdeps/x86/init-arch.h (USE_I586): New macro.
6625         (USE_I686): Likewise.
6627 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6629         * sysdeps/i386/bcopy.S: New file.
6630         * sysdeps/i386/bzero.S: Likewise.
6631         * sysdeps/i386/memcpy.S: Likewise.
6632         * sysdeps/i386/memmove.S: Likewise.
6633         * sysdeps/i386/mempcpy.S: Likewise.
6634         * sysdeps/i386/memset.S: Likewise.
6635         * sysdeps/i386/bzero.c: Removed.
6636         * sysdeps/i386/memset.c: Likewise.
6637         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
6638         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
6639         * sysdeps/i386/i586/memset_chk.S: Likewise.
6640         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
6641         * sysdeps/i386/memcpy_chk.S: Here.
6642         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
6643         * sysdeps/i386/memmove_chk.S: Here.
6644         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
6645         * sysdeps/i386/mempcpy_chk.S: Likewise.
6646         * sysdeps/i386/i686/memset_chk.S: Moved to ...
6647         * sysdeps/i386/memset_chk.S: Likewise.
6649 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
6651         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
6652         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
6653         file, move DIAG_POP_NEEDS_COMMENT to end of file.
6654         * soft-fp/fmadf4.c: Ditto.
6655         * soft-fp/fmatf4.c: Ditto.
6657 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6659         * sysdeps/i386/i586/Implies: Removed.
6660         * sysdeps/i386/i686/Implies: Likewise.
6662 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6664         * sysdeps/i386/i486/strlen.S: Moved to ...
6665         * sysdeps/i386/strlen.S: Here.
6667 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6669         * sysdeps/i386/i486/strcat.S: Moved to ...
6670         * sysdeps/i386/strcat.S: Here.
6672 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6674         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
6675         * sysdeps/i386/pthread_spin_trylock.S: Here.
6676         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
6677         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
6679 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6681         * sysdeps/i386/i486/string-inlines.c: Moved to ...
6682         * sysdeps/i386/string-inlines.c: Here.
6684 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6686         * sysdeps/i386/i486/htonl.S: Moved ...
6687         * sysdeps/i386/htonl.S: here.
6689 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6691         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
6692         * sysdeps/i386/bits/atomic.h: Here.
6694 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6696         * sysdeps/i386/i486/Versions: Removed.
6698 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
6700         [BZ #2898]
6701         * misc/mktemp.c: Add mkdtemp to the link_warning message.
6702         Based on patch by Aurelien Jarno.
6704 2015-08-26  Stan Shebs  <stanshebs@google.com>
6706         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
6707         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
6709 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6711         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
6712         * sysdeps/powerpc/dl-procinfo.c:
6713         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
6714         feature so it shows when LD_SHOW_AUXV=1.
6716 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6718         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
6719         (__arch_compare_and_exchange_val_32_acq): Remove and use common
6720         definition.  ISA 2.07B no longer requires full sync.
6722 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
6724         [BZ #18863]
6725         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
6726         (si_call_addr): Define.
6727         (si_syscall): Define.
6728         (si_arch): Define.
6730 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
6732         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
6733         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
6734         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
6735         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
6736         (__memset_zero_constant_len_parameter): New.
6737         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
6738         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
6739         (__memset_zero_constant_len_parameter): Don't define if
6740         __memset_chk or USE_AS_BZERO are defined.
6742         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
6743         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
6744         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
6746         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
6747         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
6748         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
6749         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
6750         comments.
6751         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
6752         -mno-mmx for $(all-rtld-routines).
6753         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
6754         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
6755         i386.
6757 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
6759         * sysdeps/generic/unwind.h
6760         (_Unwind_Word): Use __mode__(__unwind_word__)
6761         instead of __mode__(__word__).
6762         (_Unwind_Sword): Likewise.
6764         * sysdeps/s390/s390-64/utf8-utf16-z9.c
6765         (MAX_NEEDED_INPUT): New define.
6766         (MAX_NEEDED_OUTPUT): New define.
6768         * NEWS: New item for IBM z13 string optimizations.
6770         * sysdeps/s390/multiarch/memrchr-c.c: New File.
6771         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
6772         * sysdeps/s390/multiarch/memrchr.c: Likewise.
6773         * sysdeps/s390/multiarch/Makefile
6774         (sysdep_routines): Add memrchr functions.
6775         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
6776         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
6778         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
6779         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
6780         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
6781         * sysdeps/s390/multiarch/Makefile
6782         (sysdep_routines): Add wmemcmp functions.
6783         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
6784         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
6785         * benchtests/bench-wmemcmp.c: New File.
6786         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
6788         * sysdeps/s390/multiarch/wmemset-c.c: New File.
6789         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
6790         * sysdeps/s390/multiarch/wmemset.c: Likewise.
6791         * sysdeps/s390/multiarch/Makefile
6792         (sysdep_routines): Add wmemset functions.
6793         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
6794         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
6795         * wcsmbs/wmemset.c: Use WMEMSET if defined.
6796         * string/test-memset.c: Add wmemset support.
6797         * wcsmbs/test-wmemset.c: New File.
6798         * wcsmbs/Makefile (strop-tests): Add wmemset.
6799         * benchtests/bench-memset.c: Add wmemset support.
6800         * benchtests/bench-wmemset.c: New File.
6801         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
6803         * sysdeps/s390/multiarch/memccpy-c.c: New File.
6804         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
6805         * sysdeps/s390/multiarch/memccpy.c: Likewise.
6806         * sysdeps/s390/multiarch/Makefile
6807         (sysdep_routines): Add memccpy functions.
6808         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
6809         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
6810         * string/memccpy.c: Use MEMCCPY if defined.
6812         * sysdeps/s390/multiarch/memchr-vx.S: New File.
6813         * sysdeps/s390/multiarch/memchr.c: Likewise.
6814         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
6815         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
6816         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
6817         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
6818         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
6819         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
6820         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
6821         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
6822         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
6823         and rawmemchr functions.
6824         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
6825         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
6826         and wmemchr.
6827         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
6828         * string/test-memchr.c: Add wmemchr support.
6829         * wcsmbs/test-wmemchr.c: New File.
6830         * wcsmbs/Makefile (strop-tests): Add wmemchr.
6831         * benchtests/bench-memchr.c: Add wmemchr support.
6832         * benchtests/bench-wmemchr.c: New File.
6833         * benchtests/Makefile (wcsmbs-bench): wmemchr.
6835         * sysdeps/s390/multiarch/strcspn-c.c: New File.
6836         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
6837         * sysdeps/s390/multiarch/strcspn.c: Likewise.
6838         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
6839         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
6840         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
6841         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
6842         wcscspn functions.
6843         * sysdeps/s390/multiarch/ifunc-impl-list.c
6844         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
6845         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
6846         * string/test-strcspn.c: Add wcscspn support.
6847         * wcsmbs/test-wcscspn.c: New File.
6848         * wcsmbs/Makefile (strop-tests): Add wcscspn.
6849         * benchtests/bench-strcspn.c: Add wcscspn support.
6850         * benchtests/bench-wcscspn.c: New File.
6851         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
6853         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
6854         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
6855         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
6856         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
6857         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
6858         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
6859         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
6860         wcspbrk functions.
6861         * sysdeps/s390/multiarch/ifunc-impl-list.c
6862         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
6863         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
6864         * string/test-strpbrk.c: Add wcspbrk support.
6865         * wcsmbs/test-wcspbrk.c: New File.
6866         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
6867         * benchtests/bench-strpbrk.c: Add wcspbrk support.
6868         * benchtests/bench-wcspbrk.c: New File.
6869         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
6871         * sysdeps/s390/multiarch/strspn-c.c: New File.
6872         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
6873         * sysdeps/s390/multiarch/strspn.c: Likewise.
6874         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
6875         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
6876         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
6877         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
6878         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
6879         wcsspn functions.
6880         * sysdeps/s390/multiarch/ifunc-impl-list.c
6881         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
6882         * string/test-strspn.c: Add wcsspn support.
6883         * wcsmbs/test-wcsspn.c: New File.
6884         * wcsmbs/Makefile (strop-tests): Add wcsspn.
6885         * benchtests/bench-strspn.c: Add wcsspn support.
6886         * benchtests/bench-wcsspn.c: New File.
6887         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
6889         * sysdeps/s390/multiarch/strrchr-c.c: New File.
6890         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
6891         * sysdeps/s390/multiarch/strrchr.c: Likewise.
6892         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
6893         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
6894         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
6895         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
6896         wcsrchr functions.
6897         * sysdeps/s390/multiarch/ifunc-impl-list.c
6898         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
6899         * benchtests/bench-wcsrchr.c: New File.
6900         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
6902         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
6903         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
6904         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
6905         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
6906         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
6907         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
6908         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
6909         wcschrnul functions.
6910         * sysdeps/s390/multiarch/ifunc-impl-list.c
6911         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
6912         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
6913         * string/test-strchr.c: Add wcschrnul support.
6914         * wcsmbs/test-wcschrnul.c: New File.
6915         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
6916         * benchtests/bench-strchr.c: Add wcschrnul support.
6917         * benchtests/bench-wcschrnul.c: New File.
6918         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
6920         * sysdeps/s390/multiarch/strchr-c.c: New File.
6921         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
6922         * sysdeps/s390/multiarch/strchr.c: Likewise.
6923         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
6924         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
6925         * sysdeps/s390/multiarch/wcschr.c: Likewise.
6926         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
6927         wcschr functions.
6928         * sysdeps/s390/multiarch/ifunc-impl-list.c
6929         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
6930         * string/strchr.c (STRCHR): Define and use macro.
6931         * benchtests/bench-wcschr.c: New File.
6932         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
6934         * sysdeps/s390/multiarch/strncmp-c.c: New File.
6935         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
6936         * sysdeps/s390/multiarch/strncmp.c: Likewise.
6937         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
6938         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
6939         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
6940         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
6941         wcsncmp functions.
6942         * sysdeps/s390/multiarch/ifunc-impl-list.c
6943         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
6944         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
6945         * benchtests/bench-strncmp.c: Add wcsncmp support.
6946         * benchtests/bench-wcsncmp.c: New File.
6947         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
6949         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
6950         * sysdeps/s390/multiarch/strcmp.c: Likewise.
6951         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
6952         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
6953         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
6954         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
6955         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
6956         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
6957         wcscmp functions.
6958         * sysdeps/s390/multiarch/ifunc-impl-list.c
6959         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
6960         * string/strcmp.c (STRCMP): Define and use macro.
6961         * benchtests/bench-wcscmp.c: New File.
6962         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
6963         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
6964         instead of _HAVE_STRING_ARCH_memchr.
6966         * sysdeps/s390/multiarch/strncat-c.c: New File.
6967         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
6968         * sysdeps/s390/multiarch/strncat.c: Likewise.
6969         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
6970         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
6971         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
6972         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
6973         wcsncat functions.
6974         * sysdeps/s390/multiarch/ifunc-impl-list.c
6975         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
6976         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
6977         * string/test-strncat.c: Add wcsncat support.
6978         * wcsmbs/test-wcsncat.c: New File.
6979         * wcsmbs/Makefile (strop-tests): Add wcsncat.
6980         * benchtests/bench-strncat.c: Add wcsncat support.
6981         * benchtests/bench-wcsncat.c: New File.
6982         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
6984         * sysdeps/s390/multiarch/strcat-c.c: New File.
6985         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
6986         * sysdeps/s390/multiarch/strcat.c: Likewise.
6987         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
6988         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
6989         * sysdeps/s390/multiarch/wcscat.c: Likewise.
6990         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
6991         wcscat functions.
6992         * sysdeps/s390/multiarch/ifunc-impl-list.c
6993         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
6994         * string/strcat.c (STRCAT): Define and use macro.
6995         * wcsmbs/wcscat.c: Use WCSCAT if defined.
6996         * string/test-strcat.c: Add wcscat support.
6997         * wcsmbs/test-wcscat.c: New File.
6998         * wcsmbs/Makefile (strop-tests): Add wcscat.
6999         * benchtests/bench-strcat.c: Add wcscat support.
7000         * benchtests/bench-wcscat.c: New File.
7001         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
7003         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
7004         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
7005         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
7006         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
7007         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
7008         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
7009         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
7010         wcpncpy functions.
7011         * sysdeps/s390/multiarch/ifunc-impl-list.c
7012         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
7013         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
7014         * string/test-stpncpy.c: Add wcpncpy support.
7015         * wcsmbs/test-wcpncpy.c: New File.
7016         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
7017         * benchtests/bench-stpncpy.c: Add wcpncpy support.
7018         * benchtests/bench-wcpncpy.c: New File.
7019         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
7021         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
7022         * sysdeps/s390/multiarch/strncpy.c: Likewise.
7023         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
7024         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
7025         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
7026         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
7027         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
7028         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
7029         wcsncpy functions.
7030         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
7031         * sysdeps/s390/multiarch/ifunc-impl-list.c
7032         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
7033         * string/test-strncpy.c: Add wcsncpy support.
7034         * wcsmbs/test-wcsncpy.c: New File.
7035         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
7036         * benchtests/bench-strncpy.c: Add wcsncpy support.
7037         * benchtests/bench-wcsncpy.c: New File.
7038         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
7040         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
7041         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
7042         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
7043         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
7044         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
7045         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
7046         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
7047         wcpcpy functions.
7048         * string/stpcpy.c: Use STPCPY if defined.
7049         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
7050         * sysdeps/s390/multiarch/ifunc-impl-list.c
7051         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
7052         * string/test-stpcpy.c: Add wcpcpy support.
7053         * wcsmbs/test-wcpcpy.c: New File.
7054         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
7055         * benchtests/bench-stpcpy.c: Add wcpcpy support.
7056         * benchtests/bench-wcpcpy.c: New File.
7057         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
7059         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
7060         * sysdeps/s390/multiarch/strcpy.c: Likewise.
7061         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
7062         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
7063         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
7064         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
7065         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
7066         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
7067         wcscpy functions.
7068         * sysdeps/s390/multiarch/ifunc-impl-list.c
7069         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
7070         * benchtests/bench-wcscpy.c: New File.
7071         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
7073         * sysdeps/s390/multiarch/strnlen-c.c: New File.
7074         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
7075         * sysdeps/s390/multiarch/strnlen.c: Likewise.
7076         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
7077         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
7078         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
7079         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
7080         wcsnlen functions.
7081         * sysdeps/s390/multiarch/ifunc-impl-list.c
7082         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
7083         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
7084         * string/test-strnlen.c: Add wcsnlen support.
7085         * wcsmbs/test-wcsnlen.c: New File.
7086         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
7087         * benchtests/bench-strnlen.c: Add wcsnlen support.
7088         * benchtests/bench-wcsnlen.c: New File.
7089         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
7091         * sysdeps/s390/multiarch/Makefile: New File.
7092         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
7093         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
7094         * sysdeps/s390/multiarch/strlen.c: Likewise.
7095         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
7096         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
7097         * sysdeps/s390/multiarch/wcslen.c: Likewise.
7098         * string/strlen.c (STRLEN): Define and use macro.
7099         * sysdeps/s390/multiarch/ifunc-impl-list.c
7100         (IFUNC_VX_IMPL): New macro function.
7101         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
7102         * benchtests/Makefile (wcsmbs-bench): New variable.
7103         (string-bench-all): Added wcsmbs-bench.
7104         * benchtests/bench-wcslen.c: New File.
7106         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
7107         s390_vx_libc_ifunc2): New macro function.
7109         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
7110         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
7111         assembler support.
7112         * sysdeps/s390/configure: Regenerated.
7114         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
7115         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
7117         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
7118         * sysdeps/s390/dl-procinfo.h: Add vector capability.
7119         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
7121         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
7122         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
7123         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
7124         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
7125         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
7126         (memcmp, bcmp): Use __memcmp_default as alias source.
7127         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
7128         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
7129         Rename to __memcmp_default.
7130         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
7131         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
7132         (memcpy): Use __memcpy_default as alias source.
7133         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
7134         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
7135         Rename to __memcpy_default.
7136         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
7137         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
7138         (memset): Use __memset_default as alias source.
7139         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
7140         * sysdeps/s390/s390-32/memset.S (__memset_g5):
7141         Rename to __memset_default.
7142         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
7143         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
7144         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
7145         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
7146         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
7147         (memcmp, bcmp): Use __memcmp_default as alias source.
7148         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
7149         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
7150         Rename to __memcmp_default.
7151         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
7152         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
7153         (memcpy): Use __memcpy_default as alias source.
7154         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
7155         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
7156         Rename to __memcpy_default.
7157         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
7158         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
7159         (memset): Use __memset_default as alias source.
7160         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
7161         * sysdeps/s390/s390-64/memset.S (__memset_z900):
7162         Rename to __memset_default.
7163         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
7164         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
7166         [BZ #18610]
7167         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
7168         __ieee_instruction_pointer to __unused.
7169         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
7170         __ieee_instruction_pointer.
7171         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
7172         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
7173         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
7174         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
7175         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
7176         Mark dxc-field as reserved.
7178 2015-08-25  Roland McGrath  <roland@hack.frob.com>
7180         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
7181         if the weak reference is not null.
7183 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
7185         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
7187         [BZ #11214]
7188         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
7190 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7192         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
7193         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
7194         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
7195         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
7196         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
7197         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
7198         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
7199         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
7200         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
7201         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
7202         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
7203         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
7204         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
7205         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
7206         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
7207         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
7208         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
7209         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
7211 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7213         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
7214         register other than r0 for tabort, it has special meaning.
7215         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise
7216         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
7217         transaction before starting syscall.
7219 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7221         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
7223 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
7225         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
7227         * sysdeps/x86_64/rtld-memcmp.c: Removed.
7228         * sysdeps/x86_64/rtld-memset.S: Likewise.
7229         * sysdeps/x86_64/rtld-strchr.S: Likewise.
7230         * sysdeps/x86_64/rtld-strlen.S: Likewise.
7231         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
7232         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
7234         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
7236 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
7238         * debug/strcpy_chk.c: Improve performance.
7239         * debug/stpcpy_chk.c: Likewise.
7240         * sysdeps/x86_64/strcpy_chk.S: Remove.
7241         * sysdeps/x86_64/stpcpy_chk.S: Remove.
7243         [BZ #18240]
7244         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
7246 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
7248         [BZ #15128]
7249         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
7250         ifuncmain8.
7251         (modules-names): Add ifuncmod8.
7252         ($(objpfx)ifuncmain8): New rule.
7253         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
7254         <cpuid.h>.
7255         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
7256         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
7257         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
7258         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
7259         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
7260         * sysdeps/x86_64/dl-trampoline.h: Likewise.
7261         * sysdeps/x86_64/ifuncmain8.c: New file.
7262         * sysdeps/x86_64/ifuncmod8.c: Likewise.
7263         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
7264         Removed.
7265         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
7266         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
7267         Change rtld_savespace_sse to __glibc_unused2.
7268         (RTLD_CHECK_FOREIGN_CALL): Removed.
7269         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
7270         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
7271         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
7273 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
7275         * sysdeps/aarch64/bzero.S (__bzero): Remove.
7277 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
7279         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
7280         Unconditionally set __fpcr to avoid uninialized warning.
7281         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
7283 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7285         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
7286         is corrupt.
7288         * malloc/arena.c (arena_get2): Drop unused argument.
7289         (arena_lock): Adjust.
7290         (arena_get_retry): Likewise.
7292 2015-08-24  Andreas Schwab  <schwab@suse.de>
7294         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
7295         Don't define.
7296         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7297         (__ASSUME_IPC64): Don't undef.
7298         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
7299         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
7300         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
7301         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
7302         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
7303         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
7304         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
7305         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
7306         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
7307         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
7308         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
7309         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
7310         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
7311         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
7312         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
7313         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
7314         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
7315         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
7316         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
7317         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
7318         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
7320 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
7322         * manual/Makefile (install): Only build manual when perl is available.
7324 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7326         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
7327         '#undef memcpy' by '#undef memchr'.
7329 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7331         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
7332         memchr not point to the internal __GI_memchr implementation.
7334 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
7336         * timezone/Makefile (CFLAGS-zdump.c): Remove
7337         -Wno-strict-prototypes.
7338         (CFLAGS-zic.c): Likewise.
7339         (CFLAGS-ialloc.c): Likewise.
7340         (CFLAGS-scheck.c): Likewise.
7342         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
7343         -Wno-error=undef.
7345 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
7347         * i386/i686/multiarch/strcasestr-c.c: Removed.
7348         * x86_64/multiarch/strcasestr.c: Likewise.
7349         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7350         Remove strcasestr.
7352 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
7354         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
7356         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
7357         variables for high and low parts before possibly modifying them.
7359 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
7361         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
7362         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
7363         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
7364         of "multiarch/init-arch.h".
7365         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
7366         * sysdeps/x86/init-arch.h: This.
7368 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
7370         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
7371         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
7373 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
7375         [BZ #17787]
7376         * manual/macros.texi: Add twoexp macro.
7377         * manual/filesys.texi: Fix exponents.
7378         * manual/llio.texi: Likewise.
7379         * manual/stdio.texi: Likewise.
7381 2015-08-20  Florian Weimer  <fweimer@redhat.com>
7383         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
7384         incorrect use.
7386 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
7388         [BZ #18370]
7389         * math/s_csqrt.c (__csqrt): Force underflow exception for results
7390         whose real or imaginary part has small absolute value.
7391         * math/s_csqrtf.c (__csqrtf): Likewise.
7392         * math/s_csqrtl.c (__csqrtl): Likewise.
7393         * math/auto-libm-test-in: Add more tests of csqrt.
7394         * math/auto-libm-test-out: Regenerated.
7395         * sysdeps/i386/fpu/libm-test-ulps: Update.
7397 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7399         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
7400         __ppc_set_ppr_very_low): New functions.
7401         * manual/platform.texi: Add documentation about
7402         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
7404 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
7406         * string/stpncpy.c (stpncpy): Improve performance using
7407         __strnlen/memcpy/memset.
7409 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
7411         [BZ #18796]
7412         * scripts/test-installation.pl: Don't add -lmvec to build options if
7413         libmvec wasn't built.
7415 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
7417         [BZ #14341]
7418         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
7419         case when there is a gap between DT_REL and DT_JMPREL sections.
7420         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
7421         (LDFLAGS-tst-split-dynreloc): New.
7422         (tst-split-dynreloc-ENV): Likewise.
7423         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
7424         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
7426 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
7428         [BZ #18822]
7429         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
7430         attribute_hidden.
7431         (__xstat64_conv): Likewise.
7432         (__xstat32_conv): Likewise.
7434 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
7436         [BZ #18822]
7437         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
7438         Don't load %ebx when calling __setcontext.  Call __setcontext
7439         with HIDDEN_JUMPTARGET.
7440         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
7441         libc_hidden_def.
7443 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
7445         * sysdeps/i386/i686/Makefile
7446         [$(subdir) == string] (sysdep_routines): Moved to ...
7447         * sysdeps/i386/Makefile: Here.
7448         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
7449         * sysdeps/i386/cacheinfo.c: Here.
7450         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
7451         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
7452         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
7453         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
7455 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
7457         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
7458         __i586__ is defined.
7459         (HAS_I686): Defined to 1 if __i686__ is defined.
7461 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
7463         * elf/Makefile [$(have-z-execstack) = yes]
7464         (CPPFLAGS-tst-execstack.c): New variable.
7466         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
7467         conditional to [defined UTMPX || _HAVE_UT_TYPE].
7468         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
7469         UTMPX || _HAVE_UT_TV].
7470         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
7471         UTMPX || _HAVE_UT_TV - 0].
7473 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
7475         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
7476         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
7477         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
7479 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7481         * sysdeps/powerpc/dl-procinfo.c:
7482         (_dl_powerpc_cap_flags): Added missing strings for some
7483         hwcap features.
7484         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
7486 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
7488         Port the 0x7efe...feff pattern to GCC 6.
7489         See Steve Ellcey's bug report in:
7490         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
7491         * string/memrchr.c (MEMRCHR):
7492         * string/rawmemchr.c (RAWMEMCHR):
7493         * string/strchr.c (strchr):
7494         * string/strchrnul.c (STRCHRNUL):
7495         Rewrite code to avoid issues with signed shift overflow.
7497 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
7499         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
7500         whether cpuid is available only if HAS_CPUID is 0.
7501         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
7502         (HAS_I586): Likewise.
7503         (HAS_I686): Likewise.
7505 2015-08-18  Zack Weinberg  <zackw@panix.com>
7507         * misc/Versions (libc): Add GLIBC_2.23.
7509 2015-08-18  Alan Modra  <amodra@gmail.com>
7511         [BZ #18421]
7512         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
7513         .Lp__global.
7514         (_start): Load %dp via .Lp__global.
7515         [!SHARED]: Use .section .rodata.
7517 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
7519         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
7520         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
7522 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
7524         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
7525         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
7527 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
7529         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
7530         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
7532 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
7534         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
7535         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
7537 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
7539         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
7540         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
7542 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
7544         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
7545         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
7547 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
7549         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
7551 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
7553         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
7554         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
7555         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7556         (__ASSUME_LWS_CAS): Delete.
7558 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
7560         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
7561         * sysdeps/hppa/configure: Regenerated.
7562         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
7563         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
7564         * sysdeps/hppa/nptl/tls.h: Likewise.
7566 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
7568         [BZ #18823]
7569         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
7570         for scaling up small arguments.
7571         * math/s_csqrtf.c (__csqrtf): Likewise.
7572         * math/s_csqrtl.c (__csqrtl): Likewise.
7573         * math/auto-libm-test-in: Add more tests of csqrt.
7574         * math/auto-libm-test-out: Regenerated.
7576 2015-08-17  Andreas Schwab  <schwab@suse.de>
7578         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
7579         version set GLIBC_2.19.
7581 2015-08-16  Zack Weinberg  <zackw@panix.com>
7583         [BZ #18681]
7584         * misc/regexp.h: This interface is no longer supported.
7585         Remove all contents, leaving only an #error directive.
7586         * misc/regexp.c (loc1, loc2, locs, step, advance):
7587         Demote to compatibility symbols.
7589 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
7591         [BZ #18084]
7592         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
7593         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
7594         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
7595         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
7596         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
7597         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
7598         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
7599         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
7600         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
7602 2015-08-15  Zack Weinberg  <zackw@panix.com>
7604         [BZ #18795]
7605         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
7606         buffer length is known to be too large, not if it's known to be
7607         small enough.
7608         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
7609         overflow at runtime, involving a length parameter, twice: once
7610         with a compile-time constant length parameter, once without.
7612 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
7614         [BZ #18824]
7615         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
7616         scaling x * y up instead of down.
7617         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7618         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7619         * math/auto-libm-test-in: Add more tests of fma.
7620         * math/auto-libm-test-out: Regenerated.
7622 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
7624         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
7626 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
7628         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
7629         unnecessary movq.
7630         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
7631         Likewise.
7633 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
7635         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
7636         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
7637         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
7638         and tgamma.
7639         * math/auto-libm-test-out: Regenerated.
7640         * sysdeps/i386/fpu/libm-test-ulps: Update.
7641         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7643         [BZ #16520]
7644         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
7645         (__tanh): Force underflow exception for arguments with small
7646         absolute value.
7647         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
7648         (__tanhf): Force underflow exception for arguments with small
7649         absolute value.
7650         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
7651         (__tanhl): Force underflow exception for arguments with small
7652         absolute value.
7653         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
7654         (__tanhl): Force underflow exception for arguments with small
7655         absolute value.
7656         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
7657         (__tanhl): Force underflow exception for arguments with small
7658         absolute value.
7659         * math/auto-libm-test-in: Add more tests of tanh.
7660         * math/auto-libm-test-out: Regenerated.
7661         * sysdeps/i386/fpu/libm-test-ulps: Update.
7663 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
7665         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
7666         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
7668 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
7670         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
7671         <cpuid.h>.
7673 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
7675         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
7676         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
7678 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
7680         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
7681         Remove $(objpfx)init-arch.o.
7682         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
7683         init-arch.
7684         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
7685         (INIT_ARCH_EXT): Defined as empty.
7686         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
7687         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
7688         __init_cpu_features call.  Replace HAS_XXX with
7689         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
7690         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
7691         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
7692         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
7693         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
7694         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
7695         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
7696         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
7697         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
7698         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
7699         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
7700         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
7701         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
7702         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
7703         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
7704         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
7705         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
7706         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
7707         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
7708         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
7709         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
7710         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
7711         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
7712         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
7713         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
7714         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
7715         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
7716         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
7717         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
7718         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
7719         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
7720         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
7721         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
7722         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
7723         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
7724         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
7726 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
7728         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
7729         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
7730         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
7731         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
7732         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
7733         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
7734         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
7735         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
7736         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
7737         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
7738         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
7739         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
7740         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
7741         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7742         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7743         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7744         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7745         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7746         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7747         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7748         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7749         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7750         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7751         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7752         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7753         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7754         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7755         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7756         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7757         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7758         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7759         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7760         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7761         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7762         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7763         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7764         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7765         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7766         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7767         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7768         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7769         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7770         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7772 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
7774         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
7775         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
7776         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
7777         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7778         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7779         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
7780         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7781         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
7782         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
7783         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7784         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7785         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
7786         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
7787         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
7788         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
7789         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
7790         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
7791         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
7792         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
7793         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
7794         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
7795         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
7796         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
7797         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7798         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
7799         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
7800         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
7801         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
7802         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
7803         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
7804         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
7805         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
7806         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
7807         * sysdeps/x86_64/multiarch/memset.S: Likewise.
7808         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7809         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
7810         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
7811         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
7812         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
7813         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
7814         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
7815         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
7816         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
7818 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
7820         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
7821         (dl_platform_init): Call init_cpu_features.
7822         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
7823         * sysdeps/i386/i686/cacheinfo.c
7824         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
7825         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
7826         * sysdeps/i386/i686/multiarch/Versions: Removed.
7827         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
7828         Removed.
7829         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
7830         * sysdeps/unix/sysv/linux/x86/Makefile
7831         (libpthread-sysdep_routines): Remove init-arch.
7832         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
7833         <sysdeps/x86_64/dl-procinfo.c> instead of
7834         sysdeps/generic/dl-procinfo.c>.
7835         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
7836         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
7837         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
7838         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
7839         [$(subdir) == elf] (tests-static): Add
7840         tst-get-cpu-features-static.
7841         * sysdeps/x86/Versions: New file.
7842         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
7843         * sysdeps/x86/cpu-features.c: Likewise.
7844         * sysdeps/x86/cpu-features.h: Likewise.
7845         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
7846         * sysdeps/x86/libc-start.c: Likewise.
7847         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
7848         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
7849         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
7850         * sysdeps/x86_64/dl-procinfo.c: Likewise.
7851         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
7852         Assume USE_MULTIARCH is defined and don't check it.
7853         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
7854         (is_amd): Likewise.
7855         (max_cpuid): Likewise.
7856         (intel_check_word): Likewise.
7857         (__cache_sysconf): Don't call __init_cpu_features.
7858         (__x86_preferred_memory_instruction): Removed.
7859         (init_cacheinfo): Don't call __init_cpu_features. Replace
7860         __cpu_features with GLRO(dl_x86_cpu_features).
7861         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
7862         (dl_platform_init): Call init_cpu_features.
7863         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
7864         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
7865         * sysdeps/x86_64/multiarch/Versions: Removed.
7866         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
7867         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
7868         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
7869         Removed.
7870         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
7872 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
7874         [BZ #18820]
7875         * libio/Makefile (test-fmemopen-mem): New test.
7876         * libio/test-fmemopen.c (do_bz18820): New test.
7877         * libio/fmemopen.c (__fmemopen): Fix memory leak.
7878         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
7880 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
7882         [BZ #16734]
7883         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
7884         (FREE_BUF): Delete.
7885         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
7886         * libio/genops.c (_IO_setb): Use malloc and free directly.
7887         (_IO_default_doallocate, _IO_default_finish): Likewise.
7888         ( _IO_unbuffer_all): Likewise.
7889         ( libc_freeres_fn): Likewise.
7890         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
7891         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
7892         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
7893         (_IO_wdefault_doallocate): Likewise.
7895 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
7897         [BZ #18086]
7898         * sysdeps/posix/nice.c (nice): Restore old errno.
7899         * posix/tst-nice.c (do_test): Add test for BZ #18086.
7901 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
7903         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
7905 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7907         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
7908         __bcopy and add a weak_alias to bcopy.
7909         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
7910         for static build.
7912         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
7913         cleanup macro usage.
7914         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
7915         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
7916         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
7917         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
7918         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
7919         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
7920         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
7921         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
7922         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
7923         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
7924         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
7925         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
7926         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
7927         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
7928         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
7929         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
7930         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
7931         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
7932         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
7934         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
7935         libc_hidden_def.
7936         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
7938         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
7939         (sysdep_routines): Add strstr-ppc64.
7940         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
7942 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
7944         [BZ #18778]
7945         * elf/Makefile (tests): Add Add tst-nodelete2.
7946         (modules-names): Add tst-nodelete2mod.
7947         (tst-nodelete2mod.so-no-z-defs): New.
7948         ($(objpfx)tst-nodelete2): Likewise.
7949         ($(objpfx)tst-nodelete2.out): Likewise.
7950         (LDFLAGS-tst-nodelete2): Likewise.
7951         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
7952         out of loop through all loaded libraries.
7953         * elf/tst-nodelete2.c: New file.
7954         * elf/tst-nodelete2mod.c: Likewise.
7955         * elf/tst-znodelete-zlib.cc: Delete.
7957 2015-08-11  Andreas Schwab  <schwab@suse.de>
7959         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
7960         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
7961         (__openat64_nocancel): Likewise.
7963 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
7965         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
7966         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
7967         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
7968         * math/auto-libm-test-out: Regenerated.
7969         * sysdeps/i386/fpu/libm-test-ulps: Update.
7970         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7972 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
7974         [BZ #18790]
7975         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
7976         threshold for returning +/- 1.
7977         * math/auto-libm-test-in: Add more tests of tanh.
7978         * math/auto-libm-test-out: Regenerated.
7979         * sysdeps/i386/fpu/libm-test-ulps: Update.
7981 2015-08-10  Andreas Schwab  <schwab@suse.de>
7983         [BZ #18781]
7984         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
7985         MORE_OFLAGS to oflag.
7986         * io/test-lfs.c (do_test): Test openat64.
7988 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
7990         [BZ #18789]
7991         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
7992         smaller threshold for returning the argument.
7993         * math/auto-libm-test-in: Add more tests of sinh.
7994         * math/auto-libm-test-out: Regenerated.
7995         * sysdeps/i386/fpu/libm-test-ulps: Update.
7997 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
7999         [BZ #18674]
8000         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
8001         break.
8003 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
8005         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
8006         (generated): Don't add $(addprefix z.,$(tzfiles)).
8008 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
8010         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
8011         * scripts/sysd-rules.awk: Likewise.
8013 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
8015         * iconvdata/tst-tables.sh: Change echo -n to printf.
8016         * nss/db-Makefile: Likewise.
8017         * posix/tst-getconf.sh: Likewise.
8018         * stdio-common/tst-unbputc.sh: Likewise.
8020 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
8022         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
8023         MADV_*_PAGES defines behind this feature check.
8025 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
8027         [BZ #18480]
8028         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
8029         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
8030         Define.
8031         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
8032         LOAD_REGS_5, LOAD_REGS_6): Update.
8033         (INTERNAL_SYSCALL): Update using new LOAD defines.
8034         (INTERNAL_SYSCALL_NCS): Likewise.
8035         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
8037 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
8039         [BZ #16734]
8040         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
8042 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
8044         [BZ #17905]
8045         * catgets/Makefile (tst-catgets-mem): New test.
8046         * catgets/catgets.c (catopen): Don't use unbounded alloca.
8047         * catgets/open_catalog.c (__open_catalog): Likewise.
8048         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
8050 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
8052         [BZ #18787]
8053         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
8054         clobber registers.
8055         (atomic_compare_and_exchange_val_acq): Use register asms to assign
8056         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
8057         Cast return to __typeof (oldval).
8059 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
8061         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
8062         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
8063         and delete sys/syscall.h include.
8065 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
8067         [BZ #16517]
8068         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
8069         (tan): Force underflow exception for arguments with small absolute
8070         value.
8071         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
8072         (__kernel_tanf): Force underflow exception for arguments with
8073         small absolute value.
8074         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
8075         (__kernel_tanl): Force underflow exception for arguments with
8076         small absolute value.
8077         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
8078         (__kernel_tanl): Force underflow exception for arguments with
8079         small absolute value.
8080         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
8081         (__kernel_tanl): Force underflow exception for arguments with
8082         small absolute value.
8083         * math/auto-libm-test-in: Add more tests of tan.
8084         * math/auto-libm-test-out: Regenerated.
8086 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8088         Fix sysdeps/i386/fpu/s_scalbn.S build
8090         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
8092 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
8094         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
8096 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8098         Fix gcrt0.o compilation
8100         When static-start-installed-name is different from
8101         start-installed-name, we must not use the shared objects.
8103         * csu/Makefile
8104         (extra-objs): Add gmon-start.o when building shared library and
8105         $(static-start-installed-name) is different from
8106         $(start-installed-name).
8107         $(objpfx)g$(static-start-installed-name): When building shared
8108         library and $(static-start-installed-name) is different from
8109         $(static-start-installed-name), revert to non-shared rule,
8110         i.e. using $(objpfx)% and gmon-start.o.
8112 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
8114         [BZ #16519]
8115         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
8116         (__ieee754_sinh): Force underflow exception for arguments with
8117         small absolute value.
8118         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
8119         (__ieee754_sinhf): Force underflow exception for arguments with
8120         small absolute value.
8121         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
8122         (__ieee754_sinhl): Force underflow exception for arguments with
8123         small absolute value.
8124         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
8125         (__ieee754_sinhl): Force underflow exception for arguments with
8126         small absolute value.
8127         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
8128         (__ieee754_sinhl): Force underflow exception for arguments with
8129         small absolute value.
8130         * math/auto-libm-test-in: Add more tests of sinh.
8131         * math/auto-libm-test-out: Regenerated.
8132         * sysdeps/i386/fpu/libm-test-ulps: Update.
8134 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
8136         * libio/oldfileops.c: Include unistd.h.
8138 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
8140         * stdlib/isomac.c: Include ctype.h.
8142 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
8144         * dirent/tst-seekdir.c (main): Converted to ...
8145         (do_test): ... this.
8146         (TEST_FUNCTION): New macro.
8147         Include test-skeleton.c.
8148         * elf/tst-dlmodcount.c (main): Converted to ...
8149         (do_test): ... this.
8150         (TEST_FUNCTION): New macro.
8151         Include test-skeleton.c.
8152         * elf/tst-order-main.c (main): Converted to ...
8153         (do_test): ... this.
8154         (TEST_FUNCTION): New macro.
8155         Include test-skeleton.c.
8156         * elf/tst-pie2.c (main): Converted to ...
8157         (do_test): ... this.
8158         (TEST_FUNCTION): New macro.
8159         Include test-skeleton.c.
8160         * inet/tst-ether_aton.c (main): Converted to ...
8161         (do_test): ... this.
8162         (TEST_FUNCTION): New macro.
8163         Include test-skeleton.c.
8164         * misc/tst-mntent.c (main): Converted to ...
8165         (do_test): ... this.
8166         (TEST_FUNCTION): New macro.
8167         Include test-skeleton.c.
8168         * misc/tst-tsearch.c (main): Converted to ...
8169         (do_test): ... this.
8170         (TEST_FUNCTION): New macro.
8171         Include test-skeleton.c.
8172         * posix/tst-regexloc.c (main): Converted to ...
8173         (do_test): ... this.
8174         (TEST_FUNCTION): New macro.
8175         Include test-skeleton.c.
8176         * resolv/tst-aton.c (main): Converted to ...
8177         (do_test): ... this.
8178         (TEST_FUNCTION): New macro.
8179         Include test-skeleton.c.
8180         * stdio-common/test-fwrite.c (main): Converted to ...
8181         (do_test): ... this.
8182         (TEST_FUNCTION): New macro.
8183         Include test-skeleton.c.
8184         * stdio-common/tst-ferror.c (main): Converted to ...
8185         (do_test): ... this.
8186         (TEST_FUNCTION): New macro.
8187         Include test-skeleton.c.
8188         * stdio-common/tst-printf.c (main): Converted to ...
8189         (do_test): ... this.
8190         (TEST_FUNCTION): New macro.
8191         Include test-skeleton.c.
8192         * stdio-common/tst-printfsz.c (main): Converted to ...
8193         (do_test): ... this.
8194         (TEST_FUNCTION): New macro.
8195         Include test-skeleton.c.
8196         * stdlib/tst-strtod.c (main): Converted to ...
8197         (do_test): ... this.
8198         (TEST_FUNCTION): New macro.
8199         Include test-skeleton.c.
8200         * string/tst-strlen.c (main): Converted to ...
8201         (do_test): ... this.
8202         (TEST_FUNCTION): New macro.
8203         Include test-skeleton.c.
8204         * string/tst-svc.c (main): Converted to ...
8205         (do_test): ... this.
8206         (TEST_FUNCTION): New macro.
8207         Include test-skeleton.c.
8208         * time/tst-strptime.c (main): Converted to ...
8209         (do_test): ... this.
8210         (TEST_FUNCTION): New macro.
8211         Include test-skeleton.c.
8212         * timezone/tst-timezone.c (main): Converted to ...
8213         (do_test): ... this.
8214         (TEST_FUNCTION): New macro.
8215         Include test-skeleton.c.
8217 2015-08-05  Zack Weinberg  <zackw@panix.com>
8219         * misc/regexp.h: Update comments.
8221 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
8223         [BZ #18635]
8224         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
8225         before return label.
8227 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
8229         [BZ #18661]
8230         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
8231         when calling __errno_location.
8232         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
8233         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
8235 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
8237         [BZ #18661]
8238         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
8239         (__lll_timedwait_tid): Align stack to 16 bytes when calling
8240         __gettimeofday.
8242 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
8244         [BZ #18661]
8245         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
8246         (__start_context): Don't use pop to restore %rdi so that stack
8247         is aligned to 16 bytes when calling __setcontext.
8249 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
8251         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
8252         only for libc.
8253         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
8255 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
8257         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
8258         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
8259         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
8261 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
8263         * string/memccpy.c (memccpy):
8264         Improve performance by using memchr/memcpy/__mempcpy.
8266 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
8268         * string/strncpy.c (strncpy):
8269         Improve performance by using __strnlen/memcpy.
8271 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
8273         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
8274         Optimize to avoid an unnecessary FPCR read.
8276 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
8278         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
8279         Optimize to reduce FPCR/FPSR accesses.
8281 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
8283         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
8284         dead->data[category] != NULL.
8286 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
8288         [BZ #18647]
8289         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
8290         and |x| close to 1, use absolute value of x when computing log.
8291         * math/auto-libm-test-in: Add more tests of pow.
8292         * math/auto-libm-test-out: Regenerated.
8294 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8296         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
8297         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
8298         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
8300 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
8302         [BZ #18525]
8303         * locales/km_KH: Remove timezone definition.
8304         * locales/lo_LA: Likewise.
8305         * locales/my_MM: Likewise.
8306         * locales/nan_TW@latin: Likewise.
8307         * locales/th_TH: Likewise.
8308         * locales/uk_UA: Likewise.
8310 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
8312         [BZ #18265]
8313         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
8314         (wcsncat): Likewise.
8315         (wcscmp): Likewise.
8316         (wcsncmp): Likewise.
8318 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
8320         * test-skeleton.c (usage): New function.
8321         (main): Call usage when opt is '?'.
8323 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
8325         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
8326         before first use.
8328 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
8330         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
8331         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
8332         in there too.
8334 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
8336         * version.h (RELEASE): Set to "development".
8337         (VERSION): Set to "2.22.90"
8339         * version.h (RELEASE): Set to "stable".
8340         (VERSION): Set to "2.22"
8341         * include/features.h (__GLIBC_MINOR__): Set to 22.
8343 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
8345         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
8346         Restructure macro to avoid "value computed is not used" warning.
8347         (atomic_compare_and_exchange_val_acq): Likewise.
8349 2015-08-04  Andreas Schwab  <schwab@suse.de>
8351         [BZ #18635]
8352         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
8353         ret.
8354         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
8356 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
8358         * po/pl.po: Updated translation.
8359         * po/uk.po: Likewise.
8360         * po/fi.po: Likewise.
8361         * po/ko.po: Likewise.
8362         * po/ru.po: Likewise.
8363         * po/vi.po: Likewise.
8365 2015-07-31  Zack Weinberg  <zackw@panix.com>
8367         [BZ #18681]
8368         * regexp.h: Add unconditional #warning stating that this header
8369         will be removed soon.  Revise banner comment to match.
8370         (compile): Consistently use ERROR instead of RETURN to report
8371         errors (partial fix for bz#18681).
8372         * regexp.c: Don't include regexp.h. Remove some unnecessary
8373         declarations.
8375 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
8377         * po/libc.pot: Regenerated.
8379 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
8381         [BZ #18740]
8382         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
8383         float-vlen4-arch-ext-cflags): Removed.
8384         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
8385         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
8387 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
8389         [BZ #14113]
8390         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
8391         aligned to __aligned__.
8392         (pthread_cond_t, pthread_rwlock_t): Likewise.
8394 2015-07-30  Torvald Riegel  <triegel@redhat.com>
8396         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
8398 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
8400         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
8401         (struct sigaction): Change sa_flags from a long to an int, and add
8402         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
8404 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
8406         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
8407         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
8408         sysdeps/generic/sysdep.h include.
8409         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
8410         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
8411         sysdeps/hppa/sysdep.h.
8412         (ENTRY, PSEUDO): Undefine before defining.
8414 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
8416         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
8417         from scratch to use INTERNAL_SYSCALL.
8419 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
8421         [BZ #18078]
8422         * scripts/check-localplt.awk: Support alternate relocations.
8423         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
8424         sections.
8425         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
8426         malloc entries with + REL R_386_GLOB_DAT.
8427         * sysdeps/x86_64/localplt.data: New file.
8429 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
8431         [BZ #18731]
8432         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
8433         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
8434         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
8436 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
8438         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
8440 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
8442         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
8443         directly in terms of __sync_fetch_and_add and delete (int) cast.
8445 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
8447         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
8448         the -D_ASM_IA64_CURRENT_H flag.
8450 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
8452         [BZ #18641]
8453         * pwd/pwd.h (putpwent): Delete __nonnull markings.
8455 2015-07-27  Andreas Schwab  <schwab@suse.de>
8457         * conform/conformtest.pl (checknamespace): Filter out string
8458         literals while tokenizing.
8460 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
8462         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
8463         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
8464         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
8466 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
8468         * nptl/tst-join7mod.c: Add #include <string.h>.
8470 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
8472         * sysdeps/nios2/libm-test-ulps: Update.
8474 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
8476         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
8477         Fix order of arguments to the rt_sigprocmask syscall.
8478         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
8479         Likewise.
8481 2015-07-24  Roland McGrath  <roland@hack.frob.com>
8483         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
8485 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
8487         [BZ #18457]
8488         * nptl/Makefile (tests): New test case tst-join7.
8489         (modules-names): New test case module tst-join7mod.
8490         * nptl/tst-join7.c: New file.
8491         * nptl/tst-join7mod.c: New file.
8492         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
8493         all translation units in libc.so, libpthread.so and rtld.
8495 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8497         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8499 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
8501         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
8502         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
8503         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
8504         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
8505         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
8506         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
8507         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
8508         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
8509         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
8510         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
8511         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
8512         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
8513         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
8514         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
8515         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
8516         implementation.
8518 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8520         [BZ #17711]
8521         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
8522         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
8523         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
8524         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
8525         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
8526         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
8528 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
8530         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
8531         instead of just saying load lock in the comments.
8533 2015-07-23  Roland McGrath  <roland@hack.frob.com>
8535         * sysdeps/unix/Subdirs: Moved ...
8536         * sysdeps/posix/Subdirs: ... here.
8537         * login/pty.h (struct termios, struct winsize): Add forward decls.
8538         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
8539         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
8540         * sysdeps/arm/nacl/libc.abilist: Updated.
8541         * sysdeps/nacl/libutil.abilist: New file.
8543         * bits/signum.h: Update comments to mention 1003.1-2013 too.
8544         (SIGWINCH): New macro.
8546         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
8547         * sysdeps/arm/nacl/libc.abilist: Add it.
8549 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
8551         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
8553 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
8555         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
8556         Swap __glibc_reserved0 and sa_flags order.
8558 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
8560         [BZ #18657]
8561         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
8562         are pending TLS destructor calls.
8563         * include/link.h (struct link_map): Add concurrency note for
8564         L_TLS_DTOR_COUNT.
8565         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
8566         Don't touch the link map flag.  Atomically increment
8567         l_tls_dtor_count.
8568         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
8569         Avoid taking the load lock and don't touch the link map flag.
8570         * stdlib/tst-tls-atexit-nodelete.c: New test case.
8571         * stdlib/Makefile (tests): Use it.
8572         * stdlib/tst-tls-atexit.c (do_test): dlopen
8573         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
8574         to allow tst-tls-atexit-nodelete test case to use it.
8576 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
8578         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
8579         to bits/types.h.
8580         (msgqnum_t): New typedef.
8581         (msglen_t): Likewise.
8582         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
8583         and msg_qbytes type to msglen_t.
8585 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
8587         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
8588         pad0 to __glibc_reserved0.
8589         (struct stat64): Likewise.
8591 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
8593         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
8594         Change sa_flags from a long to an int and add __glibc_reserved0 before
8595         it for padding.
8597 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
8599         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
8600         anonymous by deleting "siginfo" name.
8602 2015-07-21  Roland McGrath  <roland@hack.frob.com>
8604         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
8605         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
8606         rather than __nacl_irt_filename.
8607         * sysdeps/nacl/xstat.c (__xstat): Likewise.
8609         * NEWS: New item for arm-nacl port.
8610         * sysdeps/arm/nacl/libc.abilist: New file.
8611         * sysdeps/nacl/ld.abilist: New file.
8612         * sysdeps/nacl/libBrokenLocale.abilist: New file.
8613         * sysdeps/nacl/libanl.abilist: New file.
8614         * sysdeps/nacl/libcrypt.abilist: New file.
8615         * sysdeps/nacl/libdl.abilist: New file.
8616         * sysdeps/nacl/libm.abilist: New file.
8617         * sysdeps/nacl/libpthread.abilist: New file.
8618         * sysdeps/nacl/libresolv.abilist: New file.
8619         * sysdeps/nacl/librt.abilist: New file.
8621 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
8623         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
8624         __startcontext to initialize the new context.
8625         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
8626         up CFI directive to forbid further backtracing.
8628 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
8630         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
8631         reference.
8632         * charmaps/ANSI_X3.4-1968: Likewise.
8633         * charmaps/BS_4730: Likewise.
8634         * charmaps/BS_VIEWDATA: Likewise.
8635         * charmaps/CP1250: Likewise.
8636         * charmaps/CP1251: Likewise.
8637         * charmaps/CP1252: Likewise.
8638         * charmaps/CP1253: Likewise.
8639         * charmaps/CP1254: Likewise.
8640         * charmaps/CP1255: Likewise.
8641         * charmaps/CP1256: Likewise.
8642         * charmaps/CSN_369103: Likewise.
8643         * charmaps/EBCDIC-DK-NO: Likewise.
8644         * charmaps/GB_1988-80: Likewise.
8645         * charmaps/GREEK-CCITT: Likewise.
8646         * charmaps/GREEK7: Likewise.
8647         * charmaps/INIS-8: Likewise.
8648         * charmaps/ISIRI-3342: Likewise.
8649         * charmaps/ISO_2033-1983: Likewise.
8650         * charmaps/ISO_5427-EXT: Likewise.
8651         * locales/POSIX: Likewise.
8652         * locales/ar_SA: Likewise.
8653         * locales/be_BY: Likewise.
8654         * locales/be_BY@latin: Likewise.
8655         * locales/ca_ES: Likewise.
8656         * locales/cs_CZ: Likewise.
8657         * locales/da_DK: Likewise.
8658         * locales/de_BE: Likewise.
8659         * locales/de_CH: Likewise.
8660         * locales/de_LU: Likewise.
8661         * locales/en_AU: Likewise.
8662         * locales/en_BW: Likewise.
8663         * locales/en_CA: Likewise.
8664         * locales/en_DK: Likewise.
8665         * locales/en_GB: Likewise.
8666         * locales/en_IE: Likewise.
8667         * locales/en_NZ: Likewise.
8668         * locales/en_ZA: Likewise.
8669         * locales/en_ZW: Likewise.
8670         * locales/es_AR: Likewise.
8671         * locales/es_BO: Likewise.
8672         * locales/es_CL: Likewise.
8673         * locales/es_CO: Likewise.
8674         * locales/es_DO: Likewise.
8675         * locales/es_EC: Likewise.
8676         * locales/es_ES: Likewise.
8677         * locales/es_HN: Likewise.
8678         * locales/es_MX: Likewise.
8679         * locales/es_PA: Likewise.
8680         * locales/es_PE: Likewise.
8681         * locales/es_PY: Likewise.
8682         * locales/es_SV: Likewise.
8683         * locales/es_US: Likewise.
8684         * locales/es_UY: Likewise.
8685         * locales/es_VE: Likewise.
8686         * locales/et_EE: Likewise.
8687         * locales/fa_IR: Likewise.
8688         * locales/fo_FO: Likewise.
8689         * locales/fr_CA: Likewise.
8690         * locales/fr_CH: Likewise.
8691         * locales/gv_GB: Likewise.
8692         * locales/he_IL: Likewise.
8693         * locales/hr_HR: Likewise.
8694         * locales/id_ID: Likewise.
8695         * locales/is_IS: Likewise.
8696         * locales/it_CH: Likewise.
8697         * locales/iw_IL: Likewise.
8698         * locales/kl_GL: Likewise.
8699         * locales/ko_KR: Likewise.
8700         * locales/kw_GB: Likewise.
8701         * locales/lg_UG: Likewise.
8702         * locales/lt_LT: Likewise.
8703         * locales/lv_LV: Likewise.
8704         * locales/mi_NZ: Likewise.
8705         * locales/nhn_MX: Likewise.
8706         * locales/nl_BE: Likewise.
8707         * locales/pl_PL: Likewise.
8708         * locales/sk_SK: Likewise.
8709         * locales/sl_SI: Likewise.
8710         * locales/sv_FI: Likewise.
8711         * locales/tl_PH: Likewise.
8712         * locales/tr_TR: Likewise.
8713         * locales/vi_VN: Likewise.
8715 2015-07-21  Khem Raj  <raj.khem@gmail.com>
8717         [BZ #17475]
8718         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
8719         of tu_IN and bh_IN.
8721 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
8723         [BZ #18694]
8724         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
8725         bits/wordsize.h.
8726         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
8728 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8730         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
8731         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
8732         (spawn_thread): New function.
8733         (load): Rename to reg_dtor_and_close.  Move dlopen to...
8734         (do_test): ... here.  Use IS_LOADED to test for its
8735         availability.
8737 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
8739         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
8741 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
8743         [BZ #18696]
8744         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
8745         si_addr_bnd.
8746         (si_lower): New.
8747         (si_upper): Likewise.
8749 2015-07-16  David S. Miller  <davem@davemloft.net>
8751         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
8753 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8755         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
8756         buffer.
8757         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
8758         fail output information.
8760 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8762         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
8763         and strstr-ppc64..
8764         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
8765         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
8766         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
8767         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
8768         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
8770 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
8772         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
8773         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
8774         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
8775         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
8777 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
8779         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
8780         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
8781         rtld_hidden_proto.
8782         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
8784 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
8786         * tst-nodelete-opened.c (do_test): Add comment to clarify how
8787         the test can fail.
8789         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
8791         [BZ #18676]
8792         * elf/tst-nodelete-opened.c: New test case.
8793         * elf/tst-nodelete-opened-lib.c: New test case module.
8794         * elf/Makefile (tests, modules-names): Use them.
8795         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
8796         early.
8798 2015-07-15  David S. Miller  <davem@davemloft.net>
8800         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
8801         futex-intenal.h
8802         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
8803         * sysdeps/sparc/sparc64/Makefile: Likewise.
8804         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
8805         Remove space from macro define.
8806         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
8808 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
8810         [BZ #17475]
8811         * locale/iso-639.def: Update Bhili and Tulu language codes as
8812         per iso639-3.
8814 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
8816         * elf/tst-leaks1.c (main): Converted to ...
8817         (do_test): ... this.
8818         (TEST_FUNCTION): New macro.
8819         Include test-skeleton.c.
8820         * localedata/tst-langinfo.c (main): Converted to ...
8821         (do_test): ... this.
8822         (TEST_FUNCTION): New macro.
8823         Include test-skeleton.c.
8824         * math/test-fpucw.c (main): Converted to ...
8825         (do_test): ... this.
8826         (TEST_FUNCTION): New macro.
8827         Include test-skeleton.c.
8828         * math/test-tgmath.c (main): Converted to ...
8829         (do_test): ... this.
8830         (TEST_FUNCTION): New macro.
8831         Include test-skeleton.c.
8832         * math/test-tgmath2.c (main): Converted to ...
8833         (do_test): ... this.
8834         (TEST_FUNCTION): New macro.
8835         Include test-skeleton.c.
8836         * setjmp/tst-setjmp.c (main): Converted to ...
8837         (do_test): ... this.
8838         (TEST_FUNCTION): New macro.
8839         Include test-skeleton.c.
8840         * stdio-common/tst-sscanf.c (main): Converted to ...
8841         (do_test): ... this.
8842         (TEST_FUNCTION): New macro.
8843         Include test-skeleton.c.
8844         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
8845         (do_test): ... this.
8846         (TEST_FUNCTION): New macro.
8847         Include test-skeleton.c.
8849         * elf/tst-audit9.c (main): Converted to ...
8850         (do_test): ... this.
8851         (TEST_FUNCTION): New macro.
8852         Include test-skeleton.c.
8854 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
8856         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
8858 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
8860         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
8861         New variable.
8863 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
8865         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8867 2015-07-14  Roland McGrath  <roland@hack.frob.com>
8869         * sysdeps/generic/dl-fileid.h: New file.
8870         * sysdeps/posix/dl-fileid.h: New file.
8871         * sysdeps/nacl/dl-fileid.h: New file.
8872         * include/link.h: Include <dl-fileid.h>.
8873         (struct link_map): Replace l_dev and l_ino with l_file_id.
8874         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
8875         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
8876         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
8878 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
8880         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
8882 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8884         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
8885         Add iff $CXX is set.
8886         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
8887         Likewise.
8888         (tst-nodelete-zmodiff): Likewise.
8889         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
8891 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
8893         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
8895 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
8897         * sysdeps/aarch64/fpu/math_private.h
8898         (define math_opt_barrier): Add AArch64 version.
8899         (math_force_eval): Likewise.
8901 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
8903         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
8905 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
8907         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
8908         %ld with %jd and cast to intmax_t.
8909         (do_test_length_zero): Likewise.
8911 2015-07-10  Roland McGrath  <roland@hack.frob.com>
8913         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
8915 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
8917         * sysdeps/tile/libm-test-ulps: Regenerated.
8919         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
8920         Comment out the whole function, not just its body.
8922 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
8924         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
8925         locks.
8927         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
8929 2015-07-10  Torvald Riegel  <triegel@redhat.com>
8931         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
8932         (sem_assume_only_signals_cause_futex_EINTR): Remove.
8934 2015-07-10  Torvald Riegel  <triegel@redhat.com>
8936         * sysdeps/nptl/futex-internal.h: New file.
8937         * sysdeps/nacl/futex-internal.h: New file.
8938         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
8939         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
8940         error checking.
8941         (setxid_unmark_thread): Likewise.
8942         (__nptl_setxid): Likewise.
8943         (__wait_lookup_done): Likewise.
8944         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
8945         * nptl/nptl-init.c (sighandler_setxid): Likewise.
8946         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
8947         * nptl/pthread_once.c (clear_once_control): Likewise.
8948         (__pthread_once_slow): Likewise.
8949         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
8950         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
8951         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
8952         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
8953         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
8954         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
8955         Likewise.
8956         (__pthread_rwlock_rdlock): Likewise.
8957         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
8958         Likewise.
8959         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
8960         Likewise.
8961         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
8962         Likewise.
8963         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
8964         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
8965         Likewise.
8966         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
8967         __ASSUME_PRIVATE_FUTEX check.
8968         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
8969         Check that shared futexes are supported.
8970         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
8971         wrappers with error checking.
8972         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
8973         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
8974         * nptl/pthread_barrierattr_setpshared.c
8975         (pthread_barrierattr_setpshared): Check that shared futexes are
8976         supported.
8977         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
8978         Likewise.
8979         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
8980         Likewise.
8981         * nptl/sem_init.c (futex_private_if_supported): Remove.
8982         (__new_sem_init): Adapt and check that shared futexes are supported.
8983         * nptl/sem_open.c (sem_open): Likewise.
8984         * nptl/sem_post.c (futex_wake): Remove.
8985         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
8986         (do_futex_wait): Use futex wrappers with error checking.
8987         * nptl/sem_wait.c: Include lowlevellock.h.
8988         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
8989         Use futex_supports_pshared.
8990         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
8991         Use futex wrappers with error checking.
8992         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
8993         Likewise.
8994         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
8995         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
8996         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
8997         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
8998         (futex_wake): Likewise.
8999         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
9000         (do_futex_wait): Use futex wrappers with error checking.
9001         (__new_sem_wait_slow): Update EINTR handling.
9002         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
9004 2015-07-09  Martin Sebor  <msebor@redhat.com>
9006         [BZ #18435]
9007         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
9008         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
9009         * nptl/Makefile (test-xfail-tst-once5): Define.
9011 2015-07-09  Roland McGrath  <roland@hack.frob.com>
9013         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
9014         * elf/dl-minimal.c: For readability, reorder some definitions and
9015         introduce more page breaks.  Include <stdio.h>.
9016         (__libc_fatal): New function.
9018         * include/unistd.h: Add rtld_hidden_proto for _exit.
9019         * posix/_exit.c: Add rtld_hidden_def.
9020         * sysdeps/mach/hurd/_exit.c: Likewise.
9021         * sysdeps/nacl/_exit.c: Likewise.
9022         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
9023         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
9025 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
9027         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
9028         bndmov encoding with zero displacement.
9030 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
9031             H.J. Lu  <hongjiu.lu@intel.com>
9033         [BZ #18134]
9034         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
9035         * sysdeps/i386/configure: Regenerated.
9036         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
9037         (_dl_runtime_profile): Save and restore Intel MPX return bound
9038         registers when calling _dl_call_pltexit.  Add
9039         PRESERVE_BND_REGS_PREFIX before return.
9040         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
9041         (LRV_BND1_OFFSET): Likewise.
9042         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
9043         lrv_bnd1.
9044         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
9045         typo in bndmov encoding.
9046         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
9047         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
9048         branch instructions to preserve bounds.
9050 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
9053         [GLIBC_2.22]: Add fmemopen.
9055 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9057         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
9058         returns an error, also try to use host port from __mach_host_self for
9059         the __vm_wire call.
9060         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
9062 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9064         [BZ #18400]
9065         [BZ #18648]
9066         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
9067         Fix pr_uid and pr_gid members.
9068         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
9069         definition to elf_greg_t.
9071 2015-07-08  Roland McGrath  <roland@hack.frob.com>
9073         [BZ #18383]
9074         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
9075         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
9076         * sysdeps/arm/configure: Regenerated.
9077         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
9078         (test-xfail-tst-tlsalign-static): Variable removed.
9080         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
9081         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
9082         rather than explicit 'ln -s'.
9084         * resolv/rpc/netdb.h: New file.
9085         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
9087 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9089         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
9090         length buffers.
9091         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
9092         test-skeleton.c.
9094         [BZ #6544]
9095         [BZ #11216]
9096         [BZ #12836]
9097         [BZ #13151]
9098         [BZ #13152]
9099         [BZ #14292]
9100         * include/stdio.h (fmemopen): Remove hidden prototype.
9101         (__fmemopen): Add new hidden prototype.
9102         * libio/Makefile: Add oldfmemopen object.
9103         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
9104         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
9105         compliance.
9106         * libio/oldfmemopen.c: New file: old fmemopen implementation for
9107         symbol compatibility.
9108         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
9109         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
9110         fmemopen.
9111         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
9112         on append and read mode.
9113         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
9114         fmemopen.
9115         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
9116         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
9117         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
9118         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
9119         Likewise.
9120         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
9121         [GLIBC_2.22]: Likewise.
9122         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
9123         Likewise.
9124         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
9125         Likewise.
9126         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
9127         [GLIBC_2.22]: Likewise.
9128         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
9129         [GLIBC_2.22]: Likewise.
9130         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
9131         [GLIBC_2.22]: Likewise.
9132         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
9133         [GLIBC_2.22]: Likewise.
9134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
9135         [GLIBC_2.22]: Likewise.
9136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
9137         [GLIBC_2.22]: Likewise.
9138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
9139         [GLIBC_2.22]: Likewise.
9140         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
9141         Likewise.
9142         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
9143         Likewise.
9144         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
9145         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
9146         [GLIBC_2.22]: Likewise.
9147         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
9148         [GLIBC_2.22]: Likewise.
9149         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
9150         [GLIBC_2.22]: Likewise.
9151         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
9152         [GLIBC_2.22]: Likewise.
9153         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
9154         Likewise.
9155         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
9156         Likewise.
9157         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
9158         Likewise.
9159         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
9160         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
9162 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
9164         [BZ #18643]
9165         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
9166         IPV6_PATHMTU, and IPV6_DONTFRAG.
9168 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
9170         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
9171         and _IO_UNBUFFERED.
9172         * libio/oldfileops.c: Likewise.
9173         * libio/wfileops.c: Likewise.
9175 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
9177         * nscd/selinux.c: Delete selinux/flask.h include.
9179 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
9181         [BZ #18641]
9182         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
9183         (putpwent): Likewise.
9184         (getpwnam): Likewise.
9185         (getpwent_r): Likewise.
9186         (getpwuid_r): Likewise.
9187         (getpwnam_r): Likewise.
9188         (fgetpwent_r): Likewise.
9190 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
9192         [BZ #18557]
9193         * inet/rcmd.c (__validuser2_sa): Check user first to
9194         short-circuit host check.
9196 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
9197             Mikhail Ilin  <m.ilin@samsung.com>
9199         [BZ #17833]
9200         * elf/Makefile (tests): Add tst-nodelete.
9201         (modules-names): Add tst-nodelete-uniquemod.
9202         (tst-nodelete-uniquemod.so-no-z-defs): New.
9203         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
9204         (tst-nodelete-zmod.so-no-z-defs): Likewise.
9205         ($(objpfx)tst-nodelete): Likewise.
9206         ($(objpfx)tst-nodelete.out): Likewise.
9207         (LDFLAGS-tst-nodelete): Likewise.
9208         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
9209         * elf/dl-close.c (_dl_close_worker): Add a parameter to
9210         implement forced object deletion.
9211         (_dl_close): Pass false to _dl_close_worker.
9212         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
9213         * elf/tst-nodelete.cc: New file.
9214         * elf/tst-nodeletelib.cc: Likewise.
9215         * elf/tst-znodeletelib.cc: Likewise.
9216         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
9218 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9220         [BZ #18508]
9221         * stdlib/Makefile ($(objpfx)tst-makecontext3):
9222         Depend on $(libdl).
9223         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
9224         is not called infinitely times.
9225         (backtrace_helper): New function.
9226         (trace_arg): New struct.
9227         (st1): Enlarge stack size.
9228         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
9229         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
9230         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
9231         Likewise.
9233 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9235         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9237 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9239         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
9240         Include sys/types.h instead of bits/types.h.
9241         Remove inclusion of bits/wordsize.h.
9243 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
9245         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
9246         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
9247         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
9248         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
9249         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
9250         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
9252 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
9254         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
9255         link-defines.sym.
9256         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
9257         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
9258         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
9259         and LR_SIZE.
9260         * sysdeps/i386/link-defines.sym: New file.
9262 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
9264         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
9265         (modules-names): Add tst-auditmod3a tst-auditmod3b.
9266         ($(objpfx)tst-audit3): New rule.
9267         ($(objpfx)tst-audit3.out): Likewise.
9268         * sysdeps/i386/tst-audit3.c: New file.
9269         * sysdeps/i386/tst-audit3.h: Likewise.
9270         * sysdeps/i386/tst-auditmod3a.c: Likewise.
9271         * sysdeps/i386/tst-auditmod3b.c: Likewise.
9273 2015-07-07  Torvald Riegel  <triegel@redhat.com>
9275         [BZ #18633]
9276         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
9277         pointer in C code.
9278         (__strcat_c): Likewise.
9279         (__strcat_g): Likewise.
9281 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
9283         [BZ #18592]
9284         * misc/sbrk.c: Set errno to ENOMEM on overflow.
9286 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
9288         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
9289         New function.  (__ieee754_sqrtf): New function.
9290         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
9291         New function.
9292         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
9293         New function.
9295 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
9297         * sysdeps/ieee754/support.c: Remove unused file.
9299 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9301         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
9302         registers instead of d ones so the layout is kernel abi compatible.
9303         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
9304         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
9305         Likewise.
9307 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9309         * sysdeps/aarch64/libm-test-ulps: Regenerated.
9311 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
9313         [BZ #18619]
9314         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
9315         and return argument in case of subnormal argument.
9317 2015-07-01  Martin Sebor  <msebor@redhat.com>
9319         [BZ #18435]
9320         * nptl/Makefile: Add tst-once5.cc.
9321         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
9322         Remove macro redefinitions.
9323         * nptl/tst-once5.cc: New test.
9325 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
9327         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9329         * sysdeps/arm/libm-test-ulps: Regenerated.
9331         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
9332         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9334 2015-06-30  Torvald Riegel  <triegel@redhat.com>
9336         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
9337         lll_lock_wait_private and lll_futex_wake probes.
9339         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
9340         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
9341         Likewise.
9342         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
9343         atomic_spin_nop.
9344         * sysdeps/x86_64/bits/atomic.h: Likewise.
9345         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
9346         to atomic_spin_nop and move ...
9347         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
9348         ... here and ...
9349         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
9350         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
9351         atomic_spin_nop instead of BUSY_WAIT_NOP.
9352         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
9353         Likewise.
9354         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
9355         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
9356         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
9357         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
9358         instead of atomic_delay.
9360 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
9362         [BZ #18613]
9363         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
9364         X_ADJ not X when adjusting exponent.
9365         (__ieee754_gamma_r): Do intermediate computations in
9366         round-to-nearest then adjust overflowing and underflowing results
9367         as needed.
9368         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
9369         of X_ADJ not X when adjusting exponent.
9370         (__ieee754_gammaf_r): Do intermediate computations in
9371         round-to-nearest then adjust overflowing and underflowing results
9372         as needed.
9373         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
9374         log of X_ADJ not X when adjusting exponent.
9375         (__ieee754_gammal_r): Do intermediate computations in
9376         round-to-nearest then adjust overflowing and underflowing results
9377         as needed.  Use 1.0L not 1.0f as numerator of division.
9378         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
9379         log of X_ADJ not X when adjusting exponent.
9380         (__ieee754_gammal_r): Do intermediate computations in
9381         round-to-nearest then adjust overflowing and underflowing results
9382         as needed.  Use 1.0L not 1.0f as numerator of division.
9383         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
9384         of X_ADJ not X when adjusting exponent.
9385         (__ieee754_gammal_r): Do intermediate computations in
9386         round-to-nearest then adjust overflowing and underflowing results
9387         as needed.  Use 1.0L not 1.0f as numerator of division.
9388         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
9389         to auto-libm-test-in.
9390         (tgamma_test): Use ALL_RM_TEST.
9391         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
9392         tests of tgamma with spurious-overflow.
9393         * math/auto-libm-test-out: Regenerated.
9394         * math/gen-libm-have-vector-test.sh: Do not check for START.
9395         * sysdeps/i386/fpu/libm-test-ulps: Update.
9396         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9398         [BZ #18612]
9399         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
9400         arguments, just return 0.5 times the argument, with underflow
9401         forced as needed.
9402         * math/auto-libm-test-in: Add more tests of j1.
9403         * math/auto-libm-test-out: Regenerated.
9405         [BZ #16559]
9406         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
9407         (__ieee754_j1): Force underflow exception for small results.
9408         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
9409         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
9410         (__ieee754_j1f): Force underflow exception for small results.
9411         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
9412         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
9413         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9414         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
9415         (__ieee754_j1l): Force underflow exception for small results.
9416         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
9417         * math/auto-libm-test-in: Add more tests of j1 and jn.
9418         * math/auto-libm-test-out: Regenerated.
9420         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
9421         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
9422         (PF_MPLS): Likewise.
9423         (AF_IB): Likewise.
9424         (AF_MPLS): Likewise.
9425         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
9426         value and macro.
9427         (MS_RMT_MASK): Include MS_LAZYTIME.
9429 2015-06-26  Mel Gorman  <mgorman@suse.de>
9431         [BZ #18502]
9432         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
9433         already minimal.
9435 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
9437         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
9438         (DT_MIPS_NUM): Update.
9439         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
9440         DT_MIPS_RLD_MAP_REL.
9442 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
9444         [BZ #16559]
9445         [BZ #18602]
9446         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
9447         round-to-nearest internally then recompute results that
9448         underflowed to zero in the original rounding mode.
9449         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
9450         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
9451         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9452         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
9453         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
9454         * sysdeps/i386/fpu/libm-test-ulps: Update.
9455         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9457 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
9459         * NEWS: Fixed description of link with vector math library.
9461 2015-06-25  Andreas Schwab  <schwab@suse.de>
9463         [BZ #18549]
9464         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
9465         * libio/test-fmemopen.c (do_test): Add test for it.
9467 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
9469         [BZ #17841]
9470         * Makeconfig (no-pie-ldflag): New.
9471         (+link): Set to $(+link-pie) if default to PIE.
9472         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
9473         * config.make.in (build-pie-default): New.
9474         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
9475         is default.  AC_SUBST.
9476         * configure: Regenerated.
9477         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
9479 2015-06-24  Roland McGrath  <roland@hack.frob.com>
9481         * nptl/descr.h (struct pthread): Change type of field setxid_futex
9482         to 'unsigned int'.
9484         * resolv/gai_misc.h (struct waitlist): Change type of field
9485         counterp to 'volatile unsigned int *'.
9486         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
9487         FUTEXADDR and OLDVAL.
9488         * resolv/getaddrinfo_a.c (getaddrinfo_a):
9489         Give local variable TOTAL type 'volatile unsigned int'.
9490         (struct async_waitlist): Change type of field counter to 'unsigned int'.
9491         * resolv/gai_suspend.c (gai_suspend):
9492         Give local variable CNTR type 'unsigned int'.
9494         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
9495         counterp to 'volatile unsigned int *'.
9496         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
9497         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
9498         (aio_suspend): Give local variable CNTR type 'unsigned int'.
9499         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
9500         Give local variable TOTAL type 'volatile unsigned int'.
9501         (struct async_waitlist): Change type of field counter to 'unsigned int'.
9503 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
9505         [BZ #18383]
9506         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
9507         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
9508         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
9509         comment for i386/x86-64.
9510         (test-xfail-tst-tlsalign-extern-static): Removed.
9512 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
9514         * math/test-double.h: New file.
9515         * math/test-float.h: Likewise.
9516         * math/test-ldouble.h: Likewise.
9517         * math/test-math-inline.h: Likewise.
9518         * math/test-math-no-inline.h: Likewise.
9519         * math/test-math-scalar.h: Likewise.
9520         * math/test-math-vector.h: Likewise.
9521         * math/test-vec-loop.h: Remove file.  Contents moved into
9522         test-math-vector.h.
9523         * math/libm-test.inc (MATHCONST): Do not document macro.
9524         * math/test-double.c: Include test-double.h, test-math-no-inline.h
9525         and test-math-scalar.h.
9526         (FUNC): Remove macro.
9527         (FUNC_TEST): Likewise.
9528         (FLOAT): Likewise.
9529         (MATHCONST): Likewise.
9530         (PRINTF_EXPR): Likewise.
9531         (PRINTF_XEXPR): Likewise.
9532         (PRINTF_NEXPR): Likewise.
9533         (TEST_DOUBLE): Likewise.
9534         (TEST_MATHVEC): Likewise.
9535         (__NO_MATH_INLINES): Likewise.
9536         * math/test-float.c: Include test-float.h, test-math-no-inline.h
9537         and test-math-scalar.h.
9538         (FUNC): Remove macro.
9539         (FUNC_TEST): Likewise.
9540         (FLOAT): Likewise.
9541         (MATHCONST): Likewise.
9542         (PRINTF_EXPR): Likewise.
9543         (PRINTF_XEXPR): Likewise.
9544         (PRINTF_NEXPR): Likewise.
9545         (TEST_FLOAT): Likewise.
9546         (TEST_MATHVEC): Likewise.
9547         (__NO_MATH_INLINES): Likewise.
9548         * math/test-idouble.c: Include test-double.h, test-math-inline.h
9549         and test-math-scalar.h.
9550         (FUNC): Remove macro.
9551         (FUNC_TEST): Likewise.
9552         (FLOAT): Likewise.
9553         (MATHCONST): Likewise.
9554         (PRINTF_EXPR): Likewise.
9555         (PRINTF_XEXPR): Likewise.
9556         (PRINTF_NEXPR): Likewise.
9557         (TEST_DOUBLE): Likewise.
9558         (TEST_MATHVEC): Likewise.
9559         (TEST_INLINE): Likewise.
9560         (__NO_MATH_INLINES): Likewise.
9561         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
9562         test-math-scalar.h.
9563         (FUNC): Remove macro.
9564         (FUNC_TEST): Likewise.
9565         (FLOAT): Likewise.
9566         (MATHCONST): Likewise.
9567         (PRINTF_EXPR): Likewise.
9568         (PRINTF_XEXPR): Likewise.
9569         (PRINTF_NEXPR): Likewise.
9570         (TEST_FLOAT): Likewise.
9571         (TEST_MATHVEC): Likewise.
9572         (TEST_INLINE): Likewise.
9573         (__NO_MATH_INLINES): Likewise.
9574         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
9575         and test-math-scalar.h.
9576         (FUNC): Remove macro.
9577         (FUNC_TEST): Likewise.
9578         (FLOAT): Likewise.
9579         (MATHCONST): Likewise.
9580         (PRINTF_EXPR): Likewise.
9581         (PRINTF_XEXPR): Likewise.
9582         (PRINTF_NEXPR): Likewise.
9583         (TEST_LDOUBLE): Likewise.
9584         (TEST_MATHVEC): Likewise.
9585         (TEST_INLINE): Likewise.
9586         (__NO_MATH_INLINES): Likewise.
9587         * math/test-ldouble.c: Include test-ldouble.h,
9588         test-math-no-inline.h and test-math-scalar.h.
9589         (FUNC): Remove macro.
9590         (FUNC_TEST): Likewise.
9591         (FLOAT): Likewise.
9592         (MATHCONST): Likewise.
9593         (PRINTF_EXPR): Likewise.
9594         (PRINTF_XEXPR): Likewise.
9595         (PRINTF_NEXPR): Likewise.
9596         (TEST_LDOUBLE): Likewise.
9597         (TEST_MATHVEC): Likewise.
9598         (__NO_MATH_INLINES): Likewise.
9599         * math/test-double-vlen2.h: Include test-double.h,
9600         test-math-no-inline.h and test-math-vector.h.
9601         (FLOAT): Remove macro.
9602         (FUNC): Likewise.
9603         (MATHCONST): Likewise.
9604         (PRINTF_EXPR): Likewise.
9605         (PRINTF_XEXPR): Likewise.
9606         (PRINTF_NEXPR): Likewise.
9607         (TEST_DOUBLE): Likewise.
9608         (TEST_MATHVEC): Likewise.
9609         (__NO_MATH_INLINES): Likewise.
9610         (CNCT): Likewise.
9611         (CONCAT): Likewise.
9612         (WRAPPER_NAME): Likewise.
9613         (WRAPPER_DECL): Likewise.
9614         (WRAPPER_DECL_ff): Likewise.
9615         (WRAPPER_DECL_fFF): Likewise.
9616         (VECTOR_WRAPPER): Likewise.
9617         (VECTOR_WRAPPER_ff): Likewise.
9618         (VECTOR_WRAPPER_fFF): Likewise.
9619         (VEC_LEN): New macro.
9620         * math/test-double-vlen4.h: Include test-double.h,
9621         test-math-no-inline.h and test-math-vector.h.
9622         (FLOAT): Remove macro.
9623         (FUNC): Likewise.
9624         (MATHCONST): Likewise.
9625         (PRINTF_EXPR): Likewise.
9626         (PRINTF_XEXPR): Likewise.
9627         (PRINTF_NEXPR): Likewise.
9628         (TEST_DOUBLE): Likewise.
9629         (TEST_MATHVEC): Likewise.
9630         (__NO_MATH_INLINES): Likewise.
9631         (CNCT): Likewise.
9632         (CONCAT): Likewise.
9633         (WRAPPER_NAME): Likewise.
9634         (WRAPPER_DECL): Likewise.
9635         (WRAPPER_DECL_ff): Likewise.
9636         (WRAPPER_DECL_fFF): Likewise.
9637         (VECTOR_WRAPPER): Likewise.
9638         (VECTOR_WRAPPER_ff): Likewise.
9639         (VECTOR_WRAPPER_fFF): Likewise.
9640         (VEC_LEN): New macro.
9641         * math/test-double-vlen8.h: Include test-double.h,
9642         test-math-no-inline.h and test-math-vector.h.
9643         (FLOAT): Remove macro.
9644         (FUNC): Likewise.
9645         (MATHCONST): Likewise.
9646         (PRINTF_EXPR): Likewise.
9647         (PRINTF_XEXPR): Likewise.
9648         (PRINTF_NEXPR): Likewise.
9649         (TEST_DOUBLE): Likewise.
9650         (TEST_MATHVEC): Likewise.
9651         (__NO_MATH_INLINES): Likewise.
9652         (CNCT): Likewise.
9653         (CONCAT): Likewise.
9654         (WRAPPER_NAME): Likewise.
9655         (WRAPPER_DECL): Likewise.
9656         (WRAPPER_DECL_ff): Likewise.
9657         (WRAPPER_DECL_fFF): Likewise.
9658         (VECTOR_WRAPPER): Likewise.
9659         (VECTOR_WRAPPER_ff): Likewise.
9660         (VECTOR_WRAPPER_fFF): Likewise.
9661         (VEC_LEN): New macro.
9662         * math/test-float-vlen4.h: Include test-float.h,
9663         test-math-no-inline.h and test-math-vector.h.
9664         (FLOAT): Remove macro.
9665         (FUNC): Likewise.
9666         (MATHCONST): Likewise.
9667         (PRINTF_EXPR): Likewise.
9668         (PRINTF_XEXPR): Likewise.
9669         (PRINTF_NEXPR): Likewise.
9670         (TEST_FLOAT): Likewise.
9671         (TEST_MATHVEC): Likewise.
9672         (__NO_MATH_INLINES): Likewise.
9673         (CNCT): Likewise.
9674         (CONCAT): Likewise.
9675         (WRAPPER_NAME): Likewise.
9676         (WRAPPER_DECL): Likewise.
9677         (WRAPPER_DECL_ff): Likewise.
9678         (WRAPPER_DECL_fFF): Likewise.
9679         (VECTOR_WRAPPER): Likewise.
9680         (VECTOR_WRAPPER_ff): Likewise.
9681         (VECTOR_WRAPPER_fFF): Likewise.
9682         (VEC_LEN): New macro.
9683         * math/test-float-vlen8.h: Include test-float.h,
9684         test-math-no-inline.h and test-math-vector.h.
9685         (FLOAT): Remove macro.
9686         (FUNC): Likewise.
9687         (MATHCONST): Likewise.
9688         (PRINTF_EXPR): Likewise.
9689         (PRINTF_XEXPR): Likewise.
9690         (PRINTF_NEXPR): Likewise.
9691         (TEST_FLOAT): Likewise.
9692         (TEST_MATHVEC): Likewise.
9693         (__NO_MATH_INLINES): Likewise.
9694         (CNCT): Likewise.
9695         (CONCAT): Likewise.
9696         (WRAPPER_NAME): Likewise.
9697         (WRAPPER_DECL): Likewise.
9698         (WRAPPER_DECL_ff): Likewise.
9699         (WRAPPER_DECL_fFF): Likewise.
9700         (VECTOR_WRAPPER): Likewise.
9701         (VECTOR_WRAPPER_ff): Likewise.
9702         (VECTOR_WRAPPER_fFF): Likewise.
9703         (VEC_LEN): New macro.
9704         * math/test-float-vlen16.h: Include test-float.h,
9705         test-math-no-inline.h and test-math-vector.h.
9706         (FLOAT): Remove macro.
9707         (FUNC): Likewise.
9708         (MATHCONST): Likewise.
9709         (PRINTF_EXPR): Likewise.
9710         (PRINTF_XEXPR): Likewise.
9711         (PRINTF_NEXPR): Likewise.
9712         (TEST_FLOAT): Likewise.
9713         (TEST_MATHVEC): Likewise.
9714         (__NO_MATH_INLINES): Likewise.
9715         (CNCT): Likewise.
9716         (CONCAT): Likewise.
9717         (WRAPPER_NAME): Likewise.
9718         (WRAPPER_DECL): Likewise.
9719         (WRAPPER_DECL_ff): Likewise.
9720         (WRAPPER_DECL_fFF): Likewise.
9721         (VECTOR_WRAPPER): Likewise.
9722         (VECTOR_WRAPPER_ff): Likewise.
9723         (VECTOR_WRAPPER_fFF): Likewise.
9724         (VEC_LEN): New macro.
9725         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
9726         test-vec-loop.h.
9727         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
9728         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
9729         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
9730         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
9731         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
9732         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
9733         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
9735 2015-06-24  Roland McGrath  <roland@hack.frob.com>
9737         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
9738         (__getlogin_r): ... this.
9740 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
9742         [BZ #18594]
9743         * math/s_ccosh.c (__ccosh): Compare with least normal value
9744         instead of comparing class with FP_SUBNORMAL.
9745         * math/s_ccoshf.c (__ccoshf): Likewise.
9746         * math/s_ccoshl.c (__ccoshl): Likewise.
9747         * math/s_cexp.c (__cexp): Likewise.
9748         * math/s_cexpf.c (__cexpf): Likewise.
9749         * math/s_cexpl.c (__cexpl): Likewise.
9750         * math/s_csin.c (__csin): Likewise.
9751         * math/s_csinf.c (__csinf): Likewise.
9752         * math/s_csinh.c (__csinh): Likewise.
9753         * math/s_csinhf.c (__csinhf): Likewise.
9754         * math/s_csinhl.c (__csinhl): Likewise.
9755         * math/s_csinl.c (__csinl): Likewise.
9756         * math/s_ctan.c (__ctan): Likewise.
9757         * math/s_ctanf.c (__ctanf): Likewise.
9758         * math/s_ctanh.c (__ctanh): Likewise.
9759         * math/s_ctanhf.c (__ctanhf): Likewise.
9760         * math/s_ctanhl.c (__ctanhl): Likewise.
9761         * math/s_ctanl.c (__ctanl): Likewise.
9762         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
9763         csin, csinh, ctan and ctanh.
9764         * math/auto-libm-test-out: Regenerated.
9765         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
9766         * sysdeps/i386/fpu/libm-test-ulps: Update.
9767         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9769 2015-06-24  Roland McGrath  <roland@hack.frob.com>
9771         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
9772         return value is wrong, print the expected value too.
9774 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
9776         [BZ #18585]
9777         * elf/readlib.c (is_gdb_python_file): New.
9778         (process_file): Don't issue errors on filenames with -gdb.py
9779         suffix.
9781 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
9783         * math/auto-libm-test-in: Add more tests of csin and csinh.
9784         * math/auto-libm-test-out: Regenerated.
9785         * math/libm-test.inc (csin_test_data): Remove tests moved to
9786         auto-libm-test-in.
9787         (csinh_test_data): Likewise.
9789         [BZ #18593]
9790         * math/s_csin.c (__csin): Negate before rather than after possibly
9791         overflowing multiplication.
9792         * math/s_csinf.c (__csinf): Likewise.
9793         * math/s_csinh.c (__csinh): Likewise.
9794         * math/s_csinhf.c (__csinhf): Likewise.
9795         * math/s_csinhl.c (__csinhl): Likewise.
9796         * math/s_csinl.c (__csinl): Likewise.
9797         * math/auto-libm-test-in: Add some tests of csin and csinh.
9798         * math/auto-libm-test-out: Regenerated.
9799         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
9800         (csinh_test_data): Likewise.
9801         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9803         [BZ #18586]
9804         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
9805         underflow exception for small results.
9807 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
9809         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
9810         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
9811         variable and included header.
9812         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
9813         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
9814         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
9815         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
9816         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
9817         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
9818         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
9819         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
9820         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
9821         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
9822         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
9823         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
9824         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
9825         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
9826         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
9827         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
9829 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
9831         [BZ #16526]
9832         [BZ #16538]
9833         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
9834         (__sin): Force underflow exception for arguments with small
9835         absolute value.
9836         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
9837         (__kernel_sinf): Force underflow exception for arguments with
9838         small absolute value.
9839         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
9840         (__kernel_sincosl): Force underflow exception for arguments with
9841         small absolute value.
9842         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
9843         (__kernel_sinl): Force underflow exception for arguments with
9844         small absolute value.
9845         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
9846         (__kernel_sincosl): Force underflow exception for arguments with
9847         small absolute value.
9848         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
9849         (__kernel_sinl): Force underflow exception for arguments with
9850         small absolute value.
9851         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
9852         (__kernel_sinl): Force underflow exception for arguments with
9853         small absolute value.
9854         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
9855         (__kernel_sinf): Force underflow exception for arguments with
9856         small absolute value.
9857         * math/auto-libm-test-in: Add more tests of sin and sincos.
9858         * math/auto-libm-test-out: Regenerated.
9860         [BZ #18245]
9861         [BZ #18583]
9862         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
9863         (__kernel_standard_l): Use feholdexcept and fesetenv around
9864         conversion to double instead of special-casing overflow and
9865         underflow.
9866         * math/libm-test.inc (fmod_test_data): Add more tests.
9867         (remainder_test_data): Likewise.
9868         (sqrt_test_data): Likewise.
9870 2015-06-23  Torvald Riegel  <triegel@redhat.com>
9872         [BZ #17403]
9873         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
9874         atomic_read_barrier, atomic_write_barrier): Define.
9875         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
9876         atomic_read_barrier, atomic_write_barrier): Define.
9878 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
9880         * math/Makefile [$(PERL) != no]
9881         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
9882         dependency on libm-test.stmp below the inclusion of Rules.
9884 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
9886         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
9887         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
9888         and included header.
9889         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
9890         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
9891         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
9892         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
9893         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
9894         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
9895         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
9896         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
9897         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
9898         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
9899         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
9900         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
9901         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
9902         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
9903         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
9904         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
9905         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
9906         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
9907         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
9909 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
9911         [BZ #18371]
9912         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
9913         intermediate but not final result might underflow.
9914         * math/s_csqrtf.c (__csqrtf): Likewise.
9915         * math/s_csqrtl.c (__csqrtl): Likewise.
9916         * math/auto-libm-test-in: Add more tests of csqrt.
9917         * math/auto-libm-test-out: Regenerated.
9918         * sysdeps/i386/fpu/libm-test-ulps: Update.
9920         [BZ #18219]
9921         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
9922         threshold on absolute value of exponent for which scaling is used.
9923         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
9924         * math/auto-libm-test-in: Add more tests of exp2.
9925         * math/auto-libm-test-out: Regenerated.
9927 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
9929         [BZ #17977]
9930         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
9931         when initializing interface list, based on the bug analysis
9932         and the patch proposed by Eric Newton.
9933         * resolv/tst-res_hconf_reorder.c: New test.
9934         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
9935         tst-res_hconf_reorder.
9936         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
9937         and $(shared-thread-library).
9938         (tst-res_hconf_reorder-ENV): New variable.
9940         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
9941         in comment.
9943 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
9945         [BZ #16353]
9946         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
9947         (__expm1): Force underflow exception for arguments with small
9948         absolute value.
9949         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
9950         (__expm1f): Force underflow exception for arguments with small
9951         absolute value.
9952         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
9953         (__expm1): Force underflow exception for arguments with small
9954         absolute value.
9955         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
9956         (__expm1f): Force underflow exception for arguments with small
9957         absolute value.
9958         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
9959         Check for small arguments before calling __expm1.
9960         * math/auto-libm-test-in: Do not mark underflow exceptions as
9961         possibly missing for bug 16353.
9962         * math/auto-libm-test-out: Regenerated.
9964 2015-06-22  Andreas Schwab  <schwab@suse.de>
9966         [BZ #18513]
9967         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
9968         PTR queries.
9970 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
9972         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
9974         * string/strcoll_l.c: Remove unused struct element idxnow.
9976 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
9978         [BZ #18569]
9979         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
9980         underflow and return argument in case of subnormal argument.
9981         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
9982         Likewise.
9983         * math/auto-libm-test-in: Add more tests of expm1.
9984         * math/auto-libm-test-out: Regenerated.
9986         [BZ #16361]
9987         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
9988         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
9989         tiny results.
9990         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
9991         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
9992         tiny results.
9993         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
9994         mark underflow exceptions as possibly missing for bug 16361.
9995         * math/auto-libm-test-out: Regenerated.
9997 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
9999         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
10000         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
10001         Remove variable.
10002         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
10003         (test-xfail-XOPEN2K8/utmpx.h/conform).
10005         * conform/conformtest.pl ($xerrors): New variable.
10006         (note_error): New function.
10007         (compiletest): New argument $xfail.  Use not_error.
10008         (runtest): Likewise.
10009         (top level): Handle xfail- lines.  Update calls to compiletest and
10010         runtest.  Handle xfail- and optional- in headers listed with
10011         allow-header.
10012         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
10013         (O_EXEC): Likewise.
10014         (O_SEARCH): Likewise.
10015         * conform/data/stropts.h-data (ioctl): Likewise.
10016         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
10017         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
10018         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
10019         (msghdr.msg_controllen): Likewise.
10020         (cmsghdr.cmsg_len): Likewise.
10021         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
10022         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
10023         variable.
10024         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
10025         (test-xfail-XPG4/stropts.h/conform): Likewise.
10026         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
10027         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
10028         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
10029         (test-xfail-UNIX98/stropts.h/conform): Likewise.
10030         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
10031         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
10032         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
10033         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
10034         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
10035         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
10036         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
10037         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
10038         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
10039         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
10040         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
10041         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
10042         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
10043         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
10044         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
10046 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
10048         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
10049         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
10050         definitions for proper unfolding of __MATHDECL_VEC.
10052 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
10054         * benchtests/bench-strcoll.c:
10055         Include string.h.
10056         (main): Remove unused variable res.
10058 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
10060         * timezone/Makefile (%/UTC %/Universal):
10061         Generate test-result files for UTC and Universal.
10063 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
10065         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10067 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
10069         [BZ #16350]
10070         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
10071         for arguments with small absolute value.
10072         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
10073         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
10074         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
10075         (__asinh): Force underflow exception for arguments with small
10076         absolute value.
10077         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
10078         (__asinhf): Force underflow exception for arguments with small
10079         absolute value.
10080         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
10081         (__asinhl): Force underflow exception for arguments with small
10082         absolute value.
10083         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
10084         (__asinhl): Force underflow exception for arguments with small
10085         absolute value.
10086         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
10087         (__asinhl): Force underflow exception for arguments with small
10088         absolute value.
10089         * math/auto-libm-test-in: Do not mark underflow exceptions as
10090         possibly missing for bug 16350.
10091         * math/auto-libm-test-out: Regenerated.
10093         * include/bits/ipc.h: Remove file.
10094         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
10095         variable.
10096         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
10097         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
10098         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
10099         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
10100         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
10101         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
10102         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
10103         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
10104         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
10106         * math/auto-libm-test-in: Remove spurious underflow allowance for
10107         tests of cexp.
10108         * math/auto-libm-test-out: Regenerated.
10110         [BZ #18558]
10111         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
10112         unconditional definition.
10113         (MCAST_BLOCK_SOURCE): Likewise.
10114         (MCAST_UNBLOCK_SOURCE): Likewise.
10115         (MCAST_LEAVE_GROUP): Likewise.
10116         (MCAST_JOIN_SOURCE_GROUP): Likewise.
10117         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
10118         (MCAST_MSFILTER): Likewise.
10119         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
10120         Remove variable.
10121         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
10122         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
10123         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
10124         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
10125         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
10127 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
10129         * NEWS: Mention addition of x86_64 vector sincosf.
10130         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
10131         * math/test-float-vlen4.h: Likewise.
10132         * math/test-float-vlen8.h: Likewise.
10133         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
10134         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
10135         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10136         * sysdeps/x86_64/fpu/Versions: New versions added.
10137         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10138         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
10139         Added build of SSE, AVX2 and AVX512 IFUNC versions.
10140         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
10141         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
10142         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
10143         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
10144         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
10145         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
10146         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
10147         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
10148         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
10149         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
10150         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
10151         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
10152         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
10153         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
10154         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
10155         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
10156         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
10157         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
10158         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
10159         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
10160         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
10162         * NEWS: Mention addition of x86_64 vector sincos.
10163         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
10164         * math/math.h (__MATHDECL_VEC): New macro.
10165         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
10166         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
10167         declaration under condition.
10168         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
10169         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
10170         TEST_VEC_LOOP change.
10171         * math/test-double-vlen4.h: Likewise.
10172         * math/test-double-vlen8.h: Likewise.
10173         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
10174         * math/test-float-vlen4.h: Likewise.
10175         * math/test-float-vlen8.h: Likewise.
10176         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
10177         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
10178         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10179         * sysdeps/x86_64/fpu/Versions: New versions added.
10180         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10181         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
10182         Added build of SSE, AVX2 and AVX512 IFUNC versions.
10183         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
10184         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
10185         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
10186         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
10187         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
10188         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
10189         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
10190         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
10191         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
10192         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
10193         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
10194         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
10195         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
10196         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
10197         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
10198         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
10199         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
10200         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
10201         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
10202         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
10203         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
10205         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
10206         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
10207         redirections for powf.
10208         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10209         * sysdeps/x86_64/fpu/Versions: New versions added.
10210         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10211         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
10212         Added build of SSE, AVX2 and AVX512 IFUNC versions.
10213         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
10214         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
10215         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
10216         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
10217         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
10218         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
10219         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
10220         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
10221         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
10222         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
10223         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
10224         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
10225         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
10226         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
10227         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
10228         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
10229         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
10230         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
10231         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
10232         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
10233         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
10234         * math/test-float-vlen16.h: Fixed 2 argument macro.
10235         * math/test-float-vlen4.h: Likewise.
10236         * math/test-float-vlen8.h: Likewise.
10237         * NEWS: Mention addition of x86_64 vector powf.
10239 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
10241         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10242         and redefine.
10243         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10244         and redefine.
10245         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
10246         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
10247         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10249         [BZ #18553]
10250         * resource/getpriority.c (getpriority): Rename to __getpriority
10251         and define as weak alias of __getpriority.
10252         * resource/setpriority.c (setpriority): Rename to __setpriority
10253         and define as weak alias of __setpriority.
10254         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
10255         __getpriority and define as weak alias of __getpriority.
10256         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
10257         __setpriority and define as weak alias of __setpriority.
10258         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
10259         strong name.
10260         (setpriority): Use __setpriority as strong name.
10261         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
10262         __getpriority and define as weak alias of __getpriority.
10263         * include/sys/resource.h (__getpriority): Declare.  Use
10264         libc_hidden_proto.
10265         (__setpriority): Likewise.
10266         (getpriority): Don't use libc_hidden_proto.
10267         (setpriority): Likewise.
10268         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
10269         getpriority.  Call __setpriority instead of setpriority.
10270         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
10271         Remove variable.
10273         [BZ #18547]
10274         * misc/getttyent.c (getttynam): Rename to __getttynam and define
10275         as weak alias of __getttynam.  Use prototype function definition.
10276         Call __setttyent, __getttyent and __endttyent instead of
10277         setttyent, getttyent and endttyent.
10278         (getttyent): Rename to __getttyent and define as weak alias of
10279         __getttyent.  Call __setttyent instead of setttyent.  Call
10280         __fgets_unlocked instead of fgets_unlocked.
10281         (setttyent): Rename to __setttyent and define as weak alias of
10282         __setttyent.
10283         (endttyent): Rename to __endttyent and define as weak alias of
10284         __endttyent.
10285         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
10286         (__setttyent): Likewise.
10287         (__endttyent): Likewise.
10288         (getttyent): Don't use libc_hidden_proto.
10289         (setttyent): Likewise.
10290         (endttyent): Likewise.
10291         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
10292         __endttyent instead of setttyent, getttyent and endttyent.
10293         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
10294         Remove variable.
10296         [BZ #18546]
10297         * socket/recv.c (__recv): Use libc_hidden_def.
10298         * socket/socket.c (__socket): Likewise.
10299         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
10300         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
10301         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
10302         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
10303         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
10304         libc_hidden_def.
10305         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
10306         libc_hidden_weak.
10307         * include/sys/socket.h (__socket): Do not use attribute_hidden.
10308         Use libc_hidden_proto.
10309         (__recv): Likewise.
10310         * socket/Versions (libc): Export __recv and __socket at version
10311         GLIBC_PRIVATE.
10312         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
10313         instead of recv.
10314         (init_mq_netlink): Call __socket instead of socket.
10315         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
10316         Remove variable.
10318         [BZ #18545]
10319         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
10320         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
10321         hidden_weak.
10322         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
10323         define as alias of __mq_timedsend.  Use hidden_weak.
10324         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
10325         __mq_timedsend as strong name.
10326         (mq_timedreceive): Use __mq_timedreceive as strong name.
10327         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
10328         (__mq_timedreceive): Likewise.
10329         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
10330         __mq_timedreceive instead of mq_timedreceive.
10331         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
10332         instead of mq_timedsend.
10333         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
10334         Remove variable.
10336         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
10337         hidden_def and hidden_weak instead of libc_hidden_def and
10338         libc_hidden_weak.
10339         (top level): Refer to hidden_def in comment.
10340         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
10341         macro.  Use it instead of libc_hidden_def.
10342         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
10343         specify __GI_* name explicitly.
10344         (mq_timedreceive): Likewise.
10345         (mq_setattr): Likewise.
10347         [BZ #18544]
10348         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
10349         __pthread_barrier_init and define as weak alias of
10350         __pthread_barrier_init.
10351         * sysdeps/sparc/nptl/pthread_barrier_init.c
10352         (pthread_barrier_init): Likewise.
10353         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
10354         __pthread_barrier_wait and define as weak alias of
10355         __pthread_barrier_wait.
10356         * sysdeps/sparc/nptl/pthread_barrier_wait.c
10357         (pthread_barrier_wait): Likewise.
10358         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
10359         (pthread_barrier_wait): Likewise.
10360         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
10361         (pthread_barrier_wait): Likewise.
10362         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
10363         (pthread_barrier_wait): Likewise.
10364         * nptl/Versions (libpthread): Export __pthread_barrier_init and
10365         __pthread_barrier_wait at version GLIBC_PRIVATE.
10366         * include/pthread.h (__pthread_barrier_init): Declare.
10367         (__pthread_barrier_wait): Likewise.
10368         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
10369         Call __pthread_barrier_wait instead of pthread_barrier_wait.
10370         (helper_thread): Likewise.
10371         (init_mq_netlink): Call __pthread_barrier_init instead of
10372         pthread_barrier_init.
10374         [BZ #18542]
10375         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
10376         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
10377         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
10378         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
10379         vswscanf.
10380         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
10381         Remove variable.
10383         [BZ #18540]
10384         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
10385         strong alias of _IO_fflush.  Use libc_hidden_def.
10386         * libio/iofflush_u.c (fflush_unlocked): Rename to
10387         __fflush_unlocked and define as weak alias of __fflush_unlocked.
10388         Use libc_hidden_weak.
10389         * include/stdio.h (__fflush_unlocked): Declare.  Use
10390         libc_hidden_proto.
10391         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
10392         fflush_unlocked.
10393         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
10394         Remove variable.
10396         [BZ #18539]
10397         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
10398         define as weak alias of __addseverity.
10399         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
10400         Remove variable.
10401         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
10402         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
10403         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
10405         [BZ #18536]
10406         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
10407         (__tfind): Likewise.
10408         (__tdelete): Likewise.
10409         (__twalk): Likewise.
10410         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
10411         __twalk to GLIBC_PRIVATE.
10412         * include/search.h (__tsearch): Use libc_hidden_proto.
10413         (__tfind): Likewise.
10414         (__tdelete): Likewise.
10415         (__twalk): Likewise.
10416         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
10417         Call __tdelete instead of tdelete.
10418         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
10419         tfind.  Call __tsearch instead of tsearch.
10420         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
10421         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
10422         Remove variable.
10423         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
10425         [BZ #18534]
10426         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
10427         (dprintf): Define as a weak alias of __dprintf, not a strong
10428         alias.
10429         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
10430         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
10431         dprintf.
10432         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
10433         Remove variable.
10434         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
10435         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
10437         [BZ #18533]
10438         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
10439         not a strong alias.
10440         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
10441         Remove variable.
10443         [BZ #18532]
10444         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
10445         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
10446         (in6addr_loopback): Rename to __in6addr_loopback and define as
10447         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
10448         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
10449         libc_hidden_proto.
10450         (__in6addr_any): Likewise.
10451         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
10452         in6addr_any.
10453         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
10454         variable.
10455         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
10457 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
10459         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
10460         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
10461         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
10462         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
10463         redirections for pow.
10464         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10465         * sysdeps/x86_64/fpu/Versions: New versions added.
10466         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10467         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
10468         build of SSE, AVX2 and AVX512 IFUNC versions.
10469         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
10470         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
10471         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
10472         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
10473         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
10474         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
10475         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
10476         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
10477         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
10478         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
10479         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
10480         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
10481         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
10482         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
10483         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
10484         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
10485         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
10486         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
10487         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
10488         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
10489         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
10490         * NEWS: Mention addition of x86_64 vector pow.
10492         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
10493         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
10494         redirections for expf.
10495         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10496         * sysdeps/x86_64/fpu/Versions: New versions added.
10497         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10498         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
10499         build of SSE, AVX2 and AVX512 IFUNC versions.
10500         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
10501         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
10502         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
10503         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
10504         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
10505         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
10506         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
10507         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
10508         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
10509         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
10510         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
10511         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
10512         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
10513         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
10514         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
10515         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
10516         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
10517         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
10518         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
10519         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
10520         * NEWS: Mention addition of x86_64 vector expf.
10522         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
10523         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
10524         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
10525         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
10526         redirections for exp.
10527         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10528         * sysdeps/x86_64/fpu/Versions: New versions added.
10529         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10530         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
10531         build of SSE, AVX2 and AVX512 IFUNC versions.
10532         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
10533         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
10534         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
10535         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
10536         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
10537         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
10538         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
10539         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
10540         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
10541         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
10542         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
10543         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
10544         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
10545         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
10546         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
10547         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
10548         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
10549         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
10550         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
10551         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
10552         * NEWS: Mention addition of x86_64 vector exp.
10554         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
10555         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
10556         redirections for logf.
10557         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10558         * sysdeps/x86_64/fpu/Versions: New versions added.
10559         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10560         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
10561         build of SSE, AVX2 and AVX512 IFUNC versions.
10562         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
10563         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
10564         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
10565         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
10566         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
10567         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
10568         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
10569         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
10570         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
10571         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
10572         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
10573         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
10574         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
10575         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
10576         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
10577         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
10578         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
10579         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
10580         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
10581         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
10582         * NEWS: Mention addition of x86_64 vector logf.
10584         * bits/libm-simd-decl-stubs.h: Added stubs for log.
10585         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
10586         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
10587         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
10588         redirections for log.
10589         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10590         * sysdeps/x86_64/fpu/Versions: New versions added.
10591         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10592         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
10593         build of SSE, AVX2 and AVX512 IFUNC versions.
10594         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
10595         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
10596         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
10597         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
10598         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
10599         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
10600         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
10601         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
10602         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
10603         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
10604         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
10605         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
10606         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
10607         test.
10608         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
10609         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
10610         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
10611         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
10612         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
10613         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
10614         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
10615         * NEWS: Mention addition of x86_64 vector log.
10617 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10619         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
10620         cfi_adjust_cfa_offset argument.
10621         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
10622         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
10624         [BZ #18034]
10625         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
10626         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
10627         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
10628         ordering using ldar.
10629         (_dl_tlsdesc_dynamic): Likewise.
10630         (_dl_tlsdesc_return_lazy): Likewise.
10631         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
10632         relaxed atomics instead of volatile and synchronize with release store.
10633         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
10634         volatile.
10635         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
10637 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
10639         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
10640         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
10641         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10642         * sysdeps/x86_64/fpu/Versions: New versions added.
10643         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10644         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
10645         build of SSE, AVX2 and AVX512 IFUNC versions.
10646         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
10647         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
10648         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
10649         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
10650         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
10651         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
10652         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
10653         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
10654         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
10655         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
10656         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
10657         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
10658         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
10659         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
10660         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
10661         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
10662         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
10663         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
10664         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
10665         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
10666         * NEWS: Mention addition of x86_64 vector sinf.
10668 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
10670         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
10671         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
10672         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
10673         Remove variable.
10674         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
10675         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
10677 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
10679         [BZ #18530]
10680         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
10681         strong alias of _IO_fputs.  Use libc_hidden_def.
10682         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
10683         and define as weak alias of __fputs_unlocked.  Use
10684         libc_hidden_weak.
10685         * include/stdio.h (__fputs_unlocked): Declare.  Use
10686         libc_hidden_proto.
10687         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
10688         fputs_unlocked.
10690         [BZ #18529]
10691         * resolv/netdb.h [__USE_POSIX]: Change condition to
10692         [__USE_XOPEN2K].
10693         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
10694         not expect.
10695         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
10696         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
10697         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
10698         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
10699         [XPG4 || UNIX98] (AI_ALL): Likewise.
10700         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
10701         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
10702         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
10703         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
10704         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
10705         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
10706         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
10707         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
10708         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
10709         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
10710         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
10711         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
10712         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
10713         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
10714         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
10715         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
10716         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
10717         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
10718         [XPG4 || UNIX98] (gai_strerror): Likewise.
10719         [XPG4 || UNIX98] (getaddrinfo): Likewise.
10720         [XPG4 || UNIX98] (getnameinfo): Likewise.
10722         [BZ #18528]
10723         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
10724         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
10725         __USE_XOPEN2K8].
10726         (getgrent): Likewise.
10727         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
10728         expect.
10729         [XPG3 || POSIX2008] (endgrent): Likewise.
10730         [XPG3] (setgrent): Likewise.
10731         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
10732         variable.
10733         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
10735         [BZ #18527]
10736         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
10737         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
10738         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
10739         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
10740         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
10741         * include/unistd.h (__getlogin_r): Declare.  Use
10742         libc_hidden_proto.
10743         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
10744         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
10745         variable.
10746         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
10747         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
10748         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
10750 2015-06-12  Martin Sebor  <msebor@redhat.com>
10752         [BZ #18512]
10753         * Makerules (check-install-supported): New target.
10754         (install): Add check-install-supported as a dependency.
10755         * manual/install.texi (Installing the C Library): Document
10756         that overriding prefix and exec_prefix is not supported.
10757         Mention DESTDIR.
10758         * INSTALL: Regenerate from the above.
10760 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
10762         [BZ #18519]
10763         * posix/Versions (libc): Export __libc_pread at version
10764         GLIBC_PRIVATE.
10765         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
10766         instead of pread.
10767         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
10768         variable.
10770         [BZ #18522]
10771         * misc/efgcvt_r.c
10772         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
10773         (cvt_symbol): Use weak_alias instead of strong_alias.
10774         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
10775         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
10776         Remove variable.
10777         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
10778         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
10780         [BZ #18520]
10781         * inet/herrno.c (h_errno): Rename to __h_errno.
10782         (__libc_h_errno): Define as alias of __h_errno not h_errno.
10783         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
10784         to __h_errno instead of h_errno.
10785         * nptl/herrno.c (h_errno): Rename to __h_errno.
10786         (__h_errno_location): Refer to __h_errno not h_errno.
10787         * resolv/Versions (h_errno): Rename to __h_errno.
10788         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
10789         Remove variable.
10790         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
10792 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
10794         * configure.ac: More strict check for AVX512 assembler support.
10795         * configure: Regenerated.
10797         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
10798         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
10799         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
10800         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
10801         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10802         * sysdeps/x86_64/fpu/Versions: New versions added.
10803         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10804         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
10805         Added build of SSE, AVX2 and AVX512 IFUNC versions.
10806         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
10807         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
10808         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
10809         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
10810         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
10811         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
10812         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
10813         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
10814         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
10815         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
10816         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
10817         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
10818         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
10819         test.
10820         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
10821         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
10822         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
10823         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
10824         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
10825         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
10826         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
10827         * NEWS: Mention addition of x86_64 vector sin.
10829 2015-06-11  Florian Weimer  <fweimer@redhat.com>
10831         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
10832         comment.
10834 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
10836         [BZ #18479]
10837         * nptl/pt-interp.c: New file.
10838         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
10839         Add pt-interp.
10840         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
10841         $(common-objpfx)runtime-linker.h.
10843 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
10845         * Makeconfig (+interp): Remove unused variable.
10846         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
10847         only.  Depend on $(common-objpfx)runtime-linker.h instead of
10848         $(elf-objpfx)runtime-linker.h.
10849         ($(elf-objpfx)runtime-linker.h): Rename to
10850         $(common-objpfx)runtime-linker.h and move ...
10851         * Makerules [$(build-shared) = yes]: ... here.
10852         * elf/interp.c: Include <runtime-linker.h> instead of
10853         <elf/runtime-linker.h>.
10855 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10857         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
10858         (__gettimeofday_syscall): Remove vsyscall fallback.
10859         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
10860         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
10861         Add syscall fallback function.
10862         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
10863         if vDSO is not present.
10864         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
10865         fallback function.
10866         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
10867         present.
10868         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
10869         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
10871 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
10873         [BZ #18497]
10874         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
10875         of wcscmp.
10876         (wcscmp): Define as weak alias of WCSCMP.
10877         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
10878         wcscoll.
10879         (USE_HIDDEN_DEF): Define.
10880         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
10881         __wcscoll.  Don't use libc_hidden_weak.
10882         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
10883         wcscmp.
10884         * sysdeps/i386/i686/multiarch/wcscmp-c.c
10885         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
10886         __GI_wcscmp.
10887         (weak_alias): Undefine and redefine.
10888         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
10889         __wcscmp and define as weak alias of __wcscmp.
10890         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
10891         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
10892         (__wcscoll): Likewise.
10893         (wcscmp): Don't use libc_hidden_proto.
10894         (wcscoll): Likewise.
10895         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
10896         wcscoll.
10897         * posix/regexec.c (check_node_accept_bytes): Likewise.
10898         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
10899         variable.
10900         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
10901         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
10903         [BZ #18507]
10904         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
10905         __fstatvfs and define as weak alias of __fstatvfs.  Use
10906         libc_hidden_weak.
10907         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
10908         and define as weak alias of __statvfs.  Use libc_hidden_weak.
10909         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
10910         Define as alias of __fstatvfs, not fstatvfs.
10911         (fstatvfs64): Likewise.
10912         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
10913         Define as alias of __statvfs, not statvfs.
10914         (statvfs64): Likewise.
10915         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
10916         Remove variable.
10918 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10921         (HAVE_GETCPU_VSYSCALL): Define.
10922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
10923         (HAVE_GETCPU_VSYSCALL): Likewise.
10924         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
10925         * sysdeps/unix/sysv/linux/sched_getcpu.c
10926         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
10927         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
10928         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
10929         prototype.
10930         * sysdeps/unix/sysv/linux/x86_64/init-first.c
10931         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
10932         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
10933         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
10934         Define.
10935         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
10936         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
10937         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
10938         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
10940 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
10942         * sysdeps/x86_64/fpu/Makefile: New file.
10943         * sysdeps/x86_64/fpu/Versions: New file.
10944         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
10945         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
10946         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
10947         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
10948         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
10949         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
10950         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
10951         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
10952         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
10953         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
10954         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
10955         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
10956         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
10957         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
10958         Added build of SSE, AVX2 and AVX512 IFUNC versions.
10959         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
10960         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
10961         * sysdeps/x86_64/configure.ac: Options for libmvec build.
10962         * sysdeps/x86_64/configure: Regenerated.
10963         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
10964         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
10965         * manual/install.texi (Configuring and compiling): Document
10966         --disable-mathvec.
10967         * INSTALL: Regenerated.
10968         * NEWS: Mention addition of libmvec and x86_64 vector cos.
10970         * math/Makefile: Added rules for vector tests.
10971         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
10972         declaration under condition.
10973         * math/test-double-vlen2.h: New file.
10974         * math/test-double-vlen4.h: New file.
10975         * math/test-double-vlen8.h: New file.
10976         * math/test-vec-loop.h: Added initialization macro.
10977         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
10978         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
10979         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
10980         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
10981         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
10982         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
10983         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
10984         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
10985         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
10986         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
10987         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
10989         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10990         * sysdeps/x86_64/fpu/Versions: New versions added.
10991         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
10992         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
10993         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
10994         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
10995         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
10996         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
10997         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
10998         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
10999         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
11000         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
11001         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
11002         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
11003         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
11004         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
11005         Added build of SSE, AVX2 and AVX512 IFUNC versions.
11006         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
11007         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
11008         * NEWS: Mention addition of x86_64 vector cosf.
11010         * math/Makefile: Added CFLAGS for new tests.
11011         * math/test-float-vlen16.h: New file.
11012         * math/test-float-vlen4.h: New file.
11013         * math/test-float-vlen8.h: New file.
11014         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
11015         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
11016         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11017         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
11018         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
11019         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
11020         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
11021         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
11022         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
11023         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
11024         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
11026 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
11028         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
11029         * locale/programs/ld-ctype.c: Likewise.
11031 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
11033         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
11034         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
11035         bit_ZMM16_31_state): New macro.
11036         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11037         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
11039 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
11041         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
11043 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
11045         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
11047 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
11049         [BZ #18498]
11050         * libio/memstream.c (open_memstream): Rename to __open_memstream
11051         and define as weak alias of __open_memstream.
11052         * include/stdio.h (__open_memstream): Declare.  Use
11053         libc_hidden_proto.
11054         (open_memstream): Don't use libc_hidden_proto.
11055         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
11056         open_memstream.
11057         * posix/getopt.c (_getopt_internal_r): Likewise.
11058         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
11059         variable.
11060         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
11061         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
11062         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
11064         [BZ #18496]
11065         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
11066         instead of wcrtomb.
11068         [BZ #18483]
11069         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
11070         [__USE_XOPEN2K8].  Remove redundant #endif.
11071         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
11072         Remove redundant #if.
11073         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
11074         Remove variable.
11075         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
11076         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
11078         [BZ #18495]
11079         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
11080         (__iswlower): Likewise.
11081         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
11082         (__iswlower): Likewise.
11083         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
11084         instead of towlower.
11085         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
11086         instead of iswlower.  Call __towupper instead of towupper.
11087         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
11088         instead of iswalnum.
11090 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11092         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
11093         errors to stderr.
11095 2015-06-05  Florian Weimer  <fweimer@redhat.com>
11097         [BZ #15661]
11098         [BZ #17322]
11099         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
11100         Check for overflow properly.  Check for O_APPEND.  Ignore large
11101         file system block sizes.  Add comments about problems.
11102         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
11103         * manual/filesys.texi (Storage Allocation): New node.
11105 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11107         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
11108         cancellable syscalls.
11109         (SYS_ify): Add guard to no redefine it.
11110         (INLINE_SYSCALL): Likewise.
11111         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
11112         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
11113         SYSCALL_CANCEL instead.
11114         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
11115         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
11116         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
11117         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
11118         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
11119         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
11120         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
11121         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
11122         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
11123         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
11124         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
11125         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
11126         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
11127         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
11128         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
11129         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
11130         Likewise.
11131         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
11132         (__libc_pread64): Likewise.
11133         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
11134         (__libc_preadv): Likewise.
11135         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
11136         (__libc_readv64): Likewise.
11137         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
11138         (__libc_pwrite): Likewise.
11139         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
11140         (__libc_pwrite64): Likewise.
11141         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
11142         (__libc_pwritev): Likewise.
11143         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
11144         (__libc_pwritev64): Likewise.
11145         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
11146         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
11147         (sync_file_range): Likewise.
11148         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
11149         Likewise.
11150         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
11151         Likewise.
11152         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
11153         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
11154         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
11155         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
11156         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
11157         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
11158         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
11159         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
11160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
11161         Likewise.
11162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
11163         (__libc_read64): Likewise.
11164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
11165         Likewise.
11166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
11167         Likewise.
11168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
11169         Likewise.
11170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
11171         Likewise.
11172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
11173         (__libc_pread64): Likewise.
11174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
11175         Likewise.
11176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
11177         (__libc_pwrite64): Likewise.
11178         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
11179         (sync_file_range): Likewise.
11180         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
11181         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
11182         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
11183         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
11184         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
11185         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
11186         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
11187         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
11188         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
11189         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
11190         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
11191         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
11192         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
11193         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
11194         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
11195         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
11196         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
11197         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
11198         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
11199         Likewise.
11200         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
11201         Likewise.
11202         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
11203         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
11204         Likewise.
11205         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
11206         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
11207         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
11208         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
11209         Likewise.
11210         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
11211         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
11212         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
11213         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
11214         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
11216 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
11218         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
11219         Include dl-vdso.
11220         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
11221         Use VDSO routines for gettimeofday, clock_gettime if
11222         available.
11223         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
11224         Declare VDSO symbols.
11225         * sysdeps/unix/sysv/linux/arm/sysdep.h:
11226         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
11227         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
11228         * sysdeps/unix/sysv/linux/arm/Versions: Add
11229         __vdso_clock_gettime.
11231 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11233         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
11234         be an inline implementation regardless of library is built within.
11235         (open_not_cancel_2): Likewise.
11236         (__read_nocancel): Likewise.
11237         (__write_nocancel): Likewise.
11238         (openat_not_cancel): Likewise.
11239         (openat_not_cancel_3): Likewise.
11240         (openat64_not_cancel): Likewise.
11241         (openat64_not_cancel_3): Likewise.
11242         (__close_nocancel): Likewise.
11243         (pause_not_cancel): Likewise.
11244         (nanosleep_not_cancel): Likewise.
11245         (sigsuspend_not_cancel): Likewise.
11247 2015-06-04  Torvald Riegel  <triegel@redhat.com>
11249         [BZ #14958]
11250         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
11251         wake-up.
11252         (__pthread_rwlock_rdlock_slow): Likewise.
11253         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
11254         Likewise.
11255         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
11256         Likewise.
11257         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
11258         * nptl/tst-rwlock16.c: New file.
11259         * nptl/Makefile (tests): Add new test.
11261 2015-06-04  Torvald Riegel  <triegel@redhat.com>
11263         [BZ #18324]
11264         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
11265         missing wake-up of readers.
11266         * nptl/tst-rwlock15.c: New file.
11267         * nptl/Makefile (tests): Add new test.
11269 2015-06-03  Roland McGrath  <roland@hack.frob.com>
11271         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
11272         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
11273         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
11274         and __nacl_supply_interface_rtld.
11275         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
11276         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
11277         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
11278         Add __nacl_supply_interface_rtld.
11279         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
11281 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
11283         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
11284         isfinite.
11285         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11286         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
11288 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
11290         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
11291         __signbit* with standard C99 macros.
11292         * math/e_exp10l.c: Likewise.
11293         * math/e_exp2l.c: Likewise.
11294         * math/e_scalb.c: Likewise.
11295         * math/e_scalbf.c: Likewise.
11296         * math/e_scalbl.c: Likewise.
11297         * math/s_ldexp.c: Likewise.
11298         * math/s_ldexpf.c: Likewise.
11299         * math/s_ldexpl.c: Likewise.
11300         * math/w_atan2.c: Likewise.
11301         * math/w_atan2f.c: Likewise.
11302         * math/w_atan2l.c: Likewise.
11303         * math/w_cosh.c: Likewise.
11304         * math/w_coshf.c: Likewise.
11305         * math/w_coshl.c: Likewise.
11306         * math/w_exp10.c: Likewise.
11307         * math/w_exp10f.c: Likewise.
11308         * math/w_exp10l.c: Likewise.
11309         * math/w_exp2.c: Likewise.
11310         * math/w_exp2f.c: Likewise.
11311         * math/w_exp2l.c: Likewise.
11312         * math/w_fmod.c: Likewise.
11313         * math/w_fmodf.c: Likewise.
11314         * math/w_fmodl.c: Likewise.
11315         * math/w_hypot.c: Likewise.
11316         * math/w_hypotf.c: Likewise.
11317         * math/w_hypotl.c: Likewise.
11318         * math/w_jnl.c: Likewise.
11319         * math/w_lgamma.c: Likewise.
11320         * math/w_lgamma_r.c: Likewise.
11321         * math/w_lgammaf.c: Likewise.
11322         * math/w_lgammaf_r.c: Likewise.
11323         * math/w_lgammal.c: Likewise.
11324         * math/w_lgammal_r.c: Likewise.
11325         * math/w_pow.c: Likewise.
11326         * math/w_powf.c: Likewise.
11327         * math/w_powl.c: Likewise.
11328         * math/w_remainder.c: Likewise.
11329         * math/w_remainderf.c: Likewise.
11330         * math/w_remainderl.c: Likewise.
11331         * math/w_scalb.c: Likewise.
11332         * math/w_scalbf.c: Likewise.
11333         * math/w_scalbl.c: Likewise.
11334         * math/w_scalbln.c: Likewise.
11335         * math/w_scalblnf.c: Likewise.
11336         * math/w_scalblnl.c: Likewise.
11337         * math/w_sinh.c: Likewise.
11338         * math/w_sinhf.c: Likewise.
11339         * math/w_sinhl.c: Likewise.
11340         * math/w_tgamma.c: Likewise.
11341         * math/w_tgammaf.c: Likewise.
11342         * math/w_tgammal.c: Likewise.
11343         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11344         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
11345         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11346         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11347         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11348         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11349         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
11350         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11351         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11352         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11353         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11354         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
11355         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11356         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11357         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11358         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11359         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11360         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
11361         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
11362         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11363         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11364         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
11365         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11366         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11367         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
11368         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
11369         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
11370         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11371         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11372         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
11373         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
11374         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
11375         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
11376         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
11377         * stdio-common/printf_fp.c: Likewise.
11378         * stdio-common/printf_fphex.c: Likewise.
11379         * stdio-common/printf_size.c: Likewise.
11381 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
11383         [BZ #18470]
11384         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
11385         strnlen.
11386         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
11387         Remove variable.
11388         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
11389         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
11390         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
11391         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
11392         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
11393         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
11394         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
11395         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
11396         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
11397         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
11399         [BZ #18468]
11400         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
11401         weak alias of __wmemchr.  Use libc_hidden_weak.
11402         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
11403         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
11404         instead of wmemchr.
11406 2015-06-02  Roland McGrath  <roland@hack.frob.com>
11408         [BZ #18383]
11409         * elf/tst-tlsalign-extern.c: New file.
11410         * elf/tst-tlsalign-extern-static.c: New file.
11411         * elf/tst-tlsalign-vars.c: New file.
11412         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
11413         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
11414         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
11415         ($(objpfx)tst-tlsalign-extern-static): Likewise.
11416         (test-xfail-tst-tlsalign-extern-static): New variable.
11418 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
11420         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
11421         Use variable name _sc_err instead of err.
11422         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
11423         instead of ret.
11424         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
11425         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
11426         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
11427         (INLINE_SYSCALL): Likewise.
11429         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
11430         * include/string.h (__strnlen): Use libc_hidden_proto.
11431         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
11432         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
11433         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
11434         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
11435         (libc_hidden_def): Undefine and redefine.
11436         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
11437         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
11438         __GI_strnlen.
11439         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
11440         libc_hidden_def.
11441         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
11443         [BZ #18469]
11444         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
11445         weak alias of __towlower.  Use libc_hidden_weak.
11446         (towupper): Rename to __towupper and define as weak alias of
11447         __towupper.  Use libc_hidden_weak.
11448         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
11449         (__towupper): Likewise.
11450         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
11451         __towlower instead of towlower.
11453 2015-06-02  Roland McGrath  <roland@hack.frob.com>
11455         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
11456         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
11458 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11460         * sysdeps/aarch64/libm-test-ulps: Update.
11462 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11464         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
11465         Define.
11466         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
11467         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
11468         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
11469         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
11470         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
11471         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
11472         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
11474 2015-06-01  Martin Sebor  <msebor@redhat.com>
11476         [BZ #18116]
11477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
11478         (__setcontext): Use extended four-operand version of mtsf whenever
11479         possible.
11480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
11481         (__novec_swapcontext): Likewise.
11483 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
11485         * benchtests/scripts/compare_bench.py: New file.
11486         * benchtests/scripts/import_bench.py (mean): New function.
11487         (split_list): Likewise.
11488         (do_for_all_timings): Likewise.
11489         (compress_timings): Likewise.
11491         * benchtests/scripts/import_bench.py: New file.
11492         * benchtests/scripts/validate_benchout.py: Import import_bench
11493         instead of jsonschema.
11494         (validate_bench): Remove function.
11495         (main): Use import_bench.
11497 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
11499         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
11500         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
11502 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11504         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11506 2015-05-28  Roland McGrath  <roland@hack.frob.com>
11508         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
11509         set THREAD_SELF->tid to a magic value and futex-wake it.
11510         Pass its address to the thread_exit system call.
11511         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
11512         bit is clear.
11513         * sysdeps/nacl/lowlevellock.h: New file.
11514         * sysdeps/nacl/lll_timedwait_tid.c: New file.
11516         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
11517         Add TIMEOUT to current time, don't subtract it.
11519 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
11521         [BZ #2981]
11522         [BZ #18422]
11523         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
11524         ($(objpfx)tst-audit2.out): Also depend on
11525         $(objpfx)tst-auditmod9b.so.
11526         * elf/tst-audit2.c: Include <dlfcn.h>.
11527         (calloc_called): New.
11528         (calloc): Allow to be called more than once.
11529         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
11531 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
11533         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
11534         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
11536 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
11538         * stdlib/monetary.h: Fix comment.
11540 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
11542         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
11543         Avoid using variables in #defines that might cause shadowing.
11544         (INTERNAL_VSYSCALL_CALL): Likewise.
11546 2015-05-26  Roland McGrath  <roland@hack.frob.com>
11548         * sysdeps/nacl/lll_timedlock_wait.c: New file.
11550         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
11551         * nptl/lll_timedlock_wait.c: ... to this new file.
11552         * nptl/Makefile (libpthread-routines): Add it.
11553         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
11554         * nptl/lll_timedwait_tid.c: ... to this new file.
11555         * nptl/Makefile (libpthread-routines): Add it.
11556         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
11557         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
11558         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
11559         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
11560         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
11561         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
11562         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
11563         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
11564         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
11565         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
11567 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11569         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
11570         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
11571         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
11572         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
11573         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
11574         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
11575         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
11576         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
11577         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
11578         * sysdeps/unix/sysv/linux/tile/sysdep.h
11579         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
11580         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
11581         using vDSO syscall macro.
11583 2015-05-26  Andriy Rysin  <arysin@gmail.com>
11585         [BZ #17293]
11586         * uk_UA: Fix sorting order for Ukrainian locale
11588 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
11590         * stdlib/monetary.h: Fix comment.
11592 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11594         [BZ #18234]
11595         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
11596         st_mtim and st_ctim members.
11597         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
11598         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
11599         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
11600         (struct stat64): Likewise.
11601         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
11602         (struct stat64): Likewise.
11603         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
11604         (struct stat64): Likewise.
11606 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11608         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
11609         Define and include sysdep-vdso.h.
11610         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
11611         Likewise.
11612         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
11613         Likewise.
11614         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
11615         Define with VDSO_SYMBOL and use PTR_MANGLE.
11616         (__vdso_clock_gettime): Likewise.
11617         (__vdso_clock_getres): Likewise.
11618         (_libc_vdso_platform_setup): Likewise.
11619         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
11620         Likewise.
11621         (_libc_vdso_platform_setup): Likewise.
11622         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
11623         Likewise.
11624         (__vdso_clock_gettime): Likewise.
11625         (__vdso_clock_getres): Likewise.
11626         (__vdso_get_tbfreq): Likewise.
11627         (__vdso_getcpu): Likewise.
11628         (__vdso_time): Likewise.
11629         (__vdso_sigtramp_rt64): Likewise.
11630         (__vdso_signtramp32): Likewise.
11631         (__vdso_sigtramp_rt32): Likewise.
11632         (_libc_vdso_platform_setup): Likewise.
11633         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
11634         Likewise.
11635         (__vdso_clock_gettime): Likewise.
11636         (__vdso_clock_getres): Likewise.
11637         (_libc_vdso_platform_setup): Likewise.
11638         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
11639         Likewise.
11640         (__vdso_clock_gettime): Likewise.
11641         (_libc_vdso_platform_setup): Likewise.
11642         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
11643         Likewise.
11644         (__vdso_getcpu): Likewise.
11645         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
11646         Use VDSO_SYMBOL macro to define.
11647         (__vdso_clock_gettime): Likewise.
11648         (__vdso_clock_getres): Likewise.
11649         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
11650         Likewise.
11651         (__vdso_clock_gettime): Likewise.
11652         (__vdso_clock_getres): Likewise.
11653         (__vdso_get_tbfreq): Likewise.
11654         (__vdso_getcpu): Likewise.
11655         (__vdso_time): Likewise.
11656         (__vdso_sigtramp_rt64): Likewise.
11657         (__vdso_signtramp32): Likewise.
11658         (__vdso_sigtramp_rt32): Likewise.
11659         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
11660         Likewise.
11661         (__vdso_clock_gettime): Likewise.
11662         (__vdso_clock_getres): Likewise.
11663         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
11664         Likewise.
11665         (__vdso_clock_gettime): Likewise.
11666         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
11667         Likewise.
11668         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
11669         macro.
11670         (INTERNAL_VSYSCALL): Likewise.
11671         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
11672         Remove macro.
11673         (INTERNAL_VSYSCALL): Likewise.
11674         (INTERNAL_VSYSCALL_NCS): Likewise.
11675         (INTERNAL_VSYSCALL_CALL): New macro.
11676         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
11677         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
11678         Likewise.
11679         (INTERNAL_VSYSCALL): Likewise.
11680         (INTERNAL_VSYSCALL_NCS): Likewise.
11681         (INTERNAL_VSYSCALL_CALL): New macro.
11682         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
11683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11684         (INLINE_VSYSCALL): Remove macro.
11685         (INTERNAL_VSYSCALL): Remove macro.
11686         (INTERNAL_VSYSCALL_NCS): Remove macro.
11687         (INTERNAL_VSYSCALL_CALL): New macro.
11688         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
11689         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
11690         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
11691         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
11692         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
11693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
11694         (INLINE_VSYSCALL): Remove macro.
11695         (INTERNAL_VSYSCALL): Likewise.
11696         (INTERNAL_VSYSCALL_NCS): Likewise.
11697         (INTERNAL_VSYSCALL_CALL): New macro.
11698         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
11699         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
11700         PTR_DEMANGLE on vDSO pointer.
11701         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
11702         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
11703         macro.
11704         (INTERNAL_SYSCALL): Likewise.
11705         (INTERNAL_VSYSCALL_NCS): Remove macro.
11706         (INTERNAL_VSYSCALL_CALL): New macro.
11707         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
11708         Remove macro.
11709         (INTERNAL_VSYSCALL): Likewise.
11710         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
11711         sysdep-vdso.h instead of libc-vdso.h.
11712         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
11713         definition.
11714         (INLINE_VSYSCALL): Likewise.
11715         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
11716         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
11717         definition.
11718         (INLINE_VSYSCALL): Likewise.
11719         (INTERNAL_VSYSCALL): Likewise.
11720         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
11721         * sysdeps/unix/sysv/linux/timespec_get.c
11722         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
11723         (timespec_get): Use ANSI prototype.
11724         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
11725         and definition for Linux.
11727 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
11729         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
11730         * include/libc-symbols.h: libmvec_hidden_* macro series added.
11732 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
11734         [BZ #2981]
11735         [BZ #18410]
11736         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
11737         for missing DT_PLTRELSZ.
11739 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
11741         Remove obsolete aliases that broke 'locale -a'
11742         [BZ #18412]
11743         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
11744         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
11745         breaking some applications that use 'locale -a' output.
11746         Change the encoding of this file from Latin-1 to ASCII to avoid
11747         other potential problems with people grepping this file.
11749 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11751         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
11752         -fasynchronous-unwind-tables.
11753         (CFLAGS-sendto.c): Likewise.
11754         (CFLAGS-sendmsg.c): Likewise.
11755         (CFLAGS-connect.c): Likewise.
11756         (CFLAGS-recvmsg.c): Likewise.
11757         (CFLAGS-recvfrom.c): Likewise.
11758         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
11759         (SOCKETCALL): New macro: non-cancellable socketcall.
11760         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
11761         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
11762         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
11763         * sysdeps/unix/sysv/linux/accept.c: New file.
11764         * sysdeps/unix/sysv/linux/bind.c: Likewise.
11765         * sysdeps/unix/sysv/linux/connect.c: Likewise.
11766         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
11767         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
11768         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
11769         * sysdeps/unix/sysv/linux/listen.c: Likewise.
11770         * sysdeps/unix/sysv/linux/recv.c: Likewise.
11771         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
11772         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
11773         * sysdeps/unix/sysv/linux/send.c: Likewise.
11774         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
11775         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
11776         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
11777         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
11778         * sysdeps/unix/sysv/linux/socket.c: Likewise.
11779         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
11780         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
11781         prototype.
11782         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
11783         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
11784         instead of __internal_xxx function.
11785         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
11786         prototype.
11787         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
11788         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
11789         instead of __internal_xxx function.
11790         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
11791         prototype.
11792         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
11793         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
11794         instead of __internal_xxx function.
11795         * sysdeps/unix/sysv/linux/accept.S: Remove file.
11796         * sysdeps/unix/sysv/linux/bind.S: Likewise.
11797         * sysdeps/unix/sysv/linux/connect.S: Likewise.
11798         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
11799         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
11800         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
11801         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
11802         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
11803         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
11804         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
11805         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
11806         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
11807         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
11808         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
11809         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
11810         * sysdeps/unix/sysv/linux/listen.S: Likewise.
11811         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
11812         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
11813         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
11814         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
11815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
11816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
11817         * sysdeps/unix/sysv/linux/recv.S: Likewise.
11818         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
11819         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
11820         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
11821         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
11822         * sysdeps/unix/sysv/linux/send.S: Likewise.
11823         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
11824         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
11825         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
11826         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
11827         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
11828         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
11829         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
11830         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
11831         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
11832         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
11833         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
11834         socketcall is implemented in GLIBC.
11836 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
11838         * soft-fp/fmadf4.c: Include <libc-internal.h>.
11839         (__fma): Ignore uninitialized warnings around packing.
11840         * soft-fp/fmasf4.c: Include <libc-internal.h>.
11841         (__fmaf): Ignore uninitialized warnings around packing.
11842         * soft-fp/fmatf4.c: Include <libc-internal.h>.
11843         (__fmal): Ignore uninitialized warnings around packing.
11845         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
11846         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
11847         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
11848         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
11850         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
11851         switch statement into default case.
11852         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
11854         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
11855         a conditional in forcing "inexact".
11856         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
11857         Likewise.
11859 2015-05-22  Roland McGrath  <roland@hack.frob.com>
11861         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
11862         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
11863         for each INTERNAL_SYSCALL use.
11865 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
11867         [BZ #438]
11868         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
11869         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
11870         variable.
11872         [BZ #18444]
11873         * string/basename.c (basename): Rename to __basename and define as
11874         weak alias of __basename.  Use libc_hidden_weak.
11875         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
11876         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
11877         __basename instead of basename.
11878         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
11879         Remove variable.
11880         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
11882 2015-05-18  Florian Weimer  <fweimer@redhat.com>
11884         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
11885         (_IO_JUMPS_FILE_plus): New.
11886         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
11887         _IO_CAST_FIELD_ACCESS.
11888         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
11889         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
11890         * libio/freopen.c (freopen): Likewise.
11891         * libio/freopen64.c (freopen64): Likewise.
11892         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
11893         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
11894         * libio/iofwide.c (_IO_fwide): Likewise.
11895         * libio/memstream.c (open_memstream): Likewise.
11896         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
11897         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
11898         * libio/oldiopopen.c (_IO_old_popen): Likewise.
11900 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
11902         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
11903         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
11904         NADJ.
11905         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
11906         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
11907         NADJ.
11908         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
11909         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
11910         NADJ.
11912         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
11913         (p == 4) case.
11915         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
11916         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
11917         Remove variable.
11918         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
11919         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
11920         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
11922 2015-05-21  Florian Weimer  <fweimer@redhat.com>
11924         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
11925         Adjust jump table label generation macros.
11927 2015-05-21  Florian Weimer  <fweimer@redhat.com>
11929         * stdio-common/vfprintf.c (vfprintf): Move local variables
11930         args_malloced, specs, specs_malloced, and the code after
11931         do_positional to the printf_positional function.
11932         (printf_positional): New function.
11934 2015-05-21  Florian Weimer  <fweimer@redhat.com>
11936         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
11937         function.
11938         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
11939         STEP4_TABLE, process_arg): Move macro definitions
11940         out of the vfprintf function.  (Cosmetic change only.)
11942 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
11944         * benchtests/Makefile (stdio-common-bench): Define.
11945         (benchset): Add stdio-common-bench.
11946         * sprintf-inputs: New file.
11947         * sprintf-source.c: New file.
11949 2015-05-21  Andreas Schwab  <schwab@suse.de>
11951         [BZ #13028]
11952         [BZ #17053]
11953         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
11954         of struct __res_state.
11955         * resolv/res_send.c (__libc_res_nsend): Likewise.
11956         (get_nsaddr): New function.
11957         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
11958         statp directly.
11960 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
11962         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
11963         -D_POSIX_C_SOURCE=199506L.
11965         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
11967         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
11968         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
11969         Do not mention otherwise.
11970         [POSIX] (_XOPEN_VERSION): Do not expect.
11971         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
11972         [POSIX] (_POSIX2_C_BIND): Likewise.
11973         [POSIX] (_POSIX2_VERSION): Likewise.
11974         [POSIX] (_XOPEN_XPG2): Likewise.
11975         [POSIX] (_XOPEN_XPG3): Likewise.
11976         [POSIX] (_XOPEN_XPG4): Likewise.
11977         [POSIX] (_XOPEN_UNIX): Likewise.
11978         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
11979         [POSIX] (_POSIX_BARRIERS): Likewise.
11980         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
11981         [POSIX] (_POSIX_CPUTIME): Likewise.
11982         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
11983         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
11984         [POSIX] (_POSIX_SHELL): Likewise.
11985         [POSIX] (_POSIX_SPAWN): Likewise.
11986         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
11987         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
11988         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
11989         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
11990         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
11991         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
11992         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
11993         [POSIX] (_XBS5_LP64_OFF64): Likewise.
11994         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
11995         [POSIX] (_POSIX_TIMEOUTS): Likewise.
11996         [POSIX] (_POSIX2_PBS): Likewise.
11997         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
11998         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
11999         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
12000         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
12001         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
12002         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
12003         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
12004         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
12005         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
12006         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
12007         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
12008         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
12009         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
12010         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
12011         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
12012         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
12013         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
12014         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
12015         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
12016         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
12017         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
12018         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
12019         [POSIX] (_SC_2_C_BIND): Likewise.
12020         [POSIX] (_SC_2_C_VERSION): Likewise.
12021         [POSIX] (_SC_2_PBS): Likewise.
12022         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
12023         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
12024         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
12025         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
12026         [POSIX] (_SC_2_PBS_TRACK): Likewise.
12027         [POSIX] (_SC_ATEXIT_MAX): Likewise.
12028         [POSIX] (_SC_BARRIERS): Likewise.
12029         [POSIX] (_SC_BASE): Likewise.
12030         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
12031         [POSIX] (_SC_DEVICE_IO): Likewise.
12032         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
12033         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
12034         [POSIX] (_SC_FD_MGMT): Likewise.
12035         [POSIX] (_SC_FIFO): Likewise.
12036         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
12037         [POSIX] (_SC_FILE_LOCKING): Likewise.
12038         [POSIX] (_SC_FILE_SYSTEM): Likewise.
12039         [POSIX] (_SC_IOV_MAX): Likewise.
12040         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
12041         [POSIX] (_SC_NETWORKING): Likewise.
12042         [POSIX] (_SC_PAGE_SIZE): Likewise.
12043         [POSIX] (_SC_PASS_MAX): Likewise.
12044         [POSIX] (_SC_PIPE): Likewise.
12045         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
12046         [POSIX] (_SC_REGEXP): Likewise.
12047         [POSIX] (_SC_SHELL): Likewise.
12048         [POSIX] (_SC_SIGNALS): Likewise.
12049         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
12050         [POSIX] (_SC_SPIN_LOCKS): Likewise.
12051         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
12052         [POSIX] (_SC_USER_GROUPS): Likewise.
12053         [POSIX] (_SC_USER_GROUPS_R): Likewise.
12054         [POSIX] (_SC_STREAMS): Likewise.
12055         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
12056         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
12057         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
12058         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
12059         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
12060         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
12061         [POSIX] (_PC_FILESIZEBITS): Likewise.
12062         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
12063         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
12064         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
12065         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
12066         [POSIX] (uid_t): Likewise.
12067         [POSIX] (gid_t): Likewise.
12068         [POSIX] (off_t): Likewise.
12069         [POSIX] (pid_t): Likewise.
12070         [POSIX] (cuserid): Allow.
12071         (_SC_2_CHAR_TERM): Require constant.
12072         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
12073         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
12074         variable.
12076 2015-05-20  Roland McGrath  <roland@hack.frob.com>
12078         * sysdeps/nacl/pthread-pids.h: New file.
12079         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
12080         (create_thread): Use __nacl_get_tid to initialize PD->tid.
12082         * nptl/pthread-pids.h: New file.
12083         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
12084         * nptl/nptl-init.c: Include <pthread-pids.h>.
12085         (__pthread_initialize_minimal_internal):
12086         Call __pthread_initialize_pids instead of set_tid_address syscall.
12088         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
12089         * sysdeps/posix/usleep.c: ... here.
12091 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12093         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
12094         call_pselect6 object.
12095         [$(subdir) = io]: Remove call_sync_file_range object.
12096         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
12097         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
12098         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
12099         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
12101 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
12103         * math/s_cproj.c: Add include "math_private.h".
12104         * math/s_cprojf.c: Likewise.
12105         * math/s_cprojl.c: Likewise.
12107 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
12109         [BZ #18244]
12110         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
12111         high mantissa bit when testing whether P is a NaN.
12112         * math/libm-test.inc (remainder_test_data): Add more tests.
12113         (remquo_test_data): Likewise.
12115         [BZ #18049]
12116         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
12117         below -32, return the argument, with underflow if subnormal.
12118         * math/auto-libm-test-in: Add more tests of atanh.
12119         * math/auto-libm-test-out: Regenerated.
12121 2015-05-19  Roland McGrath  <roland@hack.frob.com>
12123         [BZ #18434]
12124         * nptl/tst-sem15.c: New file.
12125         * nptl/Makefile (tests): Add it.
12126         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
12127         s/<</>>/ to fix typo in EOVERFLOW check.
12128         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
12130 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
12132         * manual/strings.texi (envz_remove): Fix typo in safety
12133         annotations.
12135 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
12136             Steve Ellcey  <sellcey@imgtec.com>
12138         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
12139         in order to avoid strict alias warnings.
12140         (iruserok_af): Ditto for ra.
12142 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
12144         [BZ #17581]
12145         * malloc/hooks.c
12146         (magicbyte): Convert to a function and avoid returning 0x01.
12147         (mem2mem_check): Avoid using a length byte equal to the magic byte.
12148         (mem2chunk_check): Fix unsigned comparisons to zero.
12149         Hoist defs of sz and magic.
12151 2015-05-19  Richard Henderson  <rth@redhat.com>
12153         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
12155         * sysdeps/alpha/fpu/libm-test-ulps: Update.
12157 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
12159         [BZ #16159]
12160         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
12161         * malloc/arena.c (arena_lock): Check if arena is corrupt.
12162         (reused_arena): Find a non-corrupt arena.
12163         (heap_trim): Pass arena to unlink.
12164         * malloc/hooks.c (malloc_check_get_size): Pass arena to
12165         malloc_printerr.
12166         (top_check): Likewise.
12167         (free_check): Likewise.
12168         (realloc_check): Likewise.
12169         * malloc/malloc.c (malloc_printerr): Add arena argument.
12170         (unlink): Likewise.
12171         (munmap_chunk): Adjust.
12172         (ARENA_CORRUPTION_BIT): New macro.
12173         (arena_is_corrupt): Likewise.
12174         (set_arena_corrupt): Likewise.
12175         (sysmalloc): Use mmap if there are no usable arenas.
12176         (_int_malloc): Likewise.
12177         (__libc_malloc): Don't fail if arena_get returns NULL.
12178         (_mid_memalign): Likewise.
12179         (__libc_calloc): Likewise.
12180         (__libc_realloc): Adjust for additional argument to
12181         malloc_printerr.
12182         (_int_free): Likewise.
12183         (malloc_consolidate): Likewise.
12184         (_int_realloc): Likewise.
12185         (_int_memalign): Don't touch corrupt arenas.
12186         * malloc/tst-malloc-backtrace.c: New test case.
12188         * Makefile (summarize-tests): Fix return value on success.
12190         * manual/string.texi (Envz Functions): Add envz_remove.
12192 2015-05-18  Roland McGrath  <roland@hack.frob.com>
12194         * sysdeps/posix/opendir.c: Include <stdbool.h>.
12195         (invalid_name): New function, broken out of ...
12196         (__opendirat): ... here.  Call it.
12197         (need_isdir_precheck): New function, broken out of ...
12198         (__opendirat): ... here.  Call it.
12199         Use __fxstatat64, not __xstatat64.
12200         (opendir_oflags): New function, broken out of ...
12201         (__opendirat): ... here.  Call it.
12202         (opendir_tail): New function, broken out of ...
12203         (__opendirat): ... here.  Call it.
12204         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
12205         opendir_tail, rather than punting to __opendirat.
12206         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
12208 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
12210         * .gitignore: Ignore generated *.pyc.
12212 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
12214         * include/stdio.h: Define __need_wint_t.
12215         * test-skeleton.c: Avoid `for' loop initial declaration.
12216         * nptl/tst-initializers1.c: Use test-skeleton.c.
12218 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12220         [BZ #18418]
12221         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
12223 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
12225         [BZ #16352]
12226         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
12227         (__ieee754_atanh): Force underflow exception for results with
12228         small absolute value.
12229         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
12230         (__ieee754_atanhf): Force underflow exception for results with
12231         small absolute value.
12232         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
12233         (__ieee754_atanh): Force underflow exception for results with
12234         small absolute value.
12235         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
12236         (__ieee754_atanhf): Force underflow exception for results with
12237         small absolute value.
12238         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
12239         (__ieee754_atanhl): Force underflow exception for results with
12240         small absolute value.
12241         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
12242         (__ieee754_atanhl): Force underflow exception for results with
12243         small absolute value.
12244         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
12245         (__ieee754_atanhl): Force underflow exception for results with
12246         small absolute value.
12247         * math/auto-libm-test-in: Do not allow missing underflow
12248         exceptions from atanh.
12249         * math/auto-libm-test-out: Regenerated.
12251         [BZ #18221]
12252         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
12253         2**-28 as threshold for returning x or +/- 1/x.
12254         * math/auto-libm-test-in: Add more tests of tan.
12255         * math/auto-libm-test-out: Regenerated.
12257         [BZ #18220]
12258         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
12259         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
12260         * math/auto-libm-test-in: Add another test of lgamma.
12261         * math/auto-libm-test-out: Regenerated.
12263 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
12265         * stdio-common/printf_fp.c (___printf_fp): Use abs.
12266         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
12267         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
12268         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
12269         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
12270         (ADD2A): Use fabs.  (SUB2A): Use fabs.
12271         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
12272         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
12273         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
12274         (log1): Use fabs.  (my_log2): Use fabs.
12275         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
12276         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
12277         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
12278         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
12279         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
12280         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
12281         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
12282         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
12283         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
12284         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
12285         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
12287 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
12289         [BZ #18217]
12290         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
12291         as threshold for returning 1 - x.
12292         * math/auto-libm-test-in: Add more tests of erfc.
12293         * math/auto-libm-test-out: Regenerated.
12295 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
12297         [BZ #18196]
12298         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
12299         threshold for large arguments.
12300         * math/auto-libm-test-in: Add another test of atan.
12301         * math/auto-libm-test-out: Regenerated.
12303         [BZ #16339]
12304         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
12305         (__log1p): Force underflow exception for results with small
12306         absolute value.
12307         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
12308         (__log1pf): Force underflow exception for results with small
12309         absolute value.
12310         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
12311         (__log1p): Force underflow exception for results with small
12312         absolute value.
12313         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
12314         (__log1pf): Force underflow exception for results with small
12315         absolute value.
12316         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
12317         (__log1pl): Force underflow exception for results with small
12318         absolute value.
12319         * math/auto-libm-test-in: Do not allow missing underflow
12320         exceptions from log1p.
12321         * math/auto-libm-test-out: Regenerated.
12323 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
12324             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12326         [BZ #16704]
12327         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
12329 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
12331         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
12332         (libmvec): New variable.
12333         * configure.ac: Added option for mathvec build.
12334         * configure: Regenerated.
12335         * mathvec/Depend: New file.
12336         * mathvec/Makefile: New file.
12337         * shlib-versions: Added libmvec.
12338         * math/Makefile: Added rule for libm.so installation.
12340         * bits/math-vector.h: New file.
12341         * bits/libm-simd-decl-stubs.h: New header.
12342         * math/Makefile (headers): Added new header
12343         libm-simd-decl-stubs.h.
12344         * math/math.h (__MATHCALL_VEC): New macro.
12346         * math/gen-libm-have-vector-test.sh: Script generates series of macros
12347         for conditions in testing functions.
12348         * math/Makefile: Added call of libm-have-vector-test.sh.
12349         * math/libm-test.inc (HAVE_VECTOR): New macros.
12351         * math/libm-test.inc: START refactored.
12352         * math/test-double.c (TEST_MATHVEC): Add define.
12353         * math/test-float.c: Likewise.
12354         * math/test-idouble.c: Likewise.
12355         * math/test-ifloat.c: Likewise.
12356         * math/test-ildoubl.c: Likewise.
12357         * math/test-ldouble.c: Likewise.
12358         * sysdeps/generic/math-tests-arch.h
12359         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
12360         architecture check.
12362         * math/test-double.c (FUNC_TEST): New macro.
12363         * math/test-float.c: Likewise.
12364         * math/test-idouble.c: Likewise.
12365         * math/test-ifloat.c: Likewise.
12366         * math/test-ildoubl.c: Likewise.
12367         * math/test-ldouble.c: Likewise.
12368         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
12370 2015-05-13  Roland McGrath  <roland@hack.frob.com>
12372         * sysdeps/nacl/fdopendir.c: New file.
12374         * dirent/scandir-tail.c: New file.
12375         * dirent/scandir64-tail.c: New file.
12376         * dirent/Makefile (routines): Add them.
12377         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
12378         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
12379         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
12380         [!SCANDIR] (SCANDIR_TAIL): New macro.
12381         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
12382         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
12383         (SCANDIRAT): Macro removed.
12384         (SCANDIR_TAIL): New macro.
12385         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
12386         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
12387         (SCANDIRAT): Just call __opendirat and __scandir_tail.
12388         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
12389         (READDIR): Macro removed.
12390         (SCANDIR_TAIL): New macro.
12391         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
12392         (SCANDIR_TAIL): New macro.
12394         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
12395         * dirent/scandir-cancel.c: ... to this new file.
12396         * dirent/Makefile (routines): Add it.
12397         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
12398         * sysdeps/unix/sysv/linux/i386/scandir64.c
12399         (SKIP_SCANDIR_CANCEL): Macro removed.
12400         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
12402         * dirent/tst-scandir.c: New file.
12403         * dirent/tst-scandir64.c: New file.
12404         * dirent/Makefile (tests): Add them.
12406 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
12408         [BZ #18409]
12409         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
12411 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12413         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
12414         list.
12416 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
12418         * benchtests/bench-strcoll.c: New benchmark.
12419         * benchtests/Makefile: Generate locales and run benchmark.
12420         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
12421         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
12422         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
12423         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
12424         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
12425         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
12426         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
12427         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
12428         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
12429         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
12430         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
12431         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
12432         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
12433         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
12434         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
12435         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
12436         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
12437         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
12438         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
12439         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
12440         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
12441         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
12442         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
12443         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
12445 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
12447         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
12448         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
12450 2015-05-12  Roland McGrath  <roland@hack.frob.com>
12452         * posix/uname-values.h: New file.
12453         * posix/uname.c: Include that instead of <config-name.h>.
12454         * sysdeps/nacl/uname-values.h: New file.
12455         * sysdeps/arm/nacl/uname-values.h: New file.
12457 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
12459         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
12460         splitting into fields.
12462 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
12464         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
12465         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
12466         * locale/localeinfo.h: Add enum collation_encoding_type.
12467         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
12468         * programs/ld-collate.c (collate_output): Add encoding type info.
12469         * string/strcoll_l.c (STRDIFF): New function.
12470         * (STRCOLL): Use STRDIFF to skip over equal prefix.
12471         * wcsmbs/wcscoll_l.c: Define STRDIFF.
12473 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
12475         [BZ #18397]
12476         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
12477         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
12478         <fpu_control.h> instead of <math/fpu_control.c>.
12479         * sysdeps/mips/mips32/fpu/Makefile: New file.
12481 2015-05-11  Andreas Schwab  <schwab@suse.de>
12483         [BZ #18007]
12484         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
12485         nss_endgrent.
12486         (_nss_compat_endgrent): Call nss_endgrent.
12487         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
12488         nss_endpwent.
12489         (_nss_compat_endpwent): Call nss_endpwent.
12490         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
12491         needent, call nss_setspent only if non-zero.
12492         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
12493         (internal_endspent): Don't call nss_endspent.
12494         (_nss_compat_endspent): Call nss_endspent.
12495         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
12496         Remove.  All uses removed.
12497         (internal_setent): Remove parameter stayopen, add parameter
12498         stream.  Use it instead of global variable.
12499         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
12500         (internal_endent, internal_getent): Add parameter stream.  Use it
12501         instead of global variable.
12502         (CONCAT(_nss_files_end,ENTNAME))
12503         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
12504         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
12505         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
12506         uses removed.
12507         (internal_setent, internal_endent): Add parameter stream.  Use it
12508         instead of global variable.
12509         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
12510         stream.
12511         (get_next_alias): Add parameter stream.
12512         (_nss_files_getaliasent_r): Pass global stream.
12513         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
12514         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
12515         (_nss_files_gethostbyname4_r): Pass local stream to
12516         internal_setent, internal_getent and internal_endent.  Remove
12517         locking.
12519 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
12521         * tst-strfmon1.c (tests): Update expected currency symbol.
12523 2015-05-08  Roland McGrath  <roland@hack.frob.com>
12525         * sysdeps/nacl/gethostname.c: New file.
12527 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
12529         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
12530         and sinh.
12531         * math/auto-libm-test-out: Regenerated.
12532         * sysdeps/i386/fpu/libm-test-ulps: Update.
12533         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12535 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
12537         [BZ #18125]
12538         * stdlib/tst-setcontext3.c: New file.
12539         * stdlib/tst-setcontext3.sh: New file.
12540         * stdlib/Makefile (tests): Add tst-setcontext3.
12541         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
12542         to verify test program created output file.
12543         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
12544         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
12545         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
12546         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
12548 2015-05-06  Roland McGrath  <roland@hack.frob.com>
12550         [BZ #18383]
12551         * elf/tst-tlsalign.c: New file.
12552         * elf/tst-tlsalign-static.c: New file.
12553         * elf/tst-tlsalign-lib.c: New file.
12554         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
12555         (tests-static): Add tst-tlsalign-static.
12556         (modules-names): Add tst-tlsalign-lib.
12557         (test-xfail-tst-tlsalign): New variable.
12558         (test-xfail-tst-tlsalign-static): New variable.
12560         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
12561         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
12563 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
12565         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
12566         csqrt, erfc, sin and sincos.
12567         * math/auto-libm-test-out: Regenerated.
12568         * sysdeps/i386/fpu/libm-test-ulps: Update.
12569         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12571 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12573         * sysdeps/aarch64/libm-test-ulps: Update.
12575 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
12577         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
12578         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
12579         * math/auto-libm-test-out: Regenerated.
12580         * sysdeps/i386/fpu/libm-test-ulps: Update.
12581         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12583 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
12585         [BZ #18265]
12586         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
12587         (wcsncpy): Likewise.
12589 2015-05-05  Florian Weimer  <fweimer@redhat.com>
12591         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
12592         Assume __ASSUME_FALLOCATE is always true.
12593         * sysdeps/unix/sysv/linux/posix_fallocate64.c
12594         (__posix_fallocate64_l64): Likweise.
12595         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
12596         (posix_fallocate): Likewise.
12597         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
12598         (__posix_fallocate64_l64): Likewise.
12599         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
12600         [!__ASSUME_FALLOCATE]: Add comment.
12602 2015-05-05  Florian Weimer  <fweimer@redhat.com>
12604         * sysdeps/unix/sysv/linux/i386/Makefile
12605         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
12606         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
12607         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
12608         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
12609         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
12610         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
12611         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
12613 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
12615         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
12616         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
12617         tgamma.
12618         * math/auto-libm-test-out: Regenerated.
12619         * sysdeps/i386/fpu/libm-test-ulps: Update.
12620         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12622 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
12624         * math/auto-libm-test-in: Add more tests of tgamma.
12625         * math/auto-libm-test-out: Regenerated.
12626         * sysdeps/i386/fpu/libm-test-ulps: Update.
12627         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12629         * math/auto-libm-test-in: Add more tests of tanh.
12630         * math/auto-libm-test-out: Regenerated.
12631         * sysdeps/i386/fpu/libm-test-ulps: Update.
12632         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12634         * math/auto-libm-test-in: Add more tests of tan.
12635         * math/auto-libm-test-out: Regenerated.
12636         * sysdeps/i386/fpu/libm-test-ulps: Update.
12637         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12639         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
12640         * math/auto-libm-test-out: Regenerated.
12641         * sysdeps/i386/fpu/libm-test-ulps: Update.
12642         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12644         * math/auto-libm-test-in: Add another test of pow.
12645         * math/auto-libm-test-out: Regenerated.
12646         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12648         * math/auto-libm-test-in: Add more tests of lgamma.
12649         * math/auto-libm-test-out: Regenerated.
12650         * sysdeps/i386/fpu/libm-test-ulps: Update.
12651         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12653         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
12654         log1p.
12655         * math/auto-libm-test-out: Regenerated.
12656         * sysdeps/i386/fpu/libm-test-ulps: Update.
12657         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12659 2015-05-01  Mark Wielaard  <mjw@redhat.com>
12661         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
12662         Elf64_Chdr structs and ELFCOMPRESS constants.
12664 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
12666         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
12667         expm1.
12668         * math/auto-libm-test-out: Regenerated.
12669         * sysdeps/i386/fpu/libm-test-ulps: Update.
12670         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12672         * math/auto-libm-test-in: Add more tests of erf and erfc.
12673         * math/auto-libm-test-out: Regenerated.
12674         * sysdeps/i386/fpu/libm-test-ulps: Update.
12675         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12677 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12679         * config.h.in (HAVE_AARCH64_BE): Add.
12681 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
12683         * math/auto-libm-test-in: Add more tests of csqrt.
12684         * math/auto-libm-test-out: Regenerated.
12685         * sysdeps/i386/fpu/libm-test-ulps: Update.
12686         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12688         * math/auto-libm-test-in: Add more tests of cosh and sinh.
12689         * math/auto-libm-test-out: Regenerated.
12690         * sysdeps/i386/fpu/libm-test-ulps: Update.
12691         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12693         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
12695 2015-04-29  Roland McGrath  <roland@hack.frob.com>
12697         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
12698         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
12700         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
12701         (euidaccess, eaccess): Define as weak aliases.
12703         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
12704         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
12705         but __suseconds_t is often 'long int' so some sources assume that
12706         type is being used (e.g. they use %ld to print tv_usec).
12708 2015-04-29  Florian Weimer  <fweimer@redhat.com>
12710         [BZ #18007]
12711         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
12712         (CVE-2014-8121)
12713         * nss/tst-nss-getpwent.c: New file.
12714         * nss/Makefile (tests): Add new test.
12716 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
12718         [BZ #18346]
12719         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
12720         exponents less than 48 as cases where high part of mantissa needs
12721         examining to determine whether argument is integral.
12722         * math/libm-test.inc (round_test_data): Add more tests.
12724 2015-04-28  Mark Wielaard  <mjw@redhat.com>
12726         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
12728 2015-04-27  David S. Miller  <davem@davemloft.net>
12730         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
12731         __tls_get_addr.
12732         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
12734 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
12736         [BZ#18333]
12737         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
12739 2015-04-27  Florian Weimer  <fweimer@redhat.com>
12741         [BZ#18333]
12742         * time/tzset.c (parse_tzname): Return error on memory allocation
12743         failure.
12744         * test-skeleton.c (struct temp_name_list): Change type of name
12745         member to non-const.
12746         (add_temp_file): Create a copy of the file name.
12747         (delete_temp_files): Deallocate memory.
12748         (create_temp_file): Add comment.
12750 2015-04-24  Florian Weimer  <fweimer@redhat.com>
12752         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
12753         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
12755 2015-04-24  Roland McGrath  <roland@hack.frob.com>
12757         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
12758         * sysdeps/arm/configure: Regenerated.
12760 2015-04-24  Florian Weimer  <fweimer@redhat.com>
12762         [BZ #17715]
12763         * time/tzfile.c (__tzfile_read): Check for large values of
12764         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
12765         * time/tzset.c (__tzstring_len): New function, based on the old
12766         __tzstring function.
12767         (__tzstring): Call __tzstring_len.
12768         (parse_tzname): New helper function extracted from
12769         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
12770         the input string.
12771         (parse_offset): New helper function extracted from
12772         __tzset_parse_tz.  Replace switch with fallthrough with
12773         initialization before sscanf.
12774         (parse_rule): Likewise.
12775         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
12776         new-style function definition.
12777         * timezone/Makefile (tests): Add tst-tzset.
12778         (tst-tzset.out): Dependencies on time zone files.
12779         (tst-tzset-ENV): Set TZDIR.
12780         (testdata/XT%): Copy crafted time zone files.
12781         * timezone/README: Mention crafted time zone files.
12782         * timezone/testdata/XT1, timezone/testdata/XT2,
12783         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
12784         files.
12785         * timezone/tst-tzset.c: New test.
12787 2015-04-24  Florian Weimer  <fweimer@redhat.com>
12789         * Makeconfig (+gccwarn): Remove -Winline.
12791 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
12793         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
12795 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
12797         * NEWS: Mention sysconf() cache information support for s390.
12798         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
12800 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
12802         * math/k_casinh.c (__kernel_casinh): Use __copysign.
12803         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
12804         (__nearbyint): Likewise.
12805         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
12806         (copysignl): Likewise.
12808 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
12810         [BZ #18287]
12811         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
12812         based on padding.  (CVE-2015-1781)
12814 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12816         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
12817         libc-vdso.h.
12818         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
12819         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
12820         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
12821         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
12822         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
12823         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
12824         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
12825         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
12826         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
12827         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
12828         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
12829         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
12830         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
12831         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
12832         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
12833         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
12834         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
12835         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
12836         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
12837         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
12838         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
12839         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
12840         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
12842 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
12844         * stdlib/setenv.c (__add_to_environ):
12845         Dump core quickly if setenv (..., NULL, ...) is called.
12846         This time, do it the right way, and pacify GCC with a pragma.
12848 2015-04-17  Roland McGrath  <roland@hack.frob.com>
12850         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
12851         IMAP->l_prev cannot be null, and #if out the code for the contrary
12852         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
12853         believe that NS (&_dl_ns[NSID]) could point outside the array.
12855         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
12856         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
12857         before using NSID as an index.
12859 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
12861         [BZ #17825]
12862         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
12863         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
12864         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
12866 2015-04-17  Roland McGrath  <roland@hack.frob.com>
12868         Add preliminary port to Google Native Client on ARM.
12869         * abi-tags (.*-.*-nacl.*): New entry.
12870         * sysdeps/arm/nacl: New directory.
12871         * sysdeps/nacl: New directory.
12873 2015-04-16  David S. Miller  <davem@davemloft.net>
12875         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
12876         lowlevellock-futex.h
12878 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
12880         * sysdeps/tile/configure.ac: New file.
12881         * sysdeps/tile/configure: Regenerated.
12883 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12885         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
12886         conditionals for weak_alias and libc_hidden_weak.
12887         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
12888         libc_hidden_weak and weak_alias.
12889         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
12890         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
12891         and weak_alias for static one.
12893 2015-04-15  David S. Miller  <davem@davemloft.net>
12895         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
12897 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
12899         [BZ #18206]
12900         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
12901           Use signed comparision instead of substraction to avoid
12902           overflow bug.
12903         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
12904           Take the sign of ret.
12905         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
12906           Do not expect precise return values. Only the sign matters.
12907         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
12908         * wcsmbs/test-wcsncmp.c: New File.
12909         * string/test-strncmp.c: Add wcsncmp support.
12911 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
12913         [BZ #6792]
12914         * math/w_log1p.c: New file.
12915         * math/w_log1pf.c: Likewise.
12916         * math/w_log1pl.c: Likewise.
12917         * math/Makefile (libm-calls): Add w_log1p.
12918         * math/s_log1pl.c (log1pl): Remove weak_alias.
12919         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
12920         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
12921         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
12922         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
12923         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
12924         [NO_LONG_DOUBLE] (log1pl): Likewise.
12925         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
12926         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
12927         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
12928         (log1p): Remove long_double_symbol.
12929         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
12930         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
12931         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
12932         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
12933         remove weak_alias for corresponding log1p function.
12934         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
12935         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
12936         * sysdeps/ia64/fpu/w_log1p.c: New file.
12937         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
12938         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
12939         * math/libm-test.inc (log1p_test_data): Add errno expectations.
12941 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
12943         [BZ #18247]
12944         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
12945         decimal exponent by 1.
12946         * stdlib/tst-strtod-round-data: Add more tests.
12947         * stdlib/tst-strtod-round.c (tests): Regenerated.
12949 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
12951         * math/auto-libm-test-in: Add more tests of clog and clog10.
12952         * math/auto-libm-test-out: Regenerated.
12953         * sysdeps/i386/fpu/libm-test-ulps: Update.
12954         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12956 2015-04-09  Roland McGrath  <roland@hack.frob.com>
12958         * Makeconfig (module-cppflags): Exclude all .v.i files.
12959         (skip-module-cppflags): Variable removed.
12961         * configure.ac (libc_config_ok): Initialize before reading
12962         preconfigure scripts, not after.
12963         * configure: Regenerated.
12965         * test-skeleton.c (TIMEOUT): Move #define to top level.
12966         (main): Grok environment variable TEST_DIRECT.  If set, print
12967         test expectation details into that file and then behave as if
12968         given --direct.
12970 2015-04-09  Florian Weimer  <fweimer@redhat.com>
12972         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
12973         warning on 32-bit.
12975 2015-04-08  David S. Miller  <davem@davemloft.net>
12977         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12979 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
12981         * math/auto-libm-test-in: Add more tests of atanh.
12982         * math/auto-libm-test-out: Regenerated.
12983         * sysdeps/i386/fpu/libm-test-ulps: Update.
12984         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12986         * math/auto-libm-test-in: Add more tests of atan.
12987         * math/auto-libm-test-out: Regenerated.
12988         * sysdeps/i386/fpu/libm-test-ulps: Update.
12989         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12991 2015-04-08  Florian Weimer  <fweimer@redhat.com>
12993         * elf/pldd.c (main): Rewrite to use struct
12994         scratch_buffer instead of extend_alloca.
12995         * elf/pldd-xx.c (find_maps): Likewise.
12996         * grp/initgroups.c: Include <scratch_buffer.h> instead of
12997         <alloca.h>.
12998         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
12999         scratch_buffer instead of extend_alloca.
13000         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
13001         grp/compat-initgroups.c.
13002         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
13003         Rewrite to use struct scratch_buffer instead of extend_alloca.
13004         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
13005         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
13007 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
13009         * math/auto-libm-test-in: Add more tests of cbrt.
13010         * math/auto-libm-test-out: Regenerated.
13011         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13013         * math/auto-libm-test-in: Add more tests of cabs.
13014         * math/auto-libm-test-out: Regenerated.
13015         * sysdeps/i386/fpu/libm-test-ulps: Update.
13016         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13018         [BZ #18210]
13019         [BZ #18211]
13020         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
13021         (__ieee754_atan2): Set FE_TONEAREST mode for internal
13022         computations.
13023         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
13024         clog10.
13025         * math/auto-libm-test-out: Regenerated.
13026         * sysdeps/i386/fpu/libm-test-ulps: Update.
13027         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13029         [BZ #18197]
13030         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
13031         (atan): Set FE_TONEAREST mode for internal computations.
13032         * math/auto-libm-test-in: Add more tests of atan.
13033         * math/auto-libm-test-out: Regenerated.
13035 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
13037         [BZ #17930]
13038         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
13040 2015-04-07  Florian Weimer  <fweimer@redhat.com>
13042         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
13044 2015-04-07  Florian Weimer  <fweimer@redhat.com>
13046         * include/scratch_buffer.h: New file.
13047         * malloc/scratch_buffer_grow.c: Likewise.
13048         * malloc/scratch_buffer_grow_preserve.c: Likewise.
13049         * malloc/scratch_buffer_set_array_size.c: Likewise.
13050         * malloc/tst-scratch_buffer.c: Likewise.
13051         * malloc/Makefile (routines): Add scratch_buffer_grow.
13052         (tests): Add test case.
13053         * malloc/Versions (GLIBC_PRIVATE): Export
13054         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
13055         __libc_scratch_buffer_set_array_size.
13057 2015-04-06  Richard Henderson  <rth@redhat.com>
13059         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
13060         * sysdeps/alpha/fpu/libm-test-ulps: Update.
13062         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
13063         unsigned int before printing.
13065 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13067         [BZ #17596]
13068         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
13069         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
13071 2015-04-02  Florian Weimer  <fweimer@redhat.com>
13073         * include/libc-internal.h (libc_max_align_t): Define.
13075 2015-04-02  Andreas Schwab  <schwab@suse.de>
13077         [BZ #16850]
13078         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
13080 2015-04-02  Mel Gorman  <mgorman@suse.de>
13082         [BZ #17195]
13083         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
13084         as well as the main arena.
13086 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
13088         [BZ #18185]
13089         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
13090         sharing L2 cache to 2 for Silvermont/Knights Landing.
13092 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
13094         [BZ #17711]
13095         * config.make.in (have-protected-data): New.
13096         * configure.ac: Check linker support for protected data symbol.
13097         * configure: Regenerated.
13098         * elf/Makefile (modules-names): Add tst-protected1moda and
13099         tst-protected1modb if $(have-protected-data) is yes.
13100         (tests): Add tst-protected1a and tst-protected1b if
13101         $(have-protected-data) is yes.
13102         ($(objpfx)tst-protected1a): New.
13103         ($(objpfx)tst-protected1b): Likewise.
13104         (tst-protected1modb.so-no-z-defs): Likewise.
13105         * elf/tst-protected1a.c: New file.
13106         * elf/tst-protected1b.c: Likewise.
13107         * elf/tst-protected1mod.h: Likewise.
13108         * elf/tst-protected1moda.c: Likewise.
13109         * elf/tst-protected1modb.c: Likewise.
13111 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
13113         [BZ #17711]
13114         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
13115         indicates it is called from do_lookup_x on relocation against
13116         protected data, skip the data definion in the executable from
13117         copy reloc.
13118         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
13119         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
13120         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
13121         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
13122         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
13123         otherwise to 0.
13124         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
13125         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
13126         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
13127         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
13128         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
13129         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
13131 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
13133         * sysdeps/nptl/pthread.h: Remove duplicate definition of
13134         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
13136 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
13138         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
13139         THREAD_SETMEM_NC.
13140         * sysdeps/x86_64/nptl/tls.h: Ditto.
13142 2015-03-27  Roland McGrath  <roland@hack.frob.com>
13144         * dlfcn/tststatic.c (main): Converted to ...
13145         (do_test): ... this.
13146         (TEST_FUNCTION): New macro.
13147         Include test-skeleton.c.
13149 2015-03-26  Alan Modra  <amodra@gmail.com>
13151         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
13152         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
13153         zero for undefined weak.
13154         (elf_machine_plt_conflict): Similarly.
13156 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
13158         * math/auto-libm-test-in: Add more tests of acosh, asinh and
13159         atanh.
13160         * math/auto-libm-test-out: Regenerated.
13161         * sysdeps/i386/fpu/libm-test-ulps: Update.
13162         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13164         * math/auto-libm-test-in: Add another test of asin.
13165         * math/auto-libm-test-out: Regenerated.
13166         * sysdeps/i386/fpu/libm-test-ulps: Update.
13167         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13169         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
13170         Remove macro.
13171         (LLL_EBX_REG): Likewise.
13172         (LLL_ENTER_KERNEL): Likewise.
13174         * math/auto-libm-test-in: Add more tests of asin.
13175         * math/auto-libm-test-out: Regenerated.
13176         * sysdeps/i386/fpu/libm-test-ulps: Update.
13177         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13179         [BZ #18138]
13180         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
13181         libc_do_syscall_args): New structure.
13182         (INTERNAL_SYSCALL_MAIN_0): New macro.
13183         (INTERNAL_SYSCALL_MAIN_1): Likewise.
13184         (INTERNAL_SYSCALL_MAIN_2): Likewise.
13185         (INTERNAL_SYSCALL_MAIN_3): Likewise.
13186         (INTERNAL_SYSCALL_MAIN_4): Likewise.
13187         (INTERNAL_SYSCALL_MAIN_5): Likewise.
13188         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
13189         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
13190         Replace conditional definitions by conditional definitions of ....
13191         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
13192         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
13193         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
13194         (libpthread-sysdep_routines): Add libc-do-syscall.
13195         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
13196         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
13197         to __NR_futex not 240.
13199 2015-03-25  Alan Modra  <amodra@gmail.com>
13201         * NEWS: Advertise TLS optimization.
13202         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
13203         (DT_PPC_NUM): Increment.
13204         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
13205         (CHECK_STATIC_TLS): Use here.
13206         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
13207         TLS descriptors.
13208         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13209         * sysdeps/powerpc/dl-tls.c: New file.
13210         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
13211         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
13212         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
13213         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
13214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
13215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
13216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
13218 2015-03-25  Alan Modra  <amodra@gmail.com>
13220         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
13221         for overlapping .opd entries" to "support...".
13222         * sysdeps/powerpc/powerpc64/configure: Regenerate
13224 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
13226         * math/auto-libm-test-in: Add more tests of acos.
13227         * math/auto-libm-test-out: Regenerated.
13228         * sysdeps/i386/fpu/libm-test-ulps: Update.
13229         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13231         * math/auto-libm-test-in: Add more tests of expm1.
13232         * math/auto-libm-test-out: Regenerated.
13233         * sysdeps/i386/fpu/libm-test-ulps: Update.
13234         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13236 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
13238         * math/auto-libm-test-in: Add more tests of cosh and sinh.
13239         * math/auto-libm-test-out: Regenerated.
13240         * sysdeps/i386/fpu/libm-test-ulps: Update.
13241         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13243         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
13244         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13246         * math/auto-libm-test-in: Add more tests of log2.
13247         * math/auto-libm-test-out: Regenerated.
13248         * sysdeps/i386/fpu/libm-test-ulps: Update.
13249         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13251 2015-03-23  Roland McGrath  <roland@hack.frob.com>
13253         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
13254         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
13255         _IO_IS_APPENDING bit in READ_WRITE instead.
13257 2015-03-23  Florian Weimer  <fweimer@redhat.com>
13259         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
13260         (__determine_cpumask_size): Replace extend_alloca with a
13261         variable-length array.  Do not treat res == 0 as an error.
13263 2015-03-23  Florian Weimer  <fweimer@redhat.com>
13265         [BZ #18100]
13266         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
13267         and integer overflow.
13268         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
13269         (main): Add integer overflow tests.
13270         * manual/pattern.texi (Calling Wordexp): Document additional use
13271         for WRDE_SYNTAX.
13273 2015-03-23  Alan Modra  <amodra@gmail.com>
13275         * config.h.in: Remove HAVE_ASM_PPC_REL16.
13276         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
13277         and false branch of conditional.
13278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
13279         Likewise.
13281 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
13283         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
13284         libc-modules.h
13285         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
13286         unused declaration of _hurd_intr_rpc_msg_in_trap.
13287         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
13288         defined instead of whether it is non-zero.
13289         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
13290         input constraint instead of both input and output constraint.  Use ecx
13291         clobber instead of %ecx.
13292         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
13293         mutex_unlock): Use a statement expression instead of an expression list.
13294         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
13295         type to vm_size_t instead of vm_address_t.
13296         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
13297         defined instead of whether it is non-zero.
13298         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
13299         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
13300         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
13301         comparisons with mapaddr.
13302         * nscd/nscd-client.h: Include <time.h>.
13303         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
13304         9th parameter to __vm_region instead of int.
13305         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
13306         * scripts/check-local-headers.sh (exclude): Add device/,
13307         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
13308         cthreads.h.
13310 2015-03-19  Roland McGrath  <roland@hack.frob.com>
13312         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
13313         to account for alignment padding.
13314         * sysdeps/arm/memmove.S: Likewise.
13316 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
13318         * sysdeps/unix/sysv/linux/generic/README: New file.
13320 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
13322         [BZ #18138]
13323         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
13324         (futex_abstimed_wait)
13325         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
13326         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
13327         of lll_futex_timed_wait.
13329 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
13331         [BZ #17542]
13332         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
13334 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
13336         [BZ #17090]
13337         [BZ #17620]
13338         [BZ #17621]
13339         [BZ #17628]
13340         * NEWS: Update.
13341         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
13342         entries with Static TLS too.  Skip entries past the end of the
13343         allocated DTV, from Alan Modra.
13344         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
13345         Static TLS DTV entry set up from...
13346         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
13347         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
13348         * nptl/allocatestack.c (init_one_static_tls): ... and here...
13349         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
13350         for Static TLS.
13351         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
13352         that the slot we find is associated with the given map before
13353         using its generation count.
13354         * nptl_db/db_info.c: Include ldsodefs.h.
13355         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
13356         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
13357         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
13358         (link_map::l_tls_offset): New struct field.
13359         (dtv_t::counter): Likewise.
13360         (rtld_global): New struct.
13361         (_rtld_global): New rtld variable.
13362         (dl_tls_dtv_slotinfo_list): New rtld global field.
13363         (dtv_slotinfo_list): New struct.
13364         (dtv_slotinfo): Likewise.
13365         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
13366         (td_lookup): Rename to...
13367         (td_mod_lookup): ... this.  Use new mod parameter instead of
13368         LIBPTHREAD_SO.
13369         * nptl_db/td_thr_tlsbase.c: Include link.h.
13370         (dtv_slotinfo_list, dtv_slotinfo): New functions.
13371         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
13372         addresses even if the DTV is out of date or missing them.
13373         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
13374         index zero-length arrays.
13375         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
13376         (td_lookup): Make it a macro implemented in terms of...
13377         (td_mod_lookup): ... this declaration.
13378         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
13379         (DB_MAIN_VARIABLE): Likewise.
13381 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
13383         [BZ #18134]
13384         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
13386 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
13388         * stdlib/setenv.c (__add_to_environ): Revert previous change.
13390 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
13392         [BZ #18128]
13393         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
13394         (atomic_add, atomic_increment_and_test)
13395         (atomic_decrement_and_test): Fix 64-bit arithmetic.
13397 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
13399         * stdlib/setenv.c (__add_to_environ):
13400         Dump core quickly if setenv (..., NULL, ...) is called.
13402 2015-03-13  Roland McGrath  <roland@hack.frob.com>
13404         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
13405         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
13406         all the necessary asm magic in one place.
13407         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
13408         using those.
13410 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
13412         [BZ #14906]
13413         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
13414         traced file mtime. Use consistent log message.
13415         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
13416         (register_traced_file): Call install_watches. Always set mtime.
13417         (invalidate_cache): Iterate over all trace files. Call install_watches.
13418         (inotify_check_files): Don't inline. Handle watching parent
13419         directories and configuration file movement in and out.
13420         (handle_inotify_events): New function.
13421         (main_loop_poll): Call handle_inotify_events.
13422         (main_loop_epoll): Likewise.
13423         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
13424         (struct traced_file): Use array of inotify fds. Add parent directory,
13425         and basename.
13426         (struct database_dyn): Remove unused file_mtime.
13427         (init_traced_file): New inline function.
13428         (define_traced_file): New macro.
13429         * nss/nss_db/db-init.c: Use define_traced_file.
13430         (_nss_db_init): Use init_traced_file.
13431         * nss/nss_files/files-init.c: Use define_traced_file.
13432         (_nss_files_init): Use init_traced_file.
13434 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
13436         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
13437         [_LIBC]: Do not include <stdlib.h>.
13438         [!_LIBC] (abort): Remove declaration.
13439         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
13440         _FP_STATIC_ASSERT instead of conditionally calling abort.
13441         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
13442         (_FP_EXTEND_CNAN): Likewise.
13443         (FP_TRUNC): Likewise.
13444         (__FP_CLZ): Likewise.
13445         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
13447 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
13449         * manual/string.texi (XPG basename): Fix prototype.
13451 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
13453         [BZ #18080]
13454         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
13455         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
13456         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
13457         (__setcontext): Likewise.
13458         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
13459         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
13460         Call rt_sigprocmask syscall one time to set new signal mask
13461         and retrieve the current signal mask instead of two calls.
13462         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
13463         (__swapcontext): Likewise.
13464         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
13465         * stdlib/tst-setcontext2.c: New file.
13467 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
13469         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13471 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
13473         [BZ #18093]
13474         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
13475         the wrong size.
13477 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
13479         [BZ #18043]
13480         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
13482 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
13484         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
13485         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
13486         Remove define.
13487         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
13488         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
13489         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
13490         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
13491         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
13492         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
13493         define.
13494         * nptl_db/td_symbol_list.c (td_lookup): Remove
13495         HAVE_ASM_GLOBAL_DOT_NAME code.
13496         * sysdeps/powerpc/powerpc64/configure.ac: Remove
13497         HAVE_ASM_GLOBAL_DOT_NAME check.
13498         * sysdeps/powerpc/powerpc64/configure: Regenerate.
13499         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
13500         (DOT_LABEL): Remove define.
13501         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
13502         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
13503         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
13504         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
13505         (__TLS_GET_ADDR): Likewise.
13506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
13507         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
13509 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
13511         [BZ #18111]
13512         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
13513         (_FPU_SETCW): Initialize cw from fpsr before storing.
13514         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
13515         (fesetexceptflag): Rewrite using fpu_control.h.
13516         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
13518 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
13520         [BZ #18110]
13521         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
13522         asms.
13523         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
13525 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
13527         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
13528         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
13529         abort.
13530         (_FP_FMA): Likewise.
13531         (_FP_DIV): Likewise.
13533 2015-03-10  Roland McGrath  <roland@hack.frob.com>
13535         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
13536         with 0 in that case.
13537         * Makefile (summarize-tests): New canned sequence, factored out of
13538         commands for targets tests and xtests.  Display summary lines that
13539         don't start with PASS: or XFAIL: rather than ones that do start with
13540         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
13541         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
13542         do start with ERROR: or FAIL:.
13543         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
13544         (except for [$(build-shared) = yes]).
13545         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
13546         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
13547         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
13548         * nptl/Makefile: Revert 2015-03-04 changes.
13549         [$(CXX) empty] (tests-unsupported): New variable.
13550         * debug/Makefile: Likewise.
13552         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
13553         gnulib file.  Replace __attribute with __attribute__ throughout.
13555 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
13557         * sysdeps/hppa/fpu/libm-test-ulps: Update.
13559 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
13561         [BZ #18104]
13562         * math/auto-libm-test-in: Add another test of pow.
13563         * math/auto-libm-test-out: Regenerated.
13565 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13567         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
13568         $(config-cflags-nofma).
13570 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
13572         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
13573         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
13574         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
13575         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
13576         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
13577         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
13578         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
13579         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
13580         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
13581         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
13582         Add comment on closing #endif.
13584 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
13586         * posix/wordexp.c (CHAR_IN_SET): New macro.
13587         (parse_param): Use it.
13589 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13591         * sysdeps/powerpc/fpu/libm-test-ulps: update.
13593 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
13595         [BZ #18043]
13596         * posix/wordexp.c (parse_param): Fix buffer overflow.
13597         * posix/wordexp-test.c (test_case): Add test case.
13599 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
13601         [BZ #18042]
13602         * posix/wordexp.c (parse_backtick): Fix off-by-one.
13603         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
13605 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
13607         [BZ #18043]
13608         * posix/wordexp-test.c (test_case): Add test for BZ #18043
13609         (do_bz18043): Delete.
13610         (at_page_end): New.
13611         (testit): Refactor to have words at the edge of unreadable page.
13613 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
13615         [BZ #16734]
13616         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
13617         Cleanup read-only streams as well.
13618         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
13620 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13622         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
13623         <bits/libc-lockP.h>
13625 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
13627         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
13628         on [__KERNEL__].
13629         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
13630         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
13631         * soft-fp/op-common.h (_FP_DECL): Likewise.
13633 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
13635         * elf/ifuncdep2.c (global): Replace
13636         __attribute__((visibility("protected"))) with
13637         asm (".protected global").
13638         * elf/ifuncmod1.c (global): Likewise.
13639         * elf/ifuncmod5.c (global): Likewise.
13641 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
13643         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
13644         <asm/sfp-machine.h> instead of <sfp-machine.h>.
13646 2015-03-06  Roland McGrath  <roland@hack.frob.com>
13648         * manual/install.texi (Configuring and compiling):
13649         Document test-wrapper-env-only.
13650         * INSTALL: Regenerated.
13652 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
13654         [BZ #18043]
13655         * posix/wordexp.c (parse_param): Fix buffer overflow.
13656         * posix/wordexp-test.c (do_bz18043): Add test case.
13658 2015-03-06  Vincent Bernat  <vincent@bernat.im>
13660         * time/tst-strptime2.c (do_test): Ensure failing tests are
13661         reported correctly.
13662         * time/tst-strptime3.c (do_test): Likewise.
13664 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
13666         Fix aio_error thread-safety.
13667         * sysdeps/pthread/aio_error.c: New file
13668         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
13669         synchronization.
13671 2015-03-06  Florian Weimer  <fweimer@redhat.com>
13673         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
13674         (group_number, vfprintf): Use it.
13675         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
13676         (JUMP, REF): Use it.
13677         (WORK_BUFFER_SIZE): New enum constant.
13678         (process_arg, vfprintf): Use it.
13680 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
13682         * manual/errno.texi (Error Messages): Complete example function
13683         by adding missing #define.
13684         (program_invocation_name): Add statement indicating GNU
13685         extension and reference which header file declares the variable.
13686         (program_invocation_short_name): Likewise.
13688 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
13690         * manual/errno.texi (Error Messages): Delete strerror ISO C89
13691         compatibility note.
13693 2015-03-05  Roland McGrath  <roland@hack.frob.com>
13695         * Makeconfig (test-wrapper-env-only): New variable.
13696         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
13697         then use that with $(test-wrapper-env-only) rather than using
13698         $(test-wrapper-env) $(run-program-env) $($*-ENV).
13700 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
13702         [BZ #18082]
13703         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
13704         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
13705         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
13706         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
13707         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
13708         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
13709         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
13710         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
13711         Likewise.
13712         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
13713         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
13714         Likewise.
13715         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
13716         Likewise.
13717         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
13718         Likewise.
13719         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
13720         Likewise.
13721         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
13722         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
13723         Likewise.
13724         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
13725         Likewise.
13726         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
13727         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
13729 2015-03-04  Roland McGrath  <roland@hack.frob.com>
13731         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
13732         (ETH_ALEN): New macro.
13733         (struct ether_addr): Use it for length of ether_addr_octet.
13735         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
13736         (setdb): Don't call __nss_configure_lookup for "rpc".
13737         (do_test): Don't call test_rpc.
13738         (output_rpcent, test_rpc): Functions moved ...
13739         * sunrpc/test-rpcent.c: ... to this new file.
13740         * sunrpc/Makefile (tests): Add it.
13742         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
13743         __xpg_sigpause.
13744         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
13745         * nptl/tst-signal6.c: Likewise.
13746         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
13747         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
13749         * configure.ac (libc_cv_cxx_link_ok): New check.
13750         Reset CXX to empty if it fails to link.
13751         * configure: Regenerated.
13752         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
13753         bug-atexit3-lib only if $(CXX) is nonempty.
13754         * nptl/Makefile (tests): Likewise for tst-cancel24.
13755         (tests, tests-static): Likewise for tst-cancel24-static.
13756         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
13757         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
13758         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
13759         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
13761 2015-03-04  Andreas Schwab  <schwab@suse.de>
13763         [BZ #17631]
13764         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
13765         for non-GCC compilers.
13766         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
13767         Likewise.
13769 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
13771         [BZ #17776]
13772         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
13773         integer before bitwise and assembly operations.
13774         (feclearexcept): Likewise.
13775         * math/test-fenvinline.c: New file.
13776         * math/Makefile: Add test-fenvinline test.
13778 2015-03-03  Alan Modra  <amodra@gmail.com>
13780         [BZ #16512]
13781         * scripts/localplt.awk: Strip off symbol version.
13782         * NEWS: Mention bug fix.
13784 2015-03-02  Roland McGrath  <roland@hack.frob.com>
13786         * sysdeps/pthread/timer_routines.c
13787         (timer_free_list, thread_free_list, thread_active_list): Make static.
13789 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
13791         [BZ #17779]
13792         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
13793         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
13794         Undefine.
13795         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13796         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
13797         Likewise.
13798         * sysdeps/unix/sysv/linux/sh/kernel-features.h
13799         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
13800         Likewise.
13802 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
13804         [BZ #18036]
13805         * posix/fnmatch_loop.c (END): Detect invalid pattern.
13806         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
13808 2015-03-02  Andreas Schwab  <schwab@suse.de>
13810         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
13811         variable name.
13813 2015-03-02  Florian Weimer  <fweimer@redhat.com>
13815         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
13816         Return error status.
13818 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
13820         [BZ #15969]
13821         * locale/findlocale.c (_nl_find_locale): Introduce const
13822         version of loc_name and drop unsafe type casts.
13824 2015-02-27  Roland McGrath  <roland@hack.frob.com>
13826         * dlfcn/tststatic2.c (main): Converted to ...
13827         (do_test): ... this.
13828         (TEST_FUNCTION): New macro.
13829         Include test-skeleton.c.
13831 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
13833         [BZ #17711]
13834         * elf/Makefile (tests): Add vismain only if PIE is enabled.
13835         (tests-pie): Add vismain.
13836         (CFLAGS-vismain.c): New.
13837         * elf/vismain.c: Add comments for PIE requirement.
13839 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
13841         [BZ #18046]
13842         [BZ #18047]
13843         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
13844         0x1p-56L as threshold for just returning the argument.
13845         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
13846         0x1p-32L as threshold for just returning the argument.
13847         * math/auto-libm-test-in: Add more tests of atanh.
13848         * math/auto-libm-test-out: Regenerated.
13849         * sysdeps/i386/fpu/libm-test-ulps: Update.
13850         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
13852 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
13854         * string/bcopy.c (bcopy): Call memmove for performance.
13856 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
13858         * string/bzero.c (__bzero): Call memset for performance.
13860 2015-02-27  John David Anglin  <dave.anglin@bell.net>
13862         [BZ #18068]
13863         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
13864         to 00100000.
13866 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
13868         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
13870 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
13872         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
13873         (__kernel_standard): Use CSTR macro when setting exc.name.
13874         * sysdeps/ieee754/Makefile [$(subdir) = math]
13875         (CFLAGS-k_standard.c): Remove variable.
13877         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
13878         setting p and q from "else if" to "else".
13879         (qzero): Likewise.
13880         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
13881         (qone): Likewise.
13882         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
13883         (qzerof): Likewise.
13884         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
13885         (qonef): Likewise.
13886         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
13887         (qzero): Likewise.
13888         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
13889         (qone): Likewise.
13891         [BZ #18038]
13892         [BZ #18039]
13893         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
13894         return pi/2 for arguments below 0x1p-113L.
13895         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
13896         return pi/2 for arguments below 0x1p-106L.
13897         * math/auto-libm-test-in: Add more tests of acos.
13898         * math/auto-libm-test-out: Regenerated.
13900         [BZ #16351]
13901         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
13902         (MO): New macro.
13903         (__ieee754_asin): Force underflow exception for results with small
13904         absolute value.
13905         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
13906         (MO): New macro.
13907         (__ieee754_asinf): Force underflow exception for results with
13908         small absolute value.
13909         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
13910         (__ieee754_asin): Force underflow exception for results with small
13911         absolute value.
13912         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
13913         (__ieee754_asinf): Force underflow exception for results with
13914         small absolute value.
13915         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
13916         (__ieee754_asinl): Force underflow exception for results with
13917         small absolute value.
13918         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
13919         (__ieee754_asinl): Force underflow exception for results with
13920         small absolute value.
13921         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
13922         (__ieee754_asinl): Force underflow exception for results with
13923         small absolute value.
13924         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
13925         Include <math.h>.
13926         * math/auto-libm-test-in: Do not mark underflow exceptions as
13927         possibly missing for bug 16351.
13928         * math/auto-libm-test-out: Regenerated.
13930         [BZ #18030]
13931         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
13932         of power of 2 down when low part has opposite sign.
13933         * math/libm-test.inc (logb_test_data): Add more tests.
13935 2015-02-26  Andreas Schwab  <schwab@suse.de>
13937         [BZ #18032]
13938         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
13939         over collating symbol inside a bracket expression.  Minor cleanup.
13940         * posix/tst-fnmatch3.c (do_test): Add test case.
13942 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
13944         [BZ #18029]
13945         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
13946         Adjust exponent of power of 2 down when low part has opposite
13947         sign.
13948         * math/libm-test.inc (ilogb_test_data): Add more tests.
13950 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
13952         [BZ #15969]
13953         * locale/findlocale.c (_nl_find_locale): Fix constness error in
13954         the previous change.
13956         [BZ #15969]
13957         * locale/findlocale.c (_nl_find_locale): Retry archive search
13958         after alias expansion.
13960 2015-02-25  Roland McGrath  <roland@hack.frob.com>
13962         * iconv/tst-iconv3.c (main): Converted to ...
13963         (do_test): ... this.
13964         (TEST_FUNCTION): New macro.
13965         Include test-skeleton.c.
13967         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
13968         (convert): Make function static.
13969         (test_unalign): Likewise.  Add const to argument pointee types.
13970         (main): Replace with static function do_test.
13971         Print "Succeeded." only if RET is zero.
13972         (TEST_FUNCTION): New macro.
13973         Include test-skeleton.c.
13975         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
13976         returns a null pointer.
13978 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13980         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
13981         to __memcpy_ppc only for static builds.
13983 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
13985         [BZ #18020]
13986         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
13987         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
13988         * math/auto-libm-test-in: Add more tests of asinh.
13989         * math/auto-libm-test-out: Regenerated.
13990         * sysdeps/i386/fpu/libm-test-ulps: Update.
13991         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13993 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
13995         [BZ #15850]
13996         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
13997         and ip6_mtuinfo definitions here.
13998         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
13999         in this define too.  Update comment.
14001 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
14003         * elf/sprof.c (load_shobj): Tweak error message to match others.
14005 2015-02-24  Kevin Easton  <kevin@guarana.org>
14007         [BZ #16145] (partial fix)
14008         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
14009         to reduce lock contention.
14011 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
14013         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
14014         (struct timex): Update time comment.
14015         (ADJ_SETOFFSET): Define.
14017 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
14019         [BZ #18019]
14020         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
14021         2**56 not 2**28 as threshold for log (2x) formula.
14022         * math/auto-libm-test-in: Add more tests of acosh.
14023         * math/auto-libm-test-out: Regenerated.
14024         * sysdeps/i386/fpu/libm-test-ulps: Update.
14025         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14027 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
14029         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
14030         parenthesis around the buf assignment.
14031         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
14033 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
14035         [BZ #16783]
14036         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
14037         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
14038         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
14039         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
14040         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
14041         * math/libm-test.inc (scalb_test_data): Add more tests.
14043 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
14045         [BZ #17916]
14046         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
14047         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
14049 2015-02-24  Eric Rannaud  <e@nanocritical.com>
14051         [BZ #17523]
14052         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
14053         * io/bits/fcntl2.h (open): Use it.
14054         (openat): Likewise.
14055         * io/open.c (__libc_open): Likewise.
14056         * io/open64.c (__libc_open64): Likewise.
14057         * io/open64_2.c (__open64_2): Likewise.
14058         * io/open_2.c (__open_2): Likewise.
14059         * io/openat.c (__openat): Likewise.
14060         * io/openat64.c (__openat64): Likewise.
14061         * io/openat64_2.c (__openat64_2): Likewise.
14062         * io/openat_2.c (__openat_2): Likewise.
14063         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
14064         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
14065         * sysdeps/posix/open64.c (__libc_open64): Likewise.
14066         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
14067         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
14068         (__open_nocancel): Likewise.
14069         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
14070         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
14071         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
14073 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14075         [BZ #14841]
14076         * resolv/gethnamaddr.c (getanswer): Skip logging if
14077         RES_USE_DNSSEC is set.
14078         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
14080 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
14082         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
14084 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
14086         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
14087         201304L, for Unicode 7.
14089 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
14091         [BZ #17836]
14092         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
14093         shared library.  Add gmon-start.os otherwise.
14094         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
14095         $(objpfx)gmon-start.os if builing shared library.
14096         ($(objpfx)g$(static-start-installed-name)): Likewise.
14098 2015-02-23  Andreas Schwab  <schwab@suse.de>
14100         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
14102 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
14104         [BZ #17269]
14105         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
14106         (enlarge_userbuf): Likewise.
14108 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
14110         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
14111         * math/atest-exp.c (TIMEOUT): Adjust to 200.
14112         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
14113         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
14115 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
14117         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
14118         expression inside statement expression.
14120 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
14122         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
14123         <sysdeps/nptl/lowlevellock.h> and remove macros and
14124         functions that are now defined there.
14125         (SYS_futex): Remove.
14126         (lll_compare_and_swap): Remove.
14127         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
14129 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
14131         [BZ #17999]
14132         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
14133         instead of scandirat.
14134         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
14135         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
14136         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
14137         __scandirat.
14138         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
14139         (__scandirat): Declare.  Use libc_hidden_proto.
14140         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
14141         Remove variable.
14142         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
14144 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
14146         [BZ #15319]
14147         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
14148         (MO): New macro.
14149         (__ieee754_atan2): For results with small absolute value, force
14150         underflow exception and remove excess range and precision from
14151         return value.
14152         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
14153         (MO): New macro.
14154         (__ieee754_atan2f): For results with small absolute value, force
14155         underflow exception and remove excess range and precision from
14156         return value.
14157         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
14158         (MO): New macro.
14159         (__atan): For results with small absolute value, force underflow
14160         exception and remove excess range and precision from return value.
14161         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
14162         (MO): New macro.
14163         (__atanf): For results with small absolute value, force underflow
14164         exception and remove excess range and precision from return value.
14165         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
14166         <math.h>.
14167         (__ieee754_atan2): Force underflow exception for results with
14168         small absolute value.
14169         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
14170         <math_private.h>.
14171         (atan): Force underflow exception for results with small absolute
14172         value.
14173         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
14174         (__atanf): Force underflow exception for results with small
14175         absolute value.
14176         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
14177         <math.h>.
14178         (__atanl): Force underflow exception for results with small
14179         absolute value.
14180         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
14181         (__atanl): Force underflow exception for results with small
14182         absolute value.
14183         * sysdeps/x86/fpu/bits/mathinline.h
14184         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
14185         (__ieee754_atan2): Only define inline for long double.
14186         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
14187         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
14188         * math/auto-libm-test-in: Do not mark underflow exceptions as
14189         possibly missing for bug 15319.  Add more tests of atan2.
14190         * math/auto-libm-test-out: Regenerated.
14191         * math/libm-test.inc (casin_test_data): Do not mark underflow
14192         exceptions as possibly missing for bug 15319.
14193         (casinh_test_data): Likewise.
14194         * sysdeps/i386/fpu/libm-test-ulps: Update.
14196 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
14198         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
14199         * sysdeps/mips/bits/endian.h: Fix comments.
14201 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
14203         [BZ #17996]
14204         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
14205         (hdestroy_r): Likewise.
14206         (hsearch_r): Likewise.
14207         (__hcreate_r): Declare and use libc_hidden_proto.
14208         (__hdestroy_r): Likewise.
14209         (__hsearch_r): Likewise.
14210         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
14211         (hcreate): Call __hcreate_r instead of hcreate_r.
14212         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
14213         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
14214         as weak alias of __hcreate_r.
14215         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
14216         __hdestroy_r.
14217         (hsearch_r): Rename to __hsearch_r and define as weak alias of
14218         __hsearch_r.
14219         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
14220         Remove variable.
14221         (test-xfail-XPG4/search.h/linknamespace): Likewise.
14222         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
14223         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
14224         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
14226 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
14228         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
14229         arena_lock into a single arena_get.
14231 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
14233         * dl-reloc.c: Inlucde libc-internal.h.
14234         (_dl_try_allocate_static_tls): Call ALIGN_UP.
14235         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
14236         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
14237         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
14238         (grow_heap): Likewise.
14239         * malloc/malloc.c: Include libc-internal.h.
14240         (do_check_malloc): Call powerof2.
14241         (sysmalloc): Use pagesize. Call ALIGN_UP.
14242         (systrim): Use pagesize.
14243         (mremap_chunk): Use pagesize. Call ALIGN_UP.
14244         (__libc_valloc): Use pagesize.
14245         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
14247 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
14249         [BZ #17991]
14250         * include/sys/resource.h (__getrlimit64): Declare.  Use
14251         libc_hidden_proto.
14252         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
14253         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
14254         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
14255         getrlimit64.
14256         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
14257         __getrlimit64.
14258         [!getrlimit64] (getrlimit64): Define as weak alias of
14259         __getrlimit64.  Use libc_hidden_weak.
14260         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
14261         using __getrlimit64 not __new_getrlimit64.
14262         (__GI_getrlimit64): Likewise.
14263         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
14264         Likewise.
14265         (__GI_getrlimit64): Likewise.
14266         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
14267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
14268         (getrlimit): Add __getrlimit64 alias.
14269         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
14270         Likewise.
14271         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
14272         Remove variable.
14273         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
14274         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
14276 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
14278         * libio/fileops.c: Add missing sys/mman.h
14279         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
14281 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
14283         * manual/math.texi (Errors in Math Functions): Clarify goals
14284         regarding inexact and underflow exceptions.
14286 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
14288         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
14289         * sysdeps/mips/memset.S: Ditto.
14291 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
14293         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
14295 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
14297         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
14298         (__v1longjmp): Remove versioned symbol.
14299         (__v1siglongjmp): Remove alias and versioned symbol.
14300         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
14301         (__v2siglongjmp): Likewise.
14303 2015-02-16  Torvald Riegel  <triegel@redhat.com>
14305         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
14307 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
14309         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
14311 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
14313         [BZ #17987]
14314         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
14315         zero result does not depend on the sign resulting from
14316         subtraction.
14317         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
14318         Likewise.
14319         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
14320         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
14321         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
14322         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
14323         * math/libm-test.inc (remquo_test_data): Add more tests.
14325 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
14327         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
14328         Problem reported by J William Piggott.
14330 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
14332         [BZ #17978]
14333         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
14334         products 4 * y and 2 * y where those would overflow.
14335         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
14336         Likewise.
14337         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
14338         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
14339         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
14340         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
14341         * math/libm-test.inc (remquo_test_data): Add more tests.
14343         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
14345         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
14346         [defined _COMPILING_NEWLIB].
14347         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
14348         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
14350         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
14351         [!defined __mips_isa_rev || __mips_isa_rev < 6].
14353 2015-02-16  Torvald Riegel  <triegel@redhat.com>
14355         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
14356         acquired.
14358 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
14360         [BZ #17792]
14361         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
14362         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
14363         HOST_STACK_END_ADDR): Likewise.
14365 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
14367         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
14368         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
14369         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
14371 2015-02-13  Roland McGrath  <roland@hack.frob.com>
14373         * sysdeps/generic/c++-types.data: New file.
14374         * sysdeps/generic/ld.abilist: New file.
14375         * sysdeps/generic/libBrokenLocale.abilist: New file.
14376         * sysdeps/generic/libanl.abilist: New file.
14377         * sysdeps/generic/libc.abilist: New file.
14378         * sysdeps/generic/libcrypt.abilist: New file.
14379         * sysdeps/generic/libdl.abilist: New file.
14380         * sysdeps/generic/libm.abilist: New file.
14381         * sysdeps/generic/libpthread.abilist: New file.
14382         * sysdeps/generic/libresolv.abilist: New file.
14383         * sysdeps/generic/librt.abilist: New file.
14385 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
14387         [BZ #17569]
14388         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
14389         Compute absolute value of x as modified by fmod, not original
14390         value of x.
14391         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
14392         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
14393         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
14394         RUN_TEST_ffI_f1_mod8.
14395         (remquo_test_data): Add more tests.
14397 2015-02-13  Roland McGrath  <roland@hack.frob.com>
14399         * sysdeps/init_array/pt-crti.S: New file.
14401 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
14403         [BZ #17967]
14404         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
14405         __builtin_fmaf instead of relying on contraction of a * b + c.
14407 2015-02-12  J William Piggott  <elseifthen@gmx.com>
14409         [BZ #17969]
14410         * manual/time.texi: correct the zoneinfo path in the TZ Variable
14411         node.
14413 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
14415         [BZ #17964]
14416         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
14417         __builtin_fma instead of relying on contraction of a * b + c.
14419 2015-02-12  Roland McGrath  <roland@hack.frob.com>
14421         * Makeconfig (ASFLAGS): Add -Werror=undef.
14422         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
14423         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
14424         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
14426         * Makeconfig (after-link): New variable.
14427         (+link-pie, +link-pie-tests): Use it.
14428         (+link-static, +link-static-tests): Likewise.
14429         (+link, +link-tests): Likewise.
14430         * Makerules (build-module, build-module-asneeded): Likewise.
14431         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
14432         Likewise.
14433         * elf/Makefile ($(objpfx)ld.so): Likewise.
14435 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
14437         [BZ #17965]
14438         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
14439         both struct timeval and struct timespec.
14441 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
14443         [BZ #16560]
14444         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14445         and redefine.
14446         (__ieee754_exp2l): Do not multiply small fractional parts by
14447         M_LN2l.
14448         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
14449         small argument.
14450         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
14451         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
14452         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
14453         * math/auto-libm-test-in: Add more tests of exp2.
14454         * math/auto-libm-test-out: Regenerated.
14456 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14458         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
14459         unaligned path.
14461 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14463         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
14464         little endian.
14466 2015-02-12  Andreas Schwab  <schwab@suse.de>
14468         [BZ #15790]
14469         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
14470         Filter out elision flags from value returned in kind.
14471         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
14472         * nptl/tst-pthread-mutexattr.c: New file.
14474 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14476         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
14477         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
14478         into gnu-gnu, and update comment to refer to abi-tags.
14480 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
14482         [BZ #15467]
14483         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
14484         (__sincos): Set errno to EDOM for infinite argument.
14485         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
14486         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
14487         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
14488         (__sincosl): Set errno to EDOM for infinite argument.
14489         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
14490         (__sincosl): Set errno to EDOM for infinite argument.
14491         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
14492         (__sincosl): Set errno to EDOM for infinite argument.
14493         * math/libm-test.inc (sincos_test_data): Test errno setting.
14495 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
14497         * string/strxfrm_l.c: Remove #define STRCMP.
14498         * string/strcoll_l.c: Remove #define STRLEN.
14499         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
14500         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
14502 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
14504         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
14505         * sysdeps/mips/mips32/sfp-machine.h: ... here.
14506         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
14507         * sysdeps/mips/mips64/Makefile: ... here.
14508         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
14509         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
14510         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
14511         * sysdeps/mips/mips64/sfp-machine.h: ... here.
14512         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
14513         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
14514         * sysdeps/mips/mips64/n64/Implies: Likewise.
14516 2015-02-10  Roland McGrath  <roland@hack.frob.com>
14518         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
14519         <sys/time.h>, <string.h>, and <errno.h>.
14520         (dest_offset, dest_address, value, zero): Remove unused variables.
14521         (ldouble): Remove typedef.
14522         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
14523         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
14524         1).  Fix code style.
14525         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
14526         (check): Function removed.
14527         (CHECK): New macro.
14528         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
14529         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
14530         Don't call set_sigaction_FP and remove_sigaction_FP here.
14531         (ldouble_test): Just use 'long double' as macro argument, no need for
14532         the 'ldouble' typedef.
14533         (do_test): Set up SIGFPE handler at start, using plain signal rather
14534         than sigaction.  Fix code style.
14536 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
14538         [BZ #17949]
14539         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
14540         jump label.
14542 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
14544         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
14545         * sysdeps/powerpc/powerpc32/configure: Regenerated.
14547         * sysdeps/powerpc/configure.ac: Remove file.
14548         * sysdeps/powerpc/configure: Likewise.
14550         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
14551         [sysdep_routines]: Remove wordcopy-power6 object.
14552         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
14553         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
14554         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
14555         (__memmove_ppc32): Likewise.
14556         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
14557         file.
14558         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
14559         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
14560         Remove preprocessor.
14562         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
14563         [sysdep_routines]: Remove wide chars objects.
14564         [wcsmbs]: New rule for wide char objects.
14566         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
14567         Remove wordcopy-power6 obejct.
14568         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
14569         Use local call for wordcopy and memcpy symbols.
14570         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
14571         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
14572         implementation for loader.
14573         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
14575         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
14576         Remove wordcopy-power7 object.
14577         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
14578         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
14579         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
14580         (_wordcopy_fwd_dest_aligned): Likewise.
14581         (_wordcopy_bwd_aligned): Likewise.
14582         (_wordcopy_bwd_dest_aligned): Likewise.
14584         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
14585         Rewrite to call __memmove_ppc instead of include default
14586         implementation.
14588         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
14589         Remove wide chars objects.
14590         [wcsmbs]: New rule for wide char objects.
14592 2015-02-09  Andreas Schwab  <schwab@suse.de>
14594         [BZ #17912]
14595         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
14596         in terms of __O_DIRECTORY.
14598 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14600         * time/getdate.c: Include <stdbool.h>.
14601         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
14602         call PTR_MANGLE.
14603         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
14604         PTR_DEMANGLE.
14606 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
14608         Add ersatz _Static_assert on older C hosts
14609         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
14610         pre-C11 C platform that is not known to support _Static_assert.
14612 2015-02-07  Richard Braun  <rbraun@sceen.net>
14614         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
14615         sigstate.
14616         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
14618 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14620         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
14621         priority against unexistent AIO_PRIO_DELTA_MAX.
14622         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
14623         instead of int.
14624         * misc/fchflags.c (fchflags): Likewise.
14625         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
14626         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
14627         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
14628         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
14629         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
14630         Declare macros.
14631         [__USE_MISC] (chflags, fchflags): Declare functions.
14632         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
14633         EINVAL when nfds is greater than FD_SETSIZE.
14634         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
14635         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
14636         45.
14637         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
14638         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
14639         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
14640         MACH_RCV_TIMED_OUT.
14641         * hurd/hurd/signal.h (_hurd_self_sigstate,
14642         _hurd_critical_section_lock, _hurd_critical_section_unlock):
14643         Explicit casts from void *.
14644         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
14645         * abi-tags: Rename gnu-gnu os into gnu.
14647         [BZ #4719]
14648         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
14649         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
14650         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
14651         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
14652         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
14653         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
14655         [BZ #17944]
14656         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
14657         duplicates ADDR->sun_path with sockaddr LEN limitation.
14658         * sysdeps/mach/hurd/connect.c: Include <string.h>
14659         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
14660         * sysdeps/mach/hurd/sendmsg.c: Likewise.
14661         * sysdeps/mach/hurd/sendto.c: Likewise.
14662         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
14663         implementing it by hand.
14665 2015-02-06  Roland McGrath  <roland@hack.frob.com>
14667         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
14668         Use sfi_breg on ldr.
14669         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
14670         Likewise.
14672         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
14673         it's defined.
14674         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
14675         Test SIGSETXID only if it's defined.
14677         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
14679         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
14680         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
14682         * nptl/tst-align2.c: Moved ...
14683         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
14684         * nptl/Makefile (tests): Remove tst-align2.
14685         * sysdeps/unix/sysv/linux/Makefile
14686         [$(subdir) = nptl] (tests): Add tst-align-clone.
14687         * nptl/tst-getpid1.c: Moved ...
14688         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
14689         * nptl/tst-getpid2.c: Moved ...
14690         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
14691         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
14692         * sysdeps/unix/sysv/linux/Makefile
14693         [$(subdir) = nptl] (tests): ... here.
14694         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
14695         * sysdeps/unix/sysv/linux/Makefile
14696         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
14698         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
14699         Drop trailing \n from perror argument.  Use return rather than exit.
14701         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
14702         on [SA_SIGINFO].
14703         * nptl/tst-cancel21.c (do_test): Likewise.
14704         * debug/tst-backtrace6.c: Include <signal.h> first thing.
14705         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
14706         [!SA_SIGINFO]: Make it a stub test.
14708         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
14709         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
14711         * posix/tst-getlogin.c: Move to ...
14712         * login/tst-getlogin.c: ... here.
14713         * posix/Makefile (tests): Move tst-getlogin to ...
14714         * login/Makefile (tests): ... here.
14716         * libio/tst-atime.c (do_test): Move local variables SV and E
14717         inside [ST_NOATIME] conditional.
14719         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
14721         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
14723         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
14724         (wait_code): New function replaces macro.
14725         Call nanosleep rather than syscall.
14727         * nptl/pt-system.c: Rewritten.  Put everything under
14728         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
14729         Use IFUNC to redirect when possible.
14731         * nptl/pt-longjmp.c: Rewritten.  Put everything under
14732         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
14733         Use IFUNC to redirect when possible.
14735         * nptl/pt-fork.c: Rewritten.  Put everything under
14736         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
14737         Use IFUNC to redirect when possible.
14738         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
14740         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
14741         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
14742         unconditionally nowadays.  This included the only reference to
14743         __vdso_clock_gettime that appears outside libc proper.
14744         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
14745         Remove version set (containing only __vdso_clock_gettime).
14746         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
14747         Add attribute_hidden.
14748         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
14749         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
14750         libc_hidden_data_def.
14751         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
14752         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
14754         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
14755         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
14756         setrpcent, and getrpcport to ...
14757         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
14758         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
14759         getrpcbynumber_r, and getrpcent_r to ...
14760         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
14761         * inet/getrpcbyname.c: Moved ...
14762         * sunrpc/getrpcbyname.c: ... here.
14763         * inet/getrpcbyname_r.c: Moved ...
14764         * sunrpc/getrpcbyname_r.c: ... here.
14765         * inet/getrpcbynumber.c: Moved ...
14766         * sunrpc/getrpcbynumber.c: ... here.
14767         * inet/getrpcbynumber_r.c: Moved ...
14768         * sunrpc/getrpcbynumber_r.c: ... here.
14769         * inet/getrpcent.c: Moved ...
14770         * sunrpc/getrpcent.c: ... here.
14771         * inet/getrpcent_r.c: Moved ...
14772         * sunrpc/getrpcent_r.c: ... here.
14773         * inet/Makefile (routines): Move those to ...
14774         * sunrpc/Makefile (routines): ... here.
14775         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
14776         the $(subdirs) list.
14777         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
14778         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
14779         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
14780         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
14782         * elf/Makefile (routines): Include $(all-dl-routines), not just
14783         $(dl-routines).
14784         (rtld-routines): Likewise.  Use = rather than :=.
14785         * sysdeps/aarch64/Makefile [$(subdir) = elf]
14786         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
14787         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
14788         * sysdeps/arm/Makefile: Likewise.
14789         * sysdeps/i386/Makefile: Likewise.
14790         * sysdeps/x86_64/Makefile: Likewise.
14791         * sysdeps/hppa/Makefile [$(subdir) = elf]
14792         (sysdep_routines, sysdep-rtld-routines): Don't add
14793         $(sysdep-dl-routines) to these.
14794         * sysdeps/ia64/Makefile: Likewise.
14795         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
14796         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
14797         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
14798         Don't add dl-static to these; sysdep-dl-routines alone is enough.
14799         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
14800         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
14801         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
14802         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
14803         * sysdeps/powerpc/Makefile [$(subdir) = elf]
14804         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
14805         these; sysdep-dl-routines alone is enough.
14807 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
14809         [BZ #17932]
14810         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
14811         where multiplication results in zero and third argument is finite
14812         and nonzero.
14813         * math/auto-libm-test-in: Add more tests of fma.
14814         * math/auto-libm-test-out: Regenerated.
14816         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
14817         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
14818         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
14819         (_FP_CMP_EQ): Likewise.
14820         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
14822         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
14823         extra argument CHECK_NAN.  Redefine as wrapper around
14824         _FP_EXTEND_CNAN.
14826 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
14828         * version.h (RELEASE): Set to "stable".
14829         (VERSION): Set to "2.21"
14830         * include/features.h (__GLIBC_MINOR__): Set to 21.
14832         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
14834 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
14835             Paul Eggert  <eggert@cs.ucla.edu>
14837         [BZ #16618]
14838         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
14839         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
14840         size in bytes. Store needed elements in wpmax. Use needed size
14841         in bytes for extend_alloca.
14843 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
14845         * manual/install.texi: Latest tested versions are GCC 4.9.2,
14846         binutls 2.25, and texinfo 5.2.
14847         * INSTALL: Regenerate.
14848         * sysdeps/nios2/configure: Regenerate.
14849         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
14850         * manual/contrib.texi: Update.
14851         * po/be.po: Update.
14852         * po/bg.po: Update.
14853         * po/ca.po: Update.
14854         * po/cs.po: Update.
14855         * po/da.po: Update.
14856         * po/de.po: Update.
14857         * po/el.po: Update.
14858         * po/eo.po: Update.
14859         * po/es.po: Update.
14860         * po/fi.po: Update.
14861         * po/fr.po: Update.
14862         * po/gl.po: Update.
14863         * po/hr.po: Update.
14864         * po/hu.po: Update.
14865         * po/ia.po: Update.
14866         * po/id.po: Update.
14867         * po/it.po: Update.
14868         * po/ja.po: Update.
14869         * po/ko.po: Update.
14870         * po/lt.po: Update.
14871         * po/nb.po: Update.
14872         * po/nl.po: Update.
14873         * po/pl.po: Update.
14874         * po/pt_BR.po: Update.
14875         * po/ru.po: Update.
14876         * po/rw.po: Update.
14877         * po/sk.po: Update.
14878         * po/sl.po: Update.
14879         * po/sv.po: Update.
14880         * po/tr.po: Update.
14881         * po/uk.po: Update.
14882         * po/vi.po: Update.
14883         * po/zh_CN.po: Update.
14884         * po/zh_TW.po: Update.
14886         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
14887         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
14888         * sysdeps/hppa/dl-irel.h: Remove #warning.
14889         * sysdeps/hppa/entry.h: Provide prototype for
14890         __canonicalize_funcptr_for_compare and cast argument.
14891         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
14892         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
14893         * sysdeps/hppa/sotruss-lib.c: New file.
14894         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
14895         (atomic_compare_and_exchange_val_acq): Use __typeof__.
14896         (atomic_compare_and_exchange_bool_acq): Likewise.
14897         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
14898         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
14900         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
14901         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
14902         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
14904 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
14906         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
14907         called function in non-PIC case.
14909 2015-01-31  David S. Miller  <davem@davemloft.net>
14911         * sysdeps/sparc/sparc32/bits/atomic.h
14912         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
14913         unlock not after it.
14914         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
14915         volatile register usage warnings from the compiler.
14917         * sysdeps/sparc/nptl/sem_init.c: Delete.
14918         * sysdeps/sparc/nptl/sem_post.c: Delete.
14919         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
14920         * sysdeps/sparc/nptl/sem_wait.c: Delete.
14921         * sysdeps/sparc/sparc32/sem_init.c: New file.
14922         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
14923         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
14924         padding explicitly initialized.
14925         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
14926         padding for in-semaphore spinlock.
14927         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
14928         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
14929         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
14930         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
14931         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
14932         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
14933         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
14934         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
14935         version.
14936         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
14937         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
14939 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
14941         [BZ #17801]
14942         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14943         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
14944         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
14945         New.
14946         (index_AVX_Fast_Unaligned_Load): Likewise.
14947         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
14948         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
14949         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
14950         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
14951         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
14952         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
14953         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
14954         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
14955         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
14957 2015-01-29  Andreas Schwab  <schwab@suse.de>
14959         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
14961 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
14963         [BZ #17892]
14964         * nscd/nscd_stat.c (send_stats): Initialize DATA.
14966 2015-01-28  Martin Sebor  <msebor@redhat.com>
14968         * math/README.libm-test: Clarify. Add "How to read the test output."
14970 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
14972         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
14973         Define to 0.
14975 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
14977         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
14978         (__HAVE_64B_ATOMICS): Define to 0.
14980 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
14982         [BZ #17885]
14983         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
14984         value to set as new flag.
14986         [BZ #16576]
14987         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
14988         and use _ARCH_PPCSQ instead.
14989         (__ieee754_sqrt): Likewise.
14990         (__ieee754_sqrtf): Likewise.
14991         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
14992         _ARCH_PPCSQ is defined.
14993         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
14994         fsqrt instruction.
14995         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
14996         _ARCH_PPCSQ is defined.
14997         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
14998         fsqrts instruction.
14999         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
15001 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15003         * iconv/loop.c: Suppress array out of bound warning caused by GCC
15004         bug (GCC BZ #64739).
15006 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
15008         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
15009         Mark _retval as used.
15010         (lll_futex_wake_unlock): Likewise.
15011         (lll_futex_timed_wait_requeue_pi): Likewise.
15013         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
15014         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
15015         register variables.
15017         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
15018         libm_hidden_def.
15020         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
15021         (__bswap_64): Mark as __always_inline.
15023 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
15025         [BZ #15378]
15026         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
15027         when none of the search directories exist.
15029 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
15031         [BZ #17869]
15032         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
15033         power8 in .machine directive.
15035         [BZ #17868]
15036         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
15037         set dependency from opd value.
15039 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
15041         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15042         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
15043         architecture.
15045 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
15047         [BZ #17870]
15048         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
15049         with uint64_t.
15050         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
15051         (uint64_t) 1.
15052         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
15053         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
15054         Replace 1UL with (uint64_t) 1.
15055         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
15056         int with uint64_t.
15058 2015-01-23  Roland McGrath  <roland@hack.frob.com>
15060         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
15061         (if_freenameindex): Likewise.
15063         * resource/getrlimit64.c: Add missing libc_hidden_def.
15065 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
15067         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
15068         __label__.
15069         (_FP_FMA): Likewise.
15070         (_FP_TO_INT_ROUND): Likewise.
15071         (_FP_FROM_INT): Likewise.
15073 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15075         [BZ #16418]
15076         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
15077         Make code racy and cancel safe.
15079 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
15081         * sysdeps/arm/unwind-resume.h: Fix copyright year.
15082         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
15083         attribution.
15085         * pwd/tst-getpw.c: Rewrite.
15087         [BZ #17702]
15088         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
15089         (modules-names): Add moddummy1 and moddummy2.
15090         ($(objpfx)tst-rec-dlopen): Define.
15091         * dlfcn/moddummy1.c: New file.
15092         * dlfcn/moddummy2.c: New file.
15093         * dlfcn/tst-rec-dlopen.c: New file.
15094         * elf/dl-cache.c (_dl_load_cache_lookup):
15095         Return char*. Copy result with alloca/strcpy/strdup.
15096         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
15097         returns char*. Free cached. If not saving realname
15098         free cached.
15099         * elf/dl-open.c (dl_open_worker): Do not assert that
15100         _r_debug->r_state is RT_CONSISTENT.
15101         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
15102         returns char*.
15104 2015-01-21  Torvald Riegel  <triegel@redhat.com>
15105             Carlos O'Donell  <carlos@redhat.com>
15107         [BZ #12674]
15108         * nptl/sem_waitcommon.c: New file.
15109         * nptl/sem_wait.c: Include sem_waitcommon.c.
15110         (__sem_wait_cleanup, do_futex_wait): Remove.
15111         (__new_sem_wait): Adapt.
15112         (__new_sem_trywait): New function.
15113         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
15114         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
15115         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
15116         (sem_timedwait): Adapt.
15117         * nptl/sem_post.c (__new_sem_post): Adapt.
15118         (futex_wake): New function.
15119         (__old_sem_post): Add release MO fence.
15120         * nptl/sem_open.c (sem_open): Adapt.
15121         * nptl/sem_init.c (__new_sem_init): Adapt.
15122         (futex_private_if_supported): New function.
15123         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
15124         (__old_sem_getvalue): Add using previous code.
15125         * sysdeps/nptl/internaltypes.h: Adapt.
15126         * nptl/tst-sem13.c (do_test): Adapt.
15127         * nptl/tst-sem11.c (main): Adapt.
15128         * nptl/sem_trywait.c: Remove.
15129         * nptl/DESIGN-sem.txt: Remove.
15130         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
15131         (gen-as-const-headers): Remove structsem.sym.
15132         * nptl/structsem.sym: Remove.
15133         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
15134         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
15135         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
15136         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
15137         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
15138         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
15139         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
15140         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
15141         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
15142         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
15143         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
15144         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
15145         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
15146         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
15147         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
15148         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
15149         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
15150         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
15151         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
15152         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
15153         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
15154         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
15156 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
15158         * INSTALL: Regenerated.
15160         * po/libc.pot: Regenerated.
15162 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
15163             Sandra Loosemore  <sandra@codesourcery.com>
15164             Andrew Jenner  <andrew@codesourcery.com>
15165             Joseph Myers  <joseph@codesourcery.com>
15166             Nathan Sidwell  <nathan@codesourcery.com>
15168         * NEWS: Mention new Nios II port.
15169         * sysdeps/nios2/Implies: New file.
15170         * sysdeps/nios2/Makefile: New file.
15171         * sysdeps/nios2/Subdirs: New file.
15172         * sysdeps/nios2/Versions: New file.
15173         * sysdeps/nios2/__longjmp.S: New file.
15174         * sysdeps/nios2/abort-instr.h: New file.
15175         * sysdeps/nios2/backtrace.c: New file.
15176         * sysdeps/nios2/bits/endian.h: New file.
15177         * sysdeps/nios2/bits/fenv.h: New file.
15178         * sysdeps/nios2/bits/link.h: New file.
15179         * sysdeps/nios2/bits/setjmp.h: New file.
15180         * sysdeps/nios2/bsd-_setjmp.S: New file.
15181         * sysdeps/nios2/bsd-setjmp.S: New file.
15182         * sysdeps/nios2/configure: New generated file.
15183         * sysdeps/nios2/configure.ac: New file.
15184         * sysdeps/nios2/crti.S: New file.
15185         * sysdeps/nios2/crtn.S: New file.
15186         * sysdeps/nios2/dl-init.c: New file.
15187         * sysdeps/nios2/dl-machine.h: New file.
15188         * sysdeps/nios2/dl-sysdep.h: New file.
15189         * sysdeps/nios2/dl-tls.h: New file.
15190         * sysdeps/nios2/dl-trampoline.S: New file.
15191         * sysdeps/nios2/gccframe.h: New file.
15192         * sysdeps/nios2/gmp-mparam.h: New file.
15193         * sysdeps/nios2/jmpbuf-offsets.h: New file.
15194         * sysdeps/nios2/jmpbuf-unwind.h: New file.
15195         * sysdeps/nios2/ldsodefs.h: New file.
15196         * sysdeps/nios2/libc-tls.c: New file.
15197         * sysdeps/nios2/libm-test-ulps: New file.
15198         * sysdeps/nios2/machine-gmon.h: New file.
15199         * sysdeps/nios2/math-tests.h: New file.
15200         * sysdeps/nios2/math_private.h: New file.
15201         * sysdeps/nios2/memusage.h: New file.
15202         * sysdeps/nios2/nptl/Makefile: New file.
15203         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
15204         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
15205         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
15206         * sysdeps/nios2/nptl/pthreaddef.h: New file.
15207         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
15208         * sysdeps/nios2/nptl/tls.h: New file.
15209         * sysdeps/nios2/preconfigure: New file.
15210         * sysdeps/nios2/s_fma.c: New file.
15211         * sysdeps/nios2/s_fmaf.c: New file.
15212         * sysdeps/nios2/setjmp.S: New file.
15213         * sysdeps/nios2/sfp-machine.h: New file.
15214         * sysdeps/nios2/sotruss-lib.c: New file.
15215         * sysdeps/nios2/stackguard-macros.h: New file.
15216         * sysdeps/nios2/stackinfo.h: New file.
15217         * sysdeps/nios2/start.S: New file.
15218         * sysdeps/nios2/sysdep.h: New file.
15219         * sysdeps/nios2/tls-macros.h: New file.
15220         * sysdeps/nios2/tst-audit.h: New file.
15221         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
15222         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
15223         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
15224         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
15225         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
15226         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
15227         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
15228         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
15229         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
15230         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
15231         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
15232         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
15233         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
15234         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
15235         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
15236         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
15237         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
15238         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
15239         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
15240         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
15241         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
15242         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
15243         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
15244         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
15245         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
15246         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
15247         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
15248         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
15249         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
15250         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
15251         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
15252         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
15253         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
15254         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
15255         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
15256         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
15257         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
15258         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
15259         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
15260         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
15261         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
15262         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
15263         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
15264         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
15266 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
15268         [BZ #17844]
15269         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
15270         (getutent): Use weak_alias in non SHARED case
15271         and default_symbol_version in SHARED case.
15272         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
15273         (getutent_r, pututline): Likewise.
15274         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
15275         (getutid): Likewise.
15276         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
15277         (getutid_r): Likewise.
15278         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
15279         (getutline): Likewise.
15280         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
15281         (getutline_r): Likewise.
15282         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
15283         (updwtmp): Likewise.
15285 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
15287         [BZ #17848]
15288         * sysdeps/s390/s390-32/memcmp.S
15289         (memcmp_g5): Rename to __memcmp_g5.
15290         * sysdeps/s390/s390-32/memcpy.S
15291         (memcpy_g5): Rename to __memcpy_g5.
15292         Jump to __memcpy_mvcle instead of memcpy_mvcle.
15293         (memcpy_mvcle) Rename to __memcpy_mvcle.
15294         * sysdeps/s390/s390-32/memset.S
15295         (memset_g5): Rename to __memset_g5.
15296         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
15297         (IFUNC_RESOLVE): Prefix ifunc-resolve function
15298         and use prefixed functions.
15299         * sysdeps/s390/s390-32/multiarch/memcmp.S
15300         (memcmp_z196): Rename to __memcmp_z196.
15301         (memcmp_z10): Rename to __memcmp_z10.
15302         (memcmp): Set alias to __memcmp_g5.
15303         (bcmp): Set alias to __memcmp_g5.
15304         * sysdeps/s390/s390-32/multiarch/memcpy.S
15305         (memcpy_z196): Rename to __memcpy_z196.
15306         Jump to __memcpy_mvcle instead of memcpy_mvcle.
15307         (memcpy_z10): Rename to __memcpy_z10.
15308         Jump to __memcpy_mvcle instead of memcpy_mvcle.
15309         (memcpy): Set alias to __memcpy_g5.
15310         * sysdeps/s390/s390-32/multiarch/memset.S
15311         (memset_z196): Rename to __memset_z196.
15312         Jump to __memset_mvcle instead of memset_mvcle.
15313         (memset_z10): Rename to __memset_z10.
15314         Jump to __memset_mvcle instead of memset_mvcle.
15315         (memset_mvcle) Rename to __memset_mvcle.
15316         (memset): Set alias to __memset_g5.
15317         * sysdeps/s390/s390-64/memcmp.S
15318         (memcmp_z900): Rename to __memcmp_z900.
15319         * sysdeps/s390/s390-64/memcpy.S
15320         (memcpy_z900): Rename to __memcpy_z900.
15321         Jump to __memcpy_mvcle instead of memcpy_mvcle.
15322         (memcpy_mvcle) Rename to __memcpy_mvcle.
15323         * sysdeps/s390/s390-64/memset.S
15324         (memset_z900): Rename to __memset_z900.
15325         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
15326         (IFUNC_RESOLVE): Prefix ifunc-resolve function
15327         and use prefixed functions.
15328         * sysdeps/s390/s390-64/multiarch/memcmp.S
15329         (memcmp_z196): Rename to __memcmp_z196.
15330         (memcmp_z10): Rename to __memcmp_z10.
15331         (memcmp): Set alias to __memcmp_z900.
15332         (bcmp): Set alias to __memcmp_z900.
15333         * sysdeps/s390/s390-64/multiarch/memcpy.S
15334         (memcpy_z196): Rename to __memcpy_z196.
15335         Jump to __memcpy_mvcle instead of memcpy_mvcle.
15336         (memcpy_z10): Rename to __memcpy_z10.
15337         Jump to __memcpy_mvcle instead of memcpy_mvcle.
15338         (memcpy): Set alias to __memcpy_z900.
15339         * sysdeps/s390/s390-64/multiarch/memset.S
15340         (memset_z196): Rename to __memset_z196.
15341         Jump to __memset_mvcle instead of memset_mvcle.
15342         (memset_z10): Rename to __memset_z10.
15343         Jump to __memset_mvcle instead of memset_mvcle.
15344         (memset_mvcle) Rename to __memset_mvcle.
15345         (memset): Set alias to __memset_z900.
15347 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
15349         [BZ #17748]
15350         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
15351         __fesetenv instead of fesetenv.
15353 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
15355         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
15356         macro.
15358 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15360         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
15361         regression on LE.
15363         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
15364         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
15365         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
15366         strncmp-power8 object.
15367         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15368         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
15369         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
15370         * NEWS: Update.
15372 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15373             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15375         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
15376         trailing byte check.
15378 2015-01-13  David S. Miller  <davem@davemloft.net>
15380         * include/signal.h (__sigreturn): Guard with __USE_MISC.
15382 2015-01-13  Roland McGrath  <roland@hack.frob.com>
15384         * login/logout.c (logout): Use memset rather than bzero.
15385         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
15386         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
15387         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
15388         (_gethtbyaddr): Likewise.
15389         * locale/programs/simple-hash.c (bcopy): Macro removed.
15391 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15393         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15394         Add strcmp-power8 object.
15395         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15396         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
15397         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
15398         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
15399         __strcmp_power8 implementation.
15400         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
15401         * NEWS: Update.
15403         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15404         Add strncpy-power8 and stpncpy-power8 objects.
15405         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15406         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
15407         implementations.
15408         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
15409         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
15410         __stpncpy_power8 implementation.
15411         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
15412         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
15413         __strncpy_power8 implementation.
15414         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
15415         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
15416         * NEWS: Update.
15418         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
15419         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
15420         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
15422         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
15423         strncat-power8 object.
15424         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
15425         __strcat_power8 implementation.
15426         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15427         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
15428         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
15429         optimized strcat for power8.
15431         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
15432         strcpy-power8 and stpcpy-power8 objects.
15433         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15434         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
15435         implementations.
15436         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
15437         multiarch stpcpy implementation for POWER8.
15438         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
15439         multiarch strcpy implementation for POWER8.
15440         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
15441         __strcpy_power8 function.
15442         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
15443         stpcpy for POWER8.
15444         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
15445         strcpy for POWER8.
15446         * NEWS: Update.
15448 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
15450         [BZ #16009]
15451         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
15452         weights and rules. Use do_xfrm_cached if data fits in cache,
15453         do_xfrm otherwise.  Moved former main loop to...
15454         * (do_xfrm_cached): New function.
15455         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
15456         find_idx, find_position and stack_push.
15457         * (find_idx): New function.
15458         * (find_position): Likewise.
15459         * localedata/sort-test.sh: Added test run for do_xfrm.
15460         * localedata/xfrm-test.c (main): Added command line option
15461         -nocache to run the test with strings that are too large for
15462         the STRXFRM cache.
15464 2015-01-13  Torvald Riegel  <triegel@redhat.com>
15466         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
15467         variable to lll_futex_wake call, not the value itself.
15469 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
15471         [BZ #17803]
15472         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
15473         twom64.  Adjust value to 0x1p-64L.
15474         (__scalblnl): Only return standard underflowing result for K <=
15475         -64 not K <= -63; adjust exponent for underflowing result by 64
15476         not 63.
15477         * math/libm-test.inc (scalbn_test_data): Add more tests.
15478         (scalbln_test_data): Likewise.
15480         [BZ #17834]
15481         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
15482         0x1p63L.
15483         (__scalblnl): Get new exponent of adjusted subnormal value from ES
15484         not HX.
15485         * math/libm-test.inc (scalbn_test_data): Add more tests.
15486         (scalbln_test_data): Likewise.
15488 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15489             Stefani Seibold  <stefani@seibold.net>
15491         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
15492         (sysdep_routines): Add dl-vdso here, ...
15493         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
15494         (sysdep_routines): ... not here.
15495         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
15496         fallback when vDSO is not presented.
15497         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
15498         Define with libc_hidden_proto/libc_hidden_data_def definitions.
15499         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
15500         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
15501         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
15502         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
15503         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
15504         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
15505         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
15506         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
15507         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
15508         fallback configurable symbol when vDSO is not available.
15509         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
15510         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
15511         be able to redefine fallback symbol when vDSO is not available.
15512         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
15513         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
15515 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15517         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
15518         (TLS_INIT_TP): Add tm_capable initialization.
15519         (TLS_DEFINE_INIT_TP): Likewise.
15520         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
15521         TCB.
15522         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
15523         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
15524         calculation.
15525         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
15526         transactoion is lock elision is built and TCB tm_capable is set.
15527         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
15528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15529         (INTERNAL_SYSCALL_NCS): Likewise.
15530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
15531         (INTERNAL_SYSCALL_NCS): Likewise.
15532         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
15534         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
15535         for powerpc.
15536         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
15537         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
15538         and remove it for 32 bits case.
15539         [pthread_rwlock_t] (__rwelision): New field for lock elision.
15540         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
15541         initialization.
15542         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
15543         Disable lock elision with rdlocks if elision is not available.
15545         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
15546         (sysdep_routines): Add lock elision objects.
15547         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
15548         [pthread_mutex_t] (__spins): Rework to add lock elision field.
15549         [pthread_mutex_t] (__elision): Add field.
15550         [__PTHREAD_SPINS]: Adjust to init lock elision field.
15551         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
15552         elision definitions for powerpc.
15553         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
15554         implementation of lock elision for powerpc.
15555         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
15556         implementation of timed lock elision for powerpc.
15557         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
15558         implementation of trylock with lock elision for powerpc.
15559         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
15560         implementaion of unlock for lock elision for powerpc.
15561         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
15562         automatic enable lock elision for mutexes.
15563         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
15564         transaction execution definitions for powerpc.
15565         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
15566         definitions.
15567         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
15568         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
15569         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
15570         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
15571         * NEWS: Update.
15573 2015-01-09  Roland McGrath  <roland@hack.frob.com>
15575         * sysdeps/posix/shm-directory.c: Use <> rather than ""
15576         for #include of <shm-directory.h>.
15578 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
15580         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
15581         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
15583 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
15585         [BZ #17791]
15586         * NEWS: Mention bug fix.
15587         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
15588         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
15589         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
15591 2015-01-09  Torvald Riegel <triegel@redhat.com>
15593         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
15595 2015-01-09  Torvald Riegel <triegel@redhat.com>
15597         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
15599 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
15601         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
15602         pointer and cast to uintptr_t.
15604 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
15606         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
15607         removed.
15608         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
15610 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
15612         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
15613         of 0.
15615 2015-01-08  Roland McGrath  <roland@hack.frob.com>
15617         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
15618         <nptl/pthreadP.h> instead.
15619         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
15621         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
15622         already defined.
15623         [__SIGRTMIN] (init): Function removed.
15624         [__SIGRTMIN] (initialized): Variable removed.
15625         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
15626         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
15627         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
15628         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
15629         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
15630         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
15631         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
15632         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
15633         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
15634         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
15635         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
15636         * sysdeps/nptl/allocrtsig.c: New file.
15637         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
15638         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
15639         * sysdeps/generic/testrtsig.h: File removed.
15641         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
15642         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
15644         * nptl/nptl-init.c (pthread_functions): Conditionalize
15645         .ptr__nptl_setxid initialization on [SIGSETXID].
15647         * sysdeps/nptl/sys/procfs.h: New file.
15648         * nptl_db/Makefile (headers): Add it.
15649         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
15651         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
15652         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
15653         * nptl/pthread_attr_setaffinity.c: Include it.
15654         * nptl/pthread_setattr_default_np.c: Likewise.
15655         * nptl/check-cpuset.h: New file.
15657 2015-01-08  Richard Henderson  <rth@redhat.com>
15659         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
15660         (CFLAGS-tst-execstack-prog.c): Likewise.
15661         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
15663 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
15664             Sandra Loosemore  <sandra@codesourcery.com>
15665             Andrew Jenner  <andrew@codesourcery.com>
15666             Joseph Myers  <joseph@codesourcery.com>
15667             Nathan Sidwell  <nathan@codesourcery.com>
15669         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
15670         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
15671         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
15672         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
15673         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
15674         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
15675         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
15676         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
15677         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
15678         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
15679         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
15680         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
15681         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
15682         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
15683         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
15684         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
15685         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
15687 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15689         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
15690         timespec struct member in syscall macro.
15691         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
15692         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
15693         first timeval struct member in syscall macro.
15694         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
15696 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
15698         [BZ #17748]
15699         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
15700         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
15701         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
15702         __feupdateenv and define as weak alias of __feupdateenv.  Use
15703         libm_hidden_weak.
15704         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
15705         libm_hidden_def.
15706         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
15707         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
15708         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
15709         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
15710         libm_hidden_def.
15711         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
15712         __feupdateenv and define as weak alias of __feupdateenv.  Use
15713         libm_hidden_weak.
15714         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
15715         libm_hidden_def.
15716         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
15717         __feupdateenv and define as weak alias of __feupdateenv.  Use
15718         libm_hidden_weak.
15719         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
15720         libm_hidden_def.
15721         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
15722         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
15723         (__feupdateenv): Likewise.
15724         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
15725         __feupdateenv and define as weak alias of __feupdateenv.  Use
15726         libm_hidden_weak.
15727         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
15728         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
15729         libm_hidden_def.
15730         * sysdeps/tile/math_private.h (__feupdateenv): New inline
15731         function.
15732         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
15733         libm_hidden_def.
15734         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
15735         __feupdateenv instead of feupdateenv.
15736         (default_libc_feupdateenv_test): Likewise.
15737         (libc_feresetround_ctx): Likewise.
15739 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15741         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
15742         prototype.
15744 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
15746         * posix/regcomp.c (parse_bracket_exp): Initialize type to
15747         COLL_SYM in a couple of places to avoid uninitialized variable
15748         wanings on tilegx gcc 4.8.2.
15750 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
15752         * sysdeps/aarch64/strcpy.S: New file.
15753         * sysdeps/aarch64/stpcpy.S: New file.
15754         * NEWS: Updated.
15756 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
15758         * sysdeps/aarch64/strrchr.S: New file.
15759         * NEWS: Updated.
15761 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
15763         [BZ #17658]
15764         * stdlib/setenv.c: Fix memory leak when setting large,
15765         duplicate string.
15767 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
15769         [BZ #17273]
15770         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
15771         and tabs from buffer before parsing fstab entry.
15772         * misc/tst-mntent.c (main): Add test for mount entry with
15773         trailing spaces and tabs.
15775 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
15777         [BZ #17748]
15778         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
15779         * math/fesetround.c (fesetround): Rename to __fesetround and
15780         define as weak alias of __fesetround.  Use libm_hidden_weak.
15781         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
15782         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
15783         * sysdeps/arm/fesetround.c (fesetround): Likewise.
15784         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
15785         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
15786         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
15787         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
15788         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
15789         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
15790         __fesetround_inline.
15791         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
15792         __fesetround_inline instead of __fesetround.
15793         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
15794         __fesetround and define as weak alias of __fesetround.  Use
15795         libm_hidden_weak.  Call __fesetround_inline instead of
15796         __fesetround.
15797         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
15798         __fesetround and define as weak alias of __fesetround.  Use
15799         libm_hidden_weak.
15800         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
15801         Likewise.
15802         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
15803         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
15804         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
15805         * sysdeps/tile/math_private.h (__fesetround): New inline function.
15806         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
15807         __fesetround and define as weak alias of __fesetround.  Use
15808         libm_hidden_weak.
15809         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
15810         __fesetround instead of fesetround.
15811         (default_libc_feholdexcept_setround): Likewise.
15812         (libc_feholdsetround_ctx): Likewise.
15813         (libc_feholdsetround_noex_ctx): Likewise.
15815         [BZ #17748]
15816         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
15817         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
15818         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
15819         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
15820         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
15821         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
15822         define as weak alias of __fesetenv.  Use libm_hidden_weak.
15823         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
15824         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
15825         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
15826         define as weak alias of __fesetenv.  Use libm_hidden_weak.
15827         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
15828         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
15829         define as weak alias of __fesetenv.  Use libm_hidden_weak.
15830         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
15831         libm_hidden_def.
15832         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
15833         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
15834         Likewise.
15835         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
15836         define as weak alias of __fesetenv.  Use libm_hidden_weak.
15837         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
15838         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
15839         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
15840         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
15841         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
15842         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
15843         __fesetenv instead of fesetenv.
15844         (libc_feresetround_noex_ctx): Likewise.
15845         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
15846         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
15847         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
15848         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
15849         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
15850         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
15851         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
15852         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
15853         (__feupdateenv): Likewise.
15854         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
15855         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
15856         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
15857         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
15859 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
15861         [BZ #17806]
15862         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
15863         addresses have been freed.
15865 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
15867         * resolv/res_init.c (__res_vinit): Improve comments about nserv
15868         and nservall.
15870 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
15872         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
15873         Clean up check_pf allocation pattern. addresses
15875 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15877         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
15878         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
15879         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
15880         * nptl/pthread_exit.c (__pthread_exit): Likewise.
15881         * nptl/pthread_join.c (pthread_join): Likewise.
15882         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
15883         * sysdeps/posix/waitid.c (__waitid): Likewise.
15884         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
15885         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
15886         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
15887         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
15888         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
15889         Likewise.
15890         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
15891         (__libc_pread64): Likewise.
15892         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
15893         (__libc_pwrite): Likewise.
15894         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
15895         (__libc_pwrite64): Likewsie.
15896         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
15897         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
15898         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
15899         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
15900         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
15901         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
15902         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
15903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
15904         Likewise.
15905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
15906         (__libc_pread64): Likewise.
15907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
15908         Likewise.
15909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
15910         (__libc_pwrite64): Likewise.
15911         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
15912         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
15913         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
15914         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
15915         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
15916         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
15917         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
15918         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
15919         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
15920         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
15921         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
15922         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
15923         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
15924         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
15925         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
15926         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
15927         Likewise.
15929 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
15931         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
15932         (CFLAGS-test-double.c): Likewise.
15933         (CFLAGS-test-ldouble.c): Likewise.
15934         (CPPFLAGS-test-ifloat.c): Likewise.
15935         (CPPFLAGS-test-idouble.c): Likewise.
15936         (CPPFLAGS-test-ildoubl.c): Likewise.
15937         (CFLAGS-test-test-fenv.c): Remove variable.
15938         (CFLAGS-test-misc.c): Likewise.
15940 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
15942         [BZ #17797]
15943         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
15944         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
15945         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
15946         CLOCKS_PER_SEC == 1000000.
15947         * time/clocktest.c (main): Replace %ld with %jd and cast to
15948         intmax_t.
15950 2015-01-05  Roland McGrath  <roland@hack.frob.com>
15952         * sysdeps/generic/unwind-resume.h: New file.
15953         * sysdeps/gnu/unwind-resume.c: Include it.
15954         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
15955         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
15956         argument list.
15957         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
15958         global rather than static.
15959         (_Unwind_Resume): Update user.
15960         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
15961         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
15962         rather than static.  Add __attribute__ ((cold)).
15963         (_Unwind_Resume, __gcc_personality_v0): Update callers.
15964         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
15965         * sysdeps/arm/arm-unwind-resume.S: New file.
15966         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
15967         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
15968         * sysdeps/arm/Makefile [$(subdir) = csu]
15969         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
15970         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
15971         Add rt-arm-unwind-resume.
15972         [$(subdir) = nptl]
15973         (libpthread-sysdep_routines, libpthread-shared-only-routines):
15974         Add pt-arm-unwind-resume.
15975         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
15976         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
15978 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
15980         [BZ #17748]
15981         * include/fenv.h (__feholdexcept): Declare.  Use
15982         libm_hidden_proto.
15983         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
15984         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
15985         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
15986         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
15987         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
15988         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
15989         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
15990         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
15991         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
15992         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
15993         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
15994         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
15995         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
15996         (feholdexcept): Likewise.
15997         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
15998         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
15999         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
16000         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
16001         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
16002         __feholdexcept instead of feholdexcept.
16003         (default_libc_feholdexcept_setround): Likewise.
16005 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
16007         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
16008         to avoid using stl/str to align destination.
16010 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
16012         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
16014 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
16016         [BZ #17796]
16017         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
16018         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
16019         Define as weak alias not strong alias.
16021 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
16023         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
16024         bltzal with addiupc.
16025         (RTLD_START): Ditto.
16027 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
16029         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
16030         for __vdso_* functions in declarations.
16031         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
16032         definitions.
16033         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
16034         INTERNAL_VSYSCALL): Use struct return types to check for error.
16036         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
16037         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
16038         function with cast from llround().
16039         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
16040         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
16041         Define.
16043 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
16045         [BZ #17793]
16046         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
16047         Define as weak alias not strong alias.
16049         [BZ #17635]
16050         * ctype/ctype-c99.c: New file.  isblank implementation moved from
16051         ...
16052         * ctype/ctype-extn.c: ... here.
16053         (__isblank_l): Move to ...
16054         * ctype/ctype-c99_l.c: ... here.  New file.
16055         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
16056         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
16057         Remove variable.
16058         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
16059         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
16060         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
16061         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
16062         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
16064         [BZ #17777]
16065         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
16066         (posix_fadvise64): Define as weak alias not strong alias.
16067         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
16068         (posix_fallocate64): Likewise.
16069         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
16070         Remove variable.
16071         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
16072         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
16073         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
16074         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
16075         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
16077 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
16079         [BZ #16191]
16080         * NEWS: Mention bug fix.
16081         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
16082         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
16083         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
16084         (HOST_STACK_END_ADDR): Likewise.
16086 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
16088         [BZ #17748]
16089         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
16090         * math/fegetround.c (fegetround): Rename to __fegetround and
16091         define as weak alias of __fegetround.  Use libm_hidden_weak.
16092         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
16093         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
16094         * sysdeps/arm/fegetround.c (fegetround): Likewise.
16095         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
16096         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
16097         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
16098         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
16099         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
16100         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
16101         Undefine after rather than before function definition; use
16102         parentheses around function name in definition.
16103         (__fegetround): Also undefine macro after function definition.
16104         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
16105         __fegetround and define as weak alias of __fegetround.  Use
16106         libm_hidden_weak.  Do not undefine as macro.
16107         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
16108         Likewise.
16109         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
16110         __fegetround and define as weak alias of __fegetround.  Use
16111         libm_hidden_weak.
16112         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
16113         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
16114         * sysdeps/tile/math_private.h (__fegetround): New inline function.
16115         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
16116         __fegetround and define as weak alias of __fegetround.  Use
16117         libm_hidden_weak.
16118         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
16119         __fegetround instead of fegetround.
16121         [BZ #17782]
16122         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
16123         Condition macro definition on [__USE_MISC].
16125         [BZ #17781]
16126         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
16127         (struct sigaction): Change type of sa_flags field to int.
16129         [BZ #17780]
16130         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
16131         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
16132         __glibc_reserved0.
16134         * nptl/version.c (banner): Use single year in copyright notice.
16136         * NEWS: Update copyright dates.
16137         * catgets/gencat.c (print_version): Likewise.
16138         * csu/version.c (banner): Likewise.
16139         * debug/catchsegv.sh: Likewise.
16140         * debug/pcprofiledump.c (print_version): Likewise.
16141         * debug/xtrace.sh (do_version): Likewise.
16142         * elf/ldconfig.c (print_version): Likewise.
16143         * elf/ldd.bash.in: Likewise.
16144         * elf/pldd.c (print_version): Likewise.
16145         * elf/sotruss.sh: Likewise.
16146         * elf/sprof.c (print_version): Likewise.
16147         * iconv/iconv_prog.c (print_version): Likewise.
16148         * iconv/iconvconfig.c (print_version): Likewise.
16149         * locale/programs/locale.c (print_version): Likewise.
16150         * locale/programs/localedef.c (print_version): Likewise.
16151         * login/programs/pt_chown.c (print_version): Likewise.
16152         * malloc/memusage.sh (do_version): Likewise.
16153         * malloc/memusagestat.c (print_version): Likewise.
16154         * malloc/mtrace.pl: Likewise.
16155         * manual/libc.texinfo: Likewise.
16156         * nptl/version.c (banner): Likewise.
16157         * nscd/nscd.c (print_version): Likewise.
16158         * nss/getent.c (print_version): Likewise.
16159         * nss/makedb.c (print_version): Likewise.
16160         * posix/getconf.c (main): Likewise.
16161         * scripts/test-installation.pl: Likewise.
16162         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
16164 2015-01-02  Will Newton  <will.newton@linaro.org>
16166         * sysdeps/arm/armv7/configure: Removed.
16167         * sysdeps/arm/armv7/configure.ac: Likewise.
16169 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
16171         * All files with FSF copyright notices: Update copyright dates
16172         using scripts/update-copyrights.
16173         * intl/plural.c: Regenerated.
16174         * locale/programs/charmap-kw.h: Likewise.
16175         * locale/programs/locfile-kw.h: Likewise.
16177 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
16179         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
16181 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
16183         [BZ #17748]
16184         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
16185         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
16186         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
16187         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
16188         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
16189         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
16190         define as weak alias of __fegetenv.  Use libm_hidden_weak.
16191         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
16192         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
16193         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
16194         define as weak alias of __fegetenv.  Use libm_hidden_weak.
16195         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
16196         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
16197         define as weak alias of __fegetenv.  Use libm_hidden_weak.
16198         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
16199         libm_hidden_def.
16200         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
16201         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
16202         Likewise.
16203         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
16204         define as weak alias of __fegetenv.  Use libm_hidden_weak.
16205         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
16206         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
16207         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
16208         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
16209         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
16210         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
16211         __fegetenv instead of fegetenv.
16212         (libc_feholdsetround_noex_ctx): Likewise.
16214 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
16216         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
16217         (Elf_MIPS_ABIFlags_v0): New structure.
16218         (EF_MIPS_FP64): Define.
16219         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
16220         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
16221         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
16222         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
16223         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
16224         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
16225         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
16226         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
16227         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
16228         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
16229         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
16230         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
16231         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
16232         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
16233         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
16234         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
16235         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
16236         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
16237         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
16238         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
16239         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
16240         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
16241         field.
16242         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
16243         EF_MIPS_FP64.
16244         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
16245         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
16246         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
16247         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
16248         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
16249         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
16250         * sysdeps/mips/tst-abi-interlink.c: Likewise.
16251         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
16252         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
16253         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
16254         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
16255         record the current FP ABI extension.
16256         (mips-mode-switch): Define to show if kernel headers support mode
16257         switching.
16258         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
16259         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
16260         supported SYSV ABI version to 3.
16261         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
16262         feature.
16264 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16265             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16267         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
16268         path.
16269         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
16271 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
16273         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
16274         __fegetround and redefine to call __fegetround.  Remove condition
16275         on [!__NO_MATH_INLINES].
16276         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
16277         function.
16278         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
16279         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
16280         Remove macro.
16281         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
16282         instead of <fenv_libc.h>.
16283         (__llrintl): Call fegetround instead of __fegetround.
16284         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
16285         instead of <fenv_libc.h>.
16286         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
16287         (__lrintl): Call fegetround instead of __fegetround.
16288         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
16289         instead of <fenv_libc.h>.
16290         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
16291         (__rintl): Call fegetround instead of __fegetround.
16293 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
16295         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
16296         arrays.
16298 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
16300         [BZ #17775]
16301         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
16302         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
16303         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
16305 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
16307         * sysdeps/i386/tls-macros.h: Include <features.h>.
16308         (TLS_LE): Use non-PIC version for GCC >= 5.0.
16309         (TLS_IE): Likewise.
16310         (TLS_LD): Likewise.
16311         (TLS_GD): Likewise.
16312         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
16313         define for GCC >= 5.0.
16315 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
16317         * math/test-fenv.c (test_single_exception, set_single_exc,
16318         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
16319         feexcp_mask_test, feenable_test, fe_single_test): Add
16320         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
16321         case where they are not used.
16322         * math/libm-test.inc: Likewise.
16323         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
16324         unused in the absence of FP rounding/exception support.
16325         * stdio-common/tst-printf-round.c: Likewise.
16326         * stdlib/tst-strtod-round.c: Likewise.
16327         * stdlib/tst-strtod-underflow.c: Likewise.
16329 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
16331         [BZ #17723]
16332         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
16333         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
16334         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
16335         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
16336         libm_hidden_weak.
16337         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
16338         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
16339         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
16340         libm_hidden_def.
16341         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
16342         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
16343         libm_hidden_weak.
16344         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
16345         Likewise.
16346         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
16347         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
16348         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
16349         libm_hidden_weak.
16350         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
16351         libm_hidden_def.
16352         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
16353         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
16354         (__feraiseexcept): Likewise.
16355         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
16356         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
16357         libm_hidden_weak.
16358         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
16359         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
16360         libm_hidden_def.
16361         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
16362         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
16363         Use libm_hidden_def.
16364         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
16365         libm_hidden_def.
16366         (feraiseexcept): Define as weak not strong alias.  Use
16367         libm_hidden_weak.
16368         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
16369         New inline function.  Factored out of ...
16370         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
16371         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
16372         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
16373         feraiseexcept.
16374         * math/w_acos.c (__acos): Likewise.
16375         * math/w_asin.c (__asin): Likewise.
16376         * math/w_ilogb.c (__ilogb): Likewise.
16377         * math/w_j0.c (y0): Likewise.
16378         * math/w_j1.c (y1): Likewise.
16379         * math/w_jn.c (yn): Likewise.
16380         * math/w_log.c (__log): Likewise.
16381         * math/w_log10.c (__log10): Likewise.
16382         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
16383         * sysdeps/aarch64/fpu/math_private.h
16384         (libc_feupdateenv_test_aarch64): Likewise.
16385         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
16386         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
16387         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
16388         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
16389         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
16390         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
16391         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
16392         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
16393         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
16394         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
16396 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
16398         [BZ #17732]
16399         * io/test-utime.c (main): Replace %ld with %jd and cast to
16400         intmax_t.
16401         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
16402         * nptl/tst-mutex5.c: Include <stdint.h>.
16403         (do_test): Replace %ld with %jd and cast to intmax_t.
16404         * posix/tst-regex.c (run_test): Likewise.
16405         (run_test_backwards): Likewise.
16406         * rt/tst-clock.c: Include <stdint.h>.
16407         (clock_test): Replace %ld with %jd and cast to intmax_t.
16408         * rt/tst-cpuclock1.c: Include <stdint.h>.
16409         (do_test): Replace %lu with %ju and cast to uintmax_t.
16410         * rt/tst-cpuclock2.c: Include <stdint.h>.
16411         (do_test): Replace %lu with %ju and cast to uintmax_t.
16412         * rt/tst-mqueue1.c: Include <stdint.h>.
16413         (check_attrs): Replace %ld with %jd and cast to intmax_t.
16414         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
16415         intmax_t.
16416         * rt/tst-mqueue4.c (do_test): Likewise.
16417         * rt/tst-timer4.c: Include <stdint.h>.
16418         (check_ts): Replace %ld with %jd and cast to intmax_t.
16419         (do_test): Likewise.
16420         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
16421         and cast to intmax_t.
16422         * sysdeps/pthread/tst-timer.c (main): Likewise.
16423         * time/clocktest.c (main): Likewise.
16424         * time/tst-posixtz.c (do_test): Likewise.
16425         * timezone/tst-timezone.c (main): Likewise.
16427 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
16428             H.J. Lu  <hongjiu.lu@intel.com>
16430         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
16431         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
16432         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
16433         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
16434         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
16435         version if bit_Fast_Unaligned_Load is set.
16436         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
16437         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
16438         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
16439         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
16440         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
16441         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
16442         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16443         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
16444         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
16445         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
16446         to 4.
16447         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
16448         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
16449         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
16450         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
16452 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
16454         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
16455         instead of #if to avoid a Wundef warning.
16456         * stdlib/tst-limits.c (do_test): Likewise.
16458         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
16459         parallel other exception macros.
16460         (fegetenv): Convert from macro to extern inline so that it applies
16461         retroactively to inline functions already seen by the compiler.
16462         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
16464         * posix/Makefile (before-compile): Use $(objpfx) for
16465         posix-conf-vars-def.h.
16467 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
16469         * posix/getconf.c (main): Use size_t for type of I.
16470         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
16471         NSPEC.
16473         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
16474         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
16475         * posix/posix-envs.def: Likewise.
16476         * sysdeps/posix/sysconf.c: Likewise.
16477         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
16478         (specs): Remove array.
16479         * scripts/gen-posix-conf-vars.awk: Support generation of specs
16480         array.
16482         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
16483         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
16484         (__sysconf): Use CONF_IS_* macros.
16486         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
16487         ($(objpfx)posix-conf-vars-def.h): New target.
16488         * posix/posix-conf-vars.list: New file.
16489         * posix/posix-conf-vars.h: New file.
16490         * posix/confstr.c: Include posix-conf-vars.h.
16491         (confstr): Use CONF_IS_* macros.
16492         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
16493         CONF_IS_* macros.
16494         * scripts/gen-posix-conf-vars.awk: New file.
16496 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
16498         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
16499         fegetround): Add no-op macros to avoid linknamespace issues.
16501         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
16502         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
16504         * sysdeps/unix/sysv/linux/tile/sysdep.h
16505         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
16506         assembly-specific section to avoid a redefinition warning.
16508         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
16509         long before casting to pointer to avoid a cast warning.
16511 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
16513         * sysdeps/tile/tilegx/Implies: New file.
16515 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
16517         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
16519 2014-12-23  Florian Weimer  <fweimer@redhat.com>
16521         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
16523 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
16525         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
16526         not define.
16527         * sysdeps/unix/sysv/linux/utimes.c: Do not include
16528         <kernel-features.h>.
16529         (__utimes) [__NR_utimes]: Make code unconditional.
16530         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
16531         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16532         (__ASSUME_UTIMES): Do not undefine.
16533         * sysdeps/unix/sysv/linux/tile/kernel-features.h
16534         (__ASSUME_UTIMES): Likewise.
16535         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16536         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
16537         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
16538         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
16540 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
16542         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
16544 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
16546         [BZ #17747]
16547         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
16548         alias to weak alias for j0l, y0l.
16549         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
16550         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
16552         [BZ #17746]
16553         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
16554         conversion.
16556 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
16558         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
16559         to zero if not already defined.
16561 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
16563         [BZ #17724]
16564         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
16565         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
16566         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
16567         (char *) casts added.
16568         * sysdeps/ieee754/k_standardf.c: New file.
16569         * sysdeps/ieee754/k_standardl.c: Likewise.
16570         * math/Makefile (libm-support): Remove k_standard.
16571         (libm-calls): Add k_standard.
16573 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
16575         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
16576         Optimize to avoid an unnecessary FPCR read.
16578 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
16580         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
16581         Optimize to reduce FPCR/FPSR accesses.
16583 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
16585         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
16586         Call libc_fetestexcept_aarch64.
16588 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
16590         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
16591         Call libc_fesetround_aarch64.
16593 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
16595         [BZ #17733]
16596         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
16597         (__bind): Do not define as weak alias.
16598         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
16599         define.
16600         (__getsockname): Do not define as weak alias.
16602 2014-12-22  Will Newton  <will.newton@linaro.org>
16604         * manual/install.texi: Document that we require bison 2.7
16605         or above.
16606         * INSTALL: Regenerate.
16607         * configure.ac: Use AC_CHECK_PROG_VER instead of
16608         AC_PATH_PROG when checking for bison and check for
16609         version 2.7 or above.
16610         * configure: Regenerate.
16612 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
16614         [BZ #17745]
16615         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
16616         * sysdeps/tile/ffsll.c (ffsll): To here.
16618         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
16620 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
16622         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
16623         if not defined.
16624         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
16625         definition.
16626         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
16627         hidden ___tls_get_addr.
16628         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
16629         hidden __tls_get_addr.
16630         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
16631         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
16632         Likewise.
16634 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
16636         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
16637         _dl_init call.
16639 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
16641         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
16642         from "call _dl_init@PLT".
16643         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
16645 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
16647         * manual/search.texi: (Array Sort Function): Clarify stable sorting
16648         guarantees.
16650 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
16652         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
16654 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
16656         [BZ #17744]
16657         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
16658         strnlen.
16660 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
16662         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
16663         of multu on MIPSr6.
16664         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
16665         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
16666         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
16667         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
16668         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
16670 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
16672         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
16673         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
16674         (PTR_SUBU): Use subu for mips32r6/mips64r6.
16675         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
16676         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
16677         mips32r6/mips64r6.
16678         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
16680 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
16682         * string/strncat.c (STRNCAT): Simplify implementation.
16684 2014-12-19  David S. Miller  <davem@davemloft.net>
16686         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
16687         access the quad as both a long double and as a series of 4 words.
16689         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
16690         link_map->l_info array access.
16692 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
16694         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
16696         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
16697         * math/atest-exp2.c (TIMEOUT): Likewise.
16698         * math/atest-sincos.c (TIMEOUT): Likewise.
16700 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
16702         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
16703         -Wno-error with -fno-builtin-lround.
16705 2014-12-19  Torvald Riegel  <triegel@redhat.com>
16707         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
16708         Contains futex constants and functions moved over from ...
16709         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
16710         <lowlevellock-futex.h>.
16711         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
16712         (lll_timedwait_tid): Add comments and parentheses around macro
16713         arguments.
16715 2014-12-19  Torvald Riegel  <triegel@redhat.com>
16717         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
16718         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
16719         (__lll_private_flag): Remove.
16720         (lll_futex_wait): Likewise.
16721         (lll_futex_timed_wait): Likewise.
16722         (lll_futex_wake): Likewise.
16723         (lll_futex_requeue): Likewise.
16724         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
16725         (__lll_timedwait_tid): Spell out argument names.
16726         (lll_timedwait_tid): Add comments and parentheses around macro
16727         arguments.
16728         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
16729         LLL_SHARED and LLL_PRIVATE usable from assembly code.
16731 2014-12-19  Torvald Riegel  <triegel@redhat.com>
16733         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
16734         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
16735         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
16736         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
16737         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
16738         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
16739         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
16740         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
16741         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
16742         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
16743         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
16744         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
16745         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
16746         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
16747         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
16748         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
16749         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
16750         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
16751         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
16753 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
16755         * sysdeps/x86_64/x32/Makefile: New file.
16757 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
16759         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
16760         1L with (mp_limb_t) 1.
16762 2014-12-17  Roland McGrath  <roland@hack.frob.com>
16764         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
16765         * nptl/libc_pthread_init.c: ... here.
16766         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
16767         * nptl/register-atfork.c: ... here.
16769         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
16770         Use pthread_sigmask rather than INTERNAL_SYSCALL.
16771         Use assert_perror to check its return value.
16772         (__gai_create_helper_thread): Likewise.
16774         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
16776         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
16778 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
16780         [BZ #17725]
16781         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
16782         __profil_counter.
16783         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
16784         Likewise.
16785         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
16786         Likewise.
16787         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
16788         Likewise.
16789         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
16790         (profil_counter): Likewise.
16791         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
16792         (profil_counter): Likewise.
16793         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
16794         Likewise.
16795         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
16796         Likewise.
16797         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
16798         (profil_counter): Likewise.
16799         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
16800         Likewise.
16801         [!__profil_counter] (profil_counter): Define as weak alias of
16802         __profil_counter.
16803         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
16804         (profil_counter): Rename to __profil_counter.
16805         [!__profil_counter] (profil_counter): Define as weak alias of
16806         __profil_counter.
16807         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
16808         (profil_counter): Rename to __profil_counter.
16809         [!__profil_counter] (profil_counter): Define as weak alias of
16810         __profil_counter.
16811         * sysdeps/posix/profil.c: Update comment referring to
16812         profil_counter.
16813         (__profil): Use __profil_counter instead of profil_counter.
16814         * sysdeps/posix/sprofil.c (profil_counter): Rename to
16815         __profil_counter.  Use __profil_counter_ushort and
16816         __profil_counter_uint in definitions.
16817         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
16818         instead of profil_counter_uint and profil_counter_ushort.
16820         [BZ #17722]
16821         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
16822         define as weak alias of __inet_makeaddr.
16823         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
16824         as weak alias of __inet_addr.
16825         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
16826         as weak alias of __inet_pton.  Use libc_hidden_weak.
16827         * include/arpa/inet.h (__inet_pton): Declare.  Use
16828         libc_hidden_proto.
16829         (inet_makeaddr): Don't use libc_hidden_proto.
16830         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
16831         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
16832         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
16833         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
16834         Remove variable.
16835         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
16836         (test-xfail-POSIX/time.h/linknamespace): Likewise.
16838 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
16840         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
16842 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
16844         * stdio-common/bug-vfprintf-nargs.c (do_test):
16845         Cast value to intptr_t to avoid format warning
16846         for usage with PRIdPTR printing macro.
16848 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
16850         * libio/tst-widetext.c (do_test):
16851         Use format type %td instead of %Zd for ptrdiff_t
16852         in order to avoid format warning.
16854 2014-12-17  Andreas Schwab  <schwab@suse.de>
16856         * nscd/mem.c (gc): Add size_t cast to match printf format.
16858 2014-12-16  Roland McGrath  <roland@hack.frob.com>
16860         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
16861         (init): Apply PTR_MANGLE to pointers before storing them.
16862         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
16863         before using them.
16865 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
16867         [BZ #17719]
16868         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
16869         define as weak alias of __memrchr.
16870         (__memrchr): Do not define as strong alias of memrchr.
16871         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
16872         Remove variable.
16873         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
16874         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
16875         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
16877         [BZ #17717]
16878         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
16879         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
16880         (if_indextoname): Rename to __if_indextoname and define as weak
16881         alias of __if_indextoname.  Use libc_hidden_weak.
16882         (if_freenameindex): Rename to __if_freenameindex and define as
16883         weak alias of __if_freenameindex.
16884         (if_nameindex): Rename to __if_nameindex and define as weak alias
16885         of __if_nameindex.
16886         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
16887         __if_nametoindex and define as weak alias of __if_nametoindex.
16888         Use libc_hidden_weak.
16889         (if_freenameindex): Rename to __if_freenameindex and define as
16890         weak alias of __if_freenameindex.
16891         (if_nameindex): Rename to __if_nameindex and define as weak alias
16892         of __if_nameindex.
16893         (if_indextoname): Rename to __if_indextoname and define as weak
16894         alias of __if_indextoname.  Use libc_hidden_weak.
16895         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
16896         __if_nametoindex and define as weak alias of __if_nametoindex.
16897         Use libc_hidden_weak.
16898         (if_freenameindex): Rename to __if_freenameindex and define as
16899         weak alias of __if_freenameindex.  Use libc_hidden_weak.
16900         (if_nameindex_netlink): Use __if_freenameindex instead of
16901         if_freenameindex.
16902         (if_nameindex): Rename to __if_nameindex and define as weak alias
16903         of __if_nameindex.  Use libc_hidden_weak.
16904         (if_indextoname): Rename to __if_indextoname and define as weak
16905         alias of __if_indextoname.  Use libc_hidden_weak.
16906         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
16907         libc_hidden_proto.
16908         [!_ISOMAC] (__if_freenameindex): Likewise.
16909         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
16910         if_nametoindex.
16911         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
16912         variable.
16913         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
16914         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
16915         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
16916         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
16917         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
16918         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
16919         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
16921         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
16922         Remove variable.
16923         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
16924         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
16926 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
16928         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
16929         subscript above bounds'
16931         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
16932         bounds.
16934 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
16936         * libio/tst-fopenloc.c: Use test-skeleton.c.
16938         * stdlib/tst-bsearch.c: Use test-skeleton.c.
16939         (entry): Rename to ITEM.
16940         (do_test, comp): Adjust.
16942         * stdio-common/tst-fseek.c: Use test-skeleton.c.
16944 2014-12-16  Torvald Riegel  <triegel@redhat.com>
16946         * string/tester.c: Include <libc-internal.h>.
16947         (test_memset): Ignore -Wmemset-transposed-args.
16949 2014-12-16  Torvald Riegel  <triegel@redhat.com>
16951         * misc/tst-mntent2.c (do_test): Fix warning.
16953 2014-12-16  Torvald Riegel  <triegel@redhat.com>
16955         * elf/tst-unique4lib.cc(a): Mark as used.
16957 2014-12-16  Florian Weimer  <fweimer@redhat.com>
16959         [BZ #17630]
16960         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
16961         names.
16963 2014-12-16  Allan McRae  <allan@archlinux.org>
16965         * stdio-common/Makefile (tests): Re-add bug26.
16967 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
16969         [BZ #17657]
16970         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
16971         static array.
16973 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
16975         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
16976         (__lll_lock_wait): Likewise.
16977         (__lll_timedlock_wait): Likewise.
16978         (__lll_timedwait_tid): Likewise.
16979         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
16980         (__lll_robust_timedlock_wait): Likewise.
16981         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
16982         (lll_cond_trylock): Likewise.
16983         (__lll_lock): Likewise.
16984         (__lll_robust_lock): Likewise.
16985         (__lll_cond_lock): Likewise.
16986         (lll_robust_cond_lock): Likewise.
16987         (__lll_timedlock): Likewise.
16988         (__lll_robust_timedlock): Likewise.
16989         (__lll_unlock): Likewise.
16990         (__lll_robust_unlock): Likewise.
16991         (lll_wait_tid): Likewise.
16992         (lll_timedwait_tid): Likewise.
16994 2014-12-15  Torvald Riegel  <triegel@redhat.com>
16996         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
16998 2014-12-15  Torvald Riegel  <triegel@redhat.com>
17000         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
17002 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
17004         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
17005         * stdio-common/tst-sprintf.c: Likewise.
17007 2014-12-15  Torvald Riegel  <triegel@redhat.com>
17009         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
17011 2014-12-15  Jeff Law  <law@redhat.com>
17013         [BZ #16617]
17014         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
17015         on the heap.  (CVE-2012-3406)
17016         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
17017         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
17018         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
17020 2014-12-15  Will Newton  <will.newton@linaro.org>
17022         * manual/install.texi: Bump required version of texinfo
17023         to 4.7 from 4.5.
17024         * INSTALL: Regenerated.
17025         * configure.ac: Check for makeinfo version 4.7 and above.
17026         * configure: Regenerated.
17028 2014-12-12  Roland McGrath  <roland@hack.frob.com>
17030         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
17031         PREFIX, string constant to insert between directory and name.
17032         * sysdeps/posix/shm_open.c: Update caller.
17033         * sysdeps/posix/shm_unlink.c: Likewise.
17034         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
17035         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
17036         (SEM_SHM_PREFIX): New macro.
17037         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
17038         [$(have-thread-library) = no].
17039         * nptl/Makefile (libpthread-routines): Add shm-directory.
17040         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
17041         * sysdeps/nptl/shm-directory.h: New file.
17042         * sysdeps/posix/shm-directory.c
17043         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
17044         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
17045         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
17046         INTERNAL_SYSCALL.
17047         (__where_is_shmfs): Function removed.
17048         (mountpoint, defaultmount, defaultdir, __namedsem_once):
17049         Variables removed.
17050         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
17051         Use SHM_GET_NAME.
17052         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
17054         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
17055         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
17056         unconditional for use inside libpthread.
17057         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
17059 2014-12-12  Roland McGrath  <roland@hack.frob.com>
17061         * nptl/pthread_getaffinity.c: New file.
17062         * nptl/pthread_setaffinity.c: New file.
17063         * nptl/pthread_getname.c: New file.
17064         * nptl/pthread_setname.c: New file.
17066         * nptl/pthread_create.c (START_THREAD_DEFN)
17067         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
17069 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
17070             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17072         * resolv/res_send.c (send_vc): Disable warning resplen may
17073         be used uninitialized.
17075 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
17077         * nptl/tst-mutex6.c
17078         (ATTR_NULL): New define checks ATTR against NULL.
17079         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
17080         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
17082 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
17084         [BZ #17581]
17085         * malloc/hooks.c
17086         (mem2mem_check): Revert my previous change.
17087         (malloc_check_get_size): Revert my previous change.
17088         (mem2chunk_check): Revert my previous change.
17090 2014-12-11  Roland McGrath  <roland@hack.frob.com>
17092         * sysdeps/posix/shm-directory.c: New file.
17093         * sysdeps/posix/shm-directory.h: New file.
17094         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
17095         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
17096         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
17097         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
17098         Transmute EPERM to EACCES.
17099         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
17100         from ...
17101         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
17102         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
17104 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17106         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
17107         pointer and cast to uintptr_t.
17108         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
17109         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
17110         Add cast to avoid warning.
17111         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
17113 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
17115         * nptl/semaphore.h: Move to ...
17116         * sysdeps/pthread/semaphore.h: ... here.
17117         * Makefile (installed-headers): Change nptl/semaphore.h to
17118         sysdeps/pthread/semaphore.h.
17120 2014-12-11  Roland McGrath  <roland@hack.frob.com>
17122         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
17123         generated error format strings.
17125         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
17126         -Wformat-extra-args warnings for scanf formats.
17127         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
17128         test of zero-length format (duh).
17129         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
17130         corner-case scanf format test.
17131         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
17132         generated fprintf format string.
17133         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
17134         corner-case sprintf format tests.
17135         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
17136         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
17137         -Wformat-extra-args warnings throughout.
17138         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
17139         (CFLAGS-scanf4.c): Likewise.
17140         (CFLAGS-scanf7.c): Likewise.
17141         (CFLAGS-tst-sprintf.c): Likewise.
17142         (CFLAGS-tst-printf.c): Likewise.
17143         (CFLAGS-tst-printfsz.c): Likewise.
17145 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
17147         * include/cpio.h: New file.
17148         * include/fmtmsg.h: Likewise.
17150         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
17151         corresponding format argument to size_t.
17152         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
17153         arguments.
17154         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
17155         corresponding format argument to size_t.
17156         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
17157         arguments.
17158         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
17159         corresponding format argument to size_t.
17160         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
17161         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
17162         (CFLAGS-tst-mbswcs2.c): Likewise.
17163         (CFLAGS-tst-mbswcs3.c): Likewise.
17164         (CFLAGS-tst-mbswcs4.c): Likewise.
17165         (CFLAGS-tst-mbswcs5.c): Likewise.
17166         (CFLAGS-tst-trans.c): Likewise
17168 2014-12-11  Roland McGrath  <roland@hack.frob.com>
17170         * posix/regexbug1.c (main): Use "%s" format with regerror results,
17171         rather than assuming they won't contain any '%'s.
17173 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
17175         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
17176         inhibit_loop_to_libcall to avoid recursive calls.
17177         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
17178         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
17180 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
17182         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
17183         prototype.
17185 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
17187         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
17188         integer value instead of boolean.
17190 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
17192         * malloc/malloc.c: Fix powerof2 check.
17194 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
17196         * locale/programs/locfile.h (maybe_swap_uint32):
17197         Remove inline and add unused attribute.
17199 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
17201         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
17202         Truncating assembler expression to a .long expression.
17204 2014-12-11  Andreas Schwab  <schwab@suse.de>
17206         * elf/rtld.c (struct map_args): Constify str member.
17207         (do_preload): Constify fname argument.
17209 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17211         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
17212         constants definition.
17214 2014-12-11  Andreas Schwab  <schwab@suse.de>
17216         [BZ #16657]
17217         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
17218         FORCE_ELISION instead of DO_ELISION.
17219         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
17220         Remove.
17221         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
17222         Likewise.
17224         * iconvdata/gconv-modules: Remove duplicate entry.
17226 2014-12-11  Will Newton  <will.newton@linaro.org>
17228         Merge gettext 0.19.3 into intl/.
17230         This involves a number of cosmetic changes to comments
17231         and ANSI function definitions and prototypes throughout
17232         all the files. The gettext copyright header is used but
17233         with the date ranges taken from the glibc copy.
17235         * NEWS: Add gettext merge to 2.21.
17236         * intl/bindtextdom.c: Switch to gettext copyright.
17237         Use ANSI definitions and prototypes.
17238         Use gl_* locking primitives rather than __libc_* ones.
17239         Use __builtin_expect rather than __glibc_likely/unlikely.
17240         * intl/dcgettext.c: Switch to gettext copyright.
17241         Use ANSI definitions and prototypes.
17242         * intl/dcigettext.c: Switch to gettext copyright.
17243         Use ANSI definitions and prototypes.
17244         (INTDIV0_RAISES_SIGFPE): New define.
17245         Use gl_* locking primitives rather than __libc_* ones.
17246         Include eval-plural.h instead of plural-eval.c.
17247         Use __builtin_expect rather than __glibc_likely/unlikely.
17248         * intl/dcngettext.c: Switch to gettext copyright.
17249         Use ANSI definitions and prototypes.
17250         * intl/dgettext.c: Likewise.
17251         * intl/dngettext.c: Likewise.
17252         * intl/plural-eval.c: Renamed to...
17253         * intl/eval-plural.h: ...this.
17254         * intl/explodename.c: Switch to gettext copyright.
17255         Use ANSI definitions and prototypes.
17256         (_nl_explode_name): Use strchr instead of __rawmemchr.
17257         * intl/finddomain.c: Switch to gettext copyright.
17258         Use ANSI definitions and prototypes.
17259         Use gl_* locking primitives rather than __libc_* ones.
17260         (_nl_find_domain): Use malloc rather than alloca for
17261         allocation of temporary locale name.
17262         * intl/gettext.c: Switch to gettext copyright.
17263         Use ANSI definitions and prototypes.
17264         * intl/gettextP.h: Switch to gettext copyright.
17265         Use ANSI definitions and prototypes.
17266         Use gl_* locking primitives rather than __libc_* ones.
17267         * intl/gmo.h: Switch to gettext copyright.
17268         (struct sysdep_string): Move struct segment_pair outside of
17269         struct definition.
17270         * intl/hash-string.c: Use ANSI definitions and prototypes.
17271         * intl/hash-string.h: Switch to gettext copyright.
17272         Use ANSI definitions and prototypes.
17273         * intl/l10nflist.c: Switch to gettext copyright.
17274         Use ANSI definitions and prototypes.
17275         (_nl_normalize_codeset): Avoid integer overflow.
17276         * intl/loadinfo.h: Switch to gettext copyright.
17277         Use ANSI definitions and prototypes.
17278         (LIBINTL_DLL_EXPORTED): New define.
17279         (PATH_SEPARATOR): New define.
17280         * intl/loadmsgcat.c: Switch to gettext copyright.
17281         * intl/localealias.c: Switch to gettext copyright.
17282         Use ANSI definitions and prototypes.
17283         (_nl_expand_alias): Use PATH_SEPARATOR.
17284         * intl/ngettext.c: Switch to gettext copyright.
17285         Use ANSI definitions and prototypes.
17286         * intl/plural-exp.c: Likewise.
17287         * intl/plural-exp.h: Switch to gettext copyright.
17288         Use ANSI definitions and prototypes.
17289         (struct expression): Move definition of enum operator outside
17290         of struct definition.
17291         * intl/plural.c: Regenerate.
17292         * intl/plural.y: Switch to gettext copyright.
17293         Use ANSI definitions and prototypes.
17294         Port to bison 3.0.
17295         * intl/textdomain.c: Switch to gettext copyright.
17296         Use ANSI definitions and prototypes.
17297         Use gl_* locking primitives rather than __libc_* ones.
17299 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
17301         * debug/warning-nop.c: Add used atrribute.
17303 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
17305         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
17307         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
17308         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
17309         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
17311 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
17312             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17314         [BZ #17634]
17315         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
17316         Undefine after defining function.  Define as weak alias of
17317         __wcschr.  Use libc_hidden_weak.
17318         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
17319         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
17320         (libc_hidden_def): Also define __GI___wcschr alias.
17321         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
17322         __wcschr and define as weak alias of __wcschr.
17323         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
17324         __wcschr.
17325         [!WCSCHR] (DEFAULT_WCSCHR): Define.
17326         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
17327         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
17328         libc_hidden_weak.  Do not use libc_hidden_def.
17329         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
17330         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
17331         __GI___wcschr alias.
17332         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
17333         [IS_IN (libc)] (wcschr): Define as macro expanding to
17334         __redirect_wcschr.
17335         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
17336         [IS_IN (libc)] (__wcschr_power6): Likewise.
17337         [IS_IN (libc)] (__wcschr_power7): Likewise.
17338         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
17339         instead of wcschr.
17340         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
17341         __libc_wcschr.
17342         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
17343         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
17344         __wcschr and define as weak alias of __wcschr.  Use
17345         libc_hidden_builtin_def.
17346         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
17347         as weak alias of __wcschr.  Use libc_hidden_weak.
17348         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
17349         wcschr.
17350         * time/era.c (_nl_init_era_entries): Likewise.
17351         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
17352         variable.
17353         (test-xfail-XPG3/time.h/linknamespace): Likewise.
17354         (test-xfail-XPG4/time.h/linknamespace): Likewise.
17356 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
17358         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
17359         format for long int variable.
17361 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
17363         [BZ #10672]
17364         * manual/search.texi: (Array Sort Function): Remove claim how to make
17365         qsort stable.
17367 2014-12-10  Andreas Schwab  <schwab@suse.de>
17369         [BZ #12847]
17370         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
17371         user-controlled locks.
17373 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
17375         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
17376         register.
17378 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
17380         * configure.ac (--disable-werror): New configure option.
17381         (enable_werror): New AC_SUBST.
17382         * configure: Regenerated.
17383         * config.make.in (enable-werror): New variable.
17384         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
17385         -Wno-error=undef.
17386         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
17387         * manual/install.texi (Configuring and compiling): Document
17388         --disable-werror.
17389         * INSTALL: Regenerated.
17390         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
17391         (CFLAGS-tst-chk2.c): Likewise.
17392         (CFLAGS-tst-chk3.c): Likewise.
17393         (CFLAGS-tst-chk4.cc): Likewise.
17394         (CFLAGS-tst-chk5.cc): Likewise.
17395         (CFLAGS-tst-chk6.cc): Likewise.
17396         (CFLAGS-tst-lfschk1.c): Likewise.
17397         (CFLAGS-tst-lfschk2.c): Likewise.
17398         (CFLAGS-tst-lfschk3.c): Likewise.
17399         (CFLAGS-tst-lfschk4.cc): Likewise.
17400         (CFLAGS-tst-lfschk5.cc): Likewise.
17401         (CFLAGS-tst-lfschk6.cc): Likewise.
17403         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
17404         (main): Disable -Wdeprecated-declarations around calls to
17405         register_printf_function.
17407         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
17408         (do_test): Disable -Wdiv-by-zero around some calls to
17409         fwrite_unlocked and fread_unlocked.
17411         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
17412         (DIAG_POP_NEEDS_COMMENT): Likewise.
17413         (_DIAG_STR1): Likewise.
17414         (_DIAG_STR): Likewise.
17415         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
17416         * stdio-common/bug21.c: Include <libc-internal.h>.
17417         (do_test): Disable -Wformat around call to sscanf.
17418         * stdio-common/scanf14.c: Include <libc-internal.h>.
17419         (main): Disable -Wformat around some calls to scanf functions.
17421 2014-12-09  Torvald Riegel  <triegel@redhat.com>
17423         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
17425 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17427         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
17428         stack variable alignment.
17430 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
17432         [BZ #17682]
17433         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
17434         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
17435         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
17436         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
17437         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
17438         __getrlimit instead of getrlimit.
17439         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
17440         __gettimeofday instead of gettimeofday.
17441         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
17442         Likewise.
17443         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
17444         Likewise.
17445         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
17446         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
17447         Remove variable.
17448         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
17449         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
17451 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17453         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
17454         for wide-character tests.
17456 2014-12-04  Roland McGrath  <roland@hack.frob.com>
17458         * io/openat64.c: #include <libc-internal.h>
17459         (__openat64): Prototypify.  Use ignore_value on MODE.
17460         * io/openat.c: Likewise.
17461         * misc/reboot.c: #include <libc-internal.h>
17462         (reboot): Prototypify.  Use ignore_value on HOWTO.
17463         * misc/ptrace.c: #include <libc-internal.h>
17464         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
17466 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
17468         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
17469         XPG4, UNIX98 and XOPEN2K.
17470         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
17471         Remove variable.
17472         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
17474 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
17476         * libio/fileops.c: Use ISO C style for function definitions.
17477         * libio/iofopen.c: Likewise.
17478         * libio/wfileops.c: Likewise.
17480         [BZ #17653]
17481         * libio/fileops.c (_IO_new_file_underflow): Unset cached
17482         offset on EOF.
17483         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
17484         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
17485         (fgets_func): Function pointer to fgets and fgetws.
17486         (do_ftell_test): Add test to verify ftell value after read
17487         EOF.
17488         (do_test): Set fgets_func.
17490         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
17491         O_TRUNC flag for w and w+ modes.
17492         (do_rewind_test): Likewise.
17493         (do_ftell_test): Likewise.
17494         (do_write_test): Likewise.
17496         [BZ #17647]
17497         * libio/fileops.c (do_ftell): Seek only when there are
17498         unflushed writes.
17499         * libio/wfileops.c (do_ftell_wide): Likewise.
17500         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
17501         test case.
17502         (do_one_test): Call it.
17504 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
17506         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
17507         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
17508         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
17509         Remove variable.
17510         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
17511         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
17512         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
17514 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
17516         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
17517         Remove variable.
17518         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
17520         [BZ #17668]
17521         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
17522         as weak alias of __getifaddrs.  Use libc_hidden_weak.
17523         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
17524         __freeifaddrs.  Use libc_hidden_weak.
17525         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
17526         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
17527         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
17528         __freeifaddrs.  Use libc_hidden_weak.
17529         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
17530         __getifaddrs and define as weak alias of __getifaddrs.  Use
17531         libc_hidden_weak.
17532         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
17533         __freeifaddrs.  Use libc_hidden_weak.
17534         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
17535         Remove variable.
17536         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
17537         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
17539 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
17541         [BZ #17601]
17542         * sysdeps/mips/start.S (__start): Use indirect jump to call
17543         __libc_start_main.
17545 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
17547         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
17549         * nptl/tst-mutex1.c: Include <stdbool.h>.
17550         [!ATTR] (ATTR_NULL): New macro.
17551         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
17552         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
17553         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
17555         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
17556         to char *.
17558         [BZ #17665]
17559         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
17560         Change conditional to [__USE_MISC].
17562         [BZ #17664]
17563         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
17564         fgets_unlocked.
17565         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
17566         __fgets_unlocked.
17567         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
17568         fgets_unlocked.
17569         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
17570         Remove variable.
17571         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
17572         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
17573         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
17574         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
17575         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
17576         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
17577         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
17578         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
17579         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
17581         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
17583 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17585         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
17586         Remove strpbrk objects.
17587         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17588         (__libc_ifunc_impl_list): Remove strpbrk implementation.
17589         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
17590         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
17591         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
17592         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
17594         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
17595         Remove strcspn objects.
17596         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17597         (__libc_ifunc_impl_list): Remove strcspn implementation.
17598         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
17599         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
17600         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
17601         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
17603         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
17604         Remove strspn objetcs.
17605         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17606         (__libc_ifunc_impl_list): Remove strspn implementation.
17607         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
17608         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
17609         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
17610         * sysdeps/powerpc/powerpc64/strspn.S: New file.
17612 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
17614         [BZ #17581]
17615         * malloc/hooks.c
17616         (mem2mem_check): Add a terminator to the chain of checking blocks.
17617         (malloc_check_get_size): Use it here.
17618         (mem2chunk_check): Ditto.
17620 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17622         * sysdeps/powerpc/powerpc64/strtok.S: New file.
17623         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
17625 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
17627         * bits/ioctl-types.h: Indent preprocessor directives correctly.
17629         * nptl/nptl-init.c: Include libc-internal.h.
17630         (__pthread_initialize_minimal_internal): Use ROUND_UP.
17632         * elf/ldconfig.c (search_dir): Expand comment.
17634 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
17636         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
17637         variable.
17638         (linknamespace-symlist-stdlibs-tests): Likewise.
17639         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
17640         instead of $(objpfx)symlist-stdlibs.
17641         (linknamespace-libs-isoc): New variable.
17642         (linknamespace-libs): Use $(linknamespace-libs-isoc).
17643         (linknamespace-libs-ISO): New variable.
17644         (linknamespace-libs-ISO99): Likewise.
17645         (linknamespace-libs-ISO11): Likewise.
17646         (linknamespace-libs-XPG3): Likewise.
17647         (linknamespace-libs-XPG4): Likewise.
17648         (linknamespace-libs-POSIX): Likewise.
17649         (linknamespace-libs-UNIX98): Likewise.
17650         (linknamespace-libs-XOPEN2K): Likewise.
17651         (linknamespace-libs-POSIX2008): Likewise.
17652         (linknamespace-libs-XOPEN2K8): Likewise.
17653         ($(objpfx)symlist-stdlibs): Replace by
17654         $(linknamespace-symlist-stdlibs-tests).  Use
17655         $(linknamespace-libs-$*) as set of libraries.
17656         ($(linknamespace-header-tests)): Update dependencies.  Use
17657         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
17658         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
17659         * conform/linknamespace.pl: Remove comment about considering
17660         definitions of symbols from irrelevant libraries.
17662 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
17664         [BZ #13862]
17665         * elf/dl-tls.c: Include <atomic.h>.
17666         (oom): Remove #ifdef SHARED/#endif.
17667         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
17668         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
17669         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
17670         big enough.
17671         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
17672         * nptl/Makefile (tests): Add tst-stack4.
17673         (modules-names): Add tst-stack4mod.
17674         ($(objpfx)tst-stack4): New.
17675         (tst-stack4mod.sos): Likewise.
17676         ($(objpfx)tst-stack4.out): Likewise.
17677         ($(tst-stack4mod.sos)): Likewise.
17678         (clean): Likewise.
17679         * nptl/tst-stack4.c: New file.
17680         * nptl/tst-stack4mod.c: Likewise.
17682 2014-11-27  J. Brown  <jb999@gmx.de>
17684         * sysdeps/x86/bits/string.h: Add recent CPUs.
17686 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
17688         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
17689         sigblock.
17691         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
17692         feof.
17694         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
17695         variable.
17697 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
17699         * nscd/connections.c: Include libc-internal.h because of macro
17700         usage ignore_value.
17702 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
17704         * string/bits/string3.h (__warn_memset_zero_len): Don't
17705         declare for gcc newer than 5.0.
17706         (memset): Don't test for zero-length __LEN for gcc newer than
17707         5.0.
17709 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
17711         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
17712         size_t for %zu format.
17714         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
17715         difference, not %ju.
17717 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
17719         * include/libc-internal.h (ignore_value): New macro.
17720         * nscd/connections.c (restart): Wrap calls to setuid and setgid
17721         with ignore_value.
17723         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
17724         definition.
17726         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
17727         pthread_cleanup_push to void *.
17729         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
17730         Undefine.
17732         [BZ #16619]
17733         [BZ #16740]
17734         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
17735         instead of 1L << 52.
17737         * libio/bug-rewind.c (do_test): Check fwscanf return values.
17738         * libio/bug-rewind2.c (do_test): Likewise.
17740         * debug/test-stpcpy_chk-ifunc.c: Remove file.
17741         * debug/test-strcpy_chk-ifunc.c: Likewise.
17742         * wcsmbs/test-wcschr-ifunc.c: Likewise.
17743         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
17744         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
17745         * wcsmbs/test-wcslen-ifunc.c: Likewise.
17746         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
17747         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
17748         * Rules [$(multi-arch) = no] (tests): Do not filter out
17749         $(tests-ifunc).
17750         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
17751         * debug/Makefile (tests-ifunc): Remove variable.
17752         (tests): Do not add $(tests-ifunc).
17753         * wcsmbs/Makefile (tests-ifunc): Remove variable.
17754         (tests): Do not add $(tests-ifunc).
17755         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
17756         [TEST_IFUNC]: Remove conditionals.
17757         * string/test-string.h (TEST_IFUNC): Remove macro.
17758         [TEST_IFUNC]: Remove conditionals.
17760         * string/test-strchr.c [!WIDE] (L): New macro.
17761         [WIDE] (L): Likewise.
17762         (check1): Use CHAR instead of char.  Use L on string and character
17763         constants.
17765 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
17767         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
17768         tests.
17769         * sysdeps/powerpc/bits/atomic.h
17770         (__arch_atomic_exchange_and_add_32_acq): Add definition.
17771         (__arch_atomic_exchange_and_add_32_rel): Likewise.
17772         (atomic_exchange_and_add_acq): Likewise.
17773         (atomic_exchange_and_add_rel): Likewise.
17774         * sysdeps/powerpc/powerpc32/bits/atomic.h
17775         (__arch_atomic_exchange_and_add_64_acq): Add definition.
17776         (__arch_atomic_exchange_and_add_64_rel): Likewise.
17777         * sysdeps/powerpc/powerpc64/bits/atomic.h
17778         (__arch_atomic_exchange_and_add_64_acq): Add definition.
17779         (__arch_atomic_exchange_and_add_64_rel): Likewise.
17781 2014-11-26  Torvald Riegel  <triegel@redhat.com>
17783         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
17784         Change synchronization of __sched_fifo_min_prio and
17785         __sched_fifo_max_prio.
17786         * nptl/pthread_mutexattr_getprioceiling.c
17787         (pthread_mutexattr_getprioceiling): Likewise.
17788         * nptl/pthread_mutexattr_setprioceiling.c
17789         (pthread_mutexattr_setprioceiling): Likewise.
17790         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
17791         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
17792         Likewise.
17794 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
17796         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
17797         void.
17799 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
17801         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
17802         third argument const.
17804 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
17806         fnmatch: work around GCC compiler warning bug with uninit var
17807         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
17808         This works around a bug with x86-64 GCC 4.9.2 and earlier
17809         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
17810         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
17811         used uninitialized in this function [-Wmaybe-uninitialized]".
17813 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
17815         * posix/bug-regex31.c (main): Return RES not 0.
17817 2014-11-25  Anton Blanchard <anton@samba.org>
17819         * sysdeps/powerpc/bits/atomic.h
17820         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
17822 2014-11-24  Sterling Augustine  <saugustine@google.com>
17824         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
17826 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
17828         [BZ #17608]
17829         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
17831 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
17833         [BZ #17633]
17834         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
17835         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
17836         variable.
17837         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
17838         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
17840 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
17842         * string/strncpy.c (strncpy): Improve performance by using memset.
17844 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
17846         * string/strcpy.c (strcpy):
17847         Improve performance by using strlen and memcpy.
17849 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
17851         * string/strcoll_l.c (get_next_seq): __always_inline.
17852         * string/strcoll_l.c (do_compare): __always_inline.
17854 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17856         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
17857         defined.
17858         * include/mqueue.h: Likewise.
17859         * include/stdlib.h: Likewise.
17861         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
17862         (get_null_defines): Adjust.
17863         * sunrpc/Makefile: Adjust comment.
17864         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
17865         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
17866         (CFLAGS-interp.c): Likewise.
17867         (CFLAGS-ldconfig.c): Likewise.
17868         (CPPFLAGS-.os): Likewise.
17869         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
17870         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
17871         * extra-modules.mk (extra-modules.mk): Likewise.
17872         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
17873         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
17874         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
17875         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
17876         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
17877         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
17878         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
17879         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
17880         * iconvdata/Makefile (CPPFLAGS): Likewise.
17881         (cpp-srcs-left): Add libof for all iconvdata routines.
17882         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
17883         * include/assert.h: Likewise.
17884         * include/ctype.h: Likewise.
17885         * include/errno.h: Likewise.
17886         * include/libc-symbols.h: Likewise.
17887         * include/math.h: Likewise.
17888         * include/netdb.h: Likewise.
17889         * include/resolv.h: Likewise.
17890         * include/stdio.h: Likewise.
17891         * include/stdlib.h: Likewise.
17892         * include/string.h: Likewise.
17893         * include/sys/stat.h: Likewise.
17894         * include/wctype.h: Likewise.
17895         * intl/l10nflist.c: Likewise.
17896         * libidn/idn-stub.c: Likewise.
17897         * libio/libioP.h: Likewise.
17898         * nptl/libc_multiple_threads.c: Likewise.
17899         * nptl/pthreadP.h: Likewise.
17900         * posix/regex_internal.h: Likewise.
17901         * resolv/res_hconf.c: Likewise.
17902         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
17903         * sysdeps/arm/memmove.S: Likewise.
17904         * sysdeps/arm/sysdep.h: Likewise.
17905         * sysdeps/generic/_itoa.h: Likewise.
17906         * sysdeps/generic/symbol-hacks.h: Likewise.
17907         * sysdeps/gnu/errlist.awk: Likewise.
17908         * sysdeps/gnu/errlist.c: Likewise.
17909         * sysdeps/i386/i586/memcpy.S: Likewise.
17910         * sysdeps/i386/i586/memset.S: Likewise.
17911         * sysdeps/i386/i686/memcpy.S: Likewise.
17912         * sysdeps/i386/i686/memmove.S: Likewise.
17913         * sysdeps/i386/i686/mempcpy.S: Likewise.
17914         * sysdeps/i386/i686/memset.S: Likewise.
17915         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
17916         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
17917         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
17918         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
17919         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
17920         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
17921         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
17922         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
17923         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
17924         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
17925         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17926         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17927         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17928         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17929         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17930         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17931         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
17932         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
17933         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
17934         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
17935         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
17936         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
17937         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
17938         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
17939         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
17940         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
17941         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
17942         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
17943         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
17944         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
17945         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
17946         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
17947         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
17948         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17949         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
17950         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
17951         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
17952         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
17953         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
17954         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
17955         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
17956         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
17957         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
17958         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
17959         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
17960         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
17961         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
17962         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
17963         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
17964         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
17965         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
17966         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
17967         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
17968         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
17969         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
17970         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
17971         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
17972         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
17973         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
17974         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
17975         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
17976         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
17977         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
17978         * sysdeps/nptl/bits/libc-lock.h: Likewise.
17979         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
17980         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
17981         * sysdeps/posix/closedir.c: Likewise.
17982         * sysdeps/posix/opendir.c: Likewise.
17983         * sysdeps/posix/readdir.c: Likewise.
17984         * sysdeps/posix/rewinddir.c: Likewise.
17985         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
17986         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
17987         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
17988         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
17989         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
17990         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
17991         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
17992         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
17993         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
17994         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
17995         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
17996         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
17997         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
17998         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
17999         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
18000         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
18001         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
18002         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
18003         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
18004         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
18005         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
18006         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
18007         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
18008         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
18009         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
18010         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
18011         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
18012         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
18013         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
18014         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
18015         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
18016         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
18017         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
18018         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
18019         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
18020         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
18021         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
18022         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
18023         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
18024         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
18025         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
18026         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
18027         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
18028         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
18029         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
18030         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
18031         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
18032         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
18033         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
18034         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
18035         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
18036         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
18037         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
18038         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
18039         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
18040         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
18041         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
18042         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
18043         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
18044         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
18045         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
18046         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
18047         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
18048         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
18049         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
18050         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
18051         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
18052         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
18053         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
18054         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
18055         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
18056         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
18057         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
18058         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
18059         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
18060         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
18061         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
18062         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
18063         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
18064         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
18065         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
18066         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
18067         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
18068         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
18069         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
18070         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
18071         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
18072         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
18073         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
18074         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
18075         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
18076         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
18077         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
18078         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
18079         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
18080         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
18081         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
18082         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
18083         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
18084         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
18085         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18086         * sysdeps/unix/alpha/sysdep.S: Likewise.
18087         * sysdeps/unix/alpha/sysdep.h: Likewise.
18088         * sysdeps/unix/make-syscalls.sh: Likewise.
18089         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
18090         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
18091         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
18092         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
18093         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
18094         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
18095         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
18096         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
18097         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
18098         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
18099         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
18100         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
18101         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
18102         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
18103         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
18104         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
18105         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
18106         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
18107         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
18108         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
18109         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
18110         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
18111         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
18112         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
18113         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
18114         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
18115         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
18116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
18117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
18118         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
18119         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
18120         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
18121         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
18122         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18123         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
18124         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
18125         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
18126         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18127         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
18128         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
18129         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
18130         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
18131         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
18132         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
18133         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
18134         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
18135         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18136         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18137         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
18138         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18139         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
18140         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
18141         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
18142         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
18143         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
18144         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
18145         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
18146         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18147         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
18148         * sysdeps/x86_64/memcpy.S: Likewise.
18149         * sysdeps/x86_64/memmove.c: Likewise.
18150         * sysdeps/x86_64/memset.S: Likewise.
18151         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
18152         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
18153         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
18154         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
18155         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
18156         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18157         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18158         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
18159         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
18160         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
18161         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
18162         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
18163         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
18164         * sysdeps/x86_64/multiarch/memset.S: Likewise.
18165         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18166         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
18167         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
18168         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
18169         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
18170         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
18171         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
18172         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18173         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
18174         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
18175         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
18176         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
18177         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
18178         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
18179         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
18180         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
18181         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
18182         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
18183         * sysdeps/x86_64/strcmp.S: Likewise.
18185         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
18187         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
18188         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
18189         * elf/rtld-Rules: Likewise.
18190         * elf/setup-vdso.h: Likewise.
18191         * include/assert.h: Likewise.
18192         * include/bits/stdlib-float.h: Likewise.
18193         * include/errno.h: Likewise.
18194         * include/sys/stat.h: Likewise.
18195         * include/unistd.h: Likewise.
18196         * sysdeps/aarch64/setjmp.S: Likewise.
18197         * sysdeps/alpha/setjmp.S: Likewise.
18198         * sysdeps/arm/__longjmp.S: Likewise.
18199         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
18200         * sysdeps/arm/setjmp.S: Likewise.
18201         * sysdeps/arm/sysdep.h: Likewise.
18202         * sysdeps/generic/_itoa.h: Likewise.
18203         * sysdeps/generic/dl-sysdep.h: Likewise.
18204         * sysdeps/generic/ldsodefs.h: Likewise.
18205         * sysdeps/i386/dl-tls.h: Likewise.
18206         * sysdeps/i386/setjmp.S: Likewise.
18207         * sysdeps/m68k/setjmp.c: Likewise.
18208         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
18209         * sysdeps/mach/hurd/opendir.c: Likewise.
18210         * sysdeps/posix/getcwd.c: Likewise.
18211         * sysdeps/posix/opendir.c: Likewise.
18212         * sysdeps/posix/profil.c: Likewise.
18213         * sysdeps/powerpc/dl-procinfo.h: Likewise.
18214         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
18215         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
18216         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
18217         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
18218         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
18219         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
18220         * sysdeps/s390/dl-tls.h: Likewise.
18221         * sysdeps/s390/s390-32/setjmp.S: Likewise.
18222         * sysdeps/s390/s390-64/setjmp.S: Likewise.
18223         * sysdeps/sh/sh3/setjmp.S: Likewise.
18224         * sysdeps/sh/sh4/setjmp.S: Likewise.
18225         * sysdeps/unix/alpha/sysdep.h: Likewise.
18226         * sysdeps/unix/arm/sysdep.S: Likewise.
18227         * sysdeps/unix/i386/sysdep.S: Likewise.
18228         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
18229         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
18230         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
18231         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
18232         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
18233         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
18234         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
18235         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
18236         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
18237         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
18238         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
18239         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
18240         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
18241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
18242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18243         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
18244         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18245         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18246         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
18247         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
18248         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
18249         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18250         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18251         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
18252         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
18253         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
18254         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18255         * sysdeps/unix/x86_64/sysdep.S: Likewise.
18256         * sysdeps/x86_64/setjmp.S: Likewise.
18258         * include/math.h: Use IS_IN instead of IS_IN_libm.
18259         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
18260         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
18261         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
18262         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
18263         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
18264         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
18265         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
18266         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
18267         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18268         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
18269         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
18270         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
18271         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
18272         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
18273         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
18274         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
18275         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
18276         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
18277         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
18278         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
18279         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
18280         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
18281         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
18282         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
18283         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
18284         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
18285         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
18286         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
18287         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
18288         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
18289         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
18290         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
18291         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
18292         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
18293         Likewise.
18294         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
18295         Likewise.
18296         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
18297         Likewise.
18298         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
18299         Likewise.
18300         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
18301         Likewise.
18302         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
18303         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
18304         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
18305         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
18306         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
18307         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
18308         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
18309         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
18310         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
18311         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
18312         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
18313         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
18314         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
18315         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
18316         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
18317         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
18318         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
18319         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
18320         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
18321         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
18322         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
18323         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
18324         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
18325         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
18326         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
18327         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
18328         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
18330         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
18331         * nptl/pthreadP.h: Likewise.
18332         * nptl_db/structs.def: Likewise.
18333         * sysdeps/arm/sysdep.h: Likewise.
18334         * sysdeps/nptl/bits/libc-lock.h: Likewise.
18335         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
18336         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
18337         * sysdeps/unix/alpha/sysdep.h: Likewise.
18338         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
18339         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
18340         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
18341         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
18342         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
18343         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
18344         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
18345         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
18346         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
18347         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
18348         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
18349         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
18350         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
18351         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
18352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
18353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
18354         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
18355         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
18356         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
18357         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
18358         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
18359         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
18360         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
18361         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
18362         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
18363         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
18365         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
18366         * nptl/pthreadP.h: Likewise.
18367         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
18368         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
18369         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
18370         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
18371         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
18372         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
18373         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
18374         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
18375         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
18376         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
18377         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
18378         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
18379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
18380         Likewise.
18381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
18382         Likewise.
18383         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
18384         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
18385         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
18386         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
18387         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
18388         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
18389         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
18390         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
18392         * dlfcn/dladdr.c: Use IS_IN.
18393         * dlfcn/dladdr1.c: Likewise.
18394         * dlfcn/dlclose.c: Likewise.
18395         * dlfcn/dlerror.c: Likewise.
18396         * dlfcn/dlinfo.c: Likewise.
18397         * dlfcn/dlmopen.c: Likewise.
18398         * dlfcn/dlopen.c: Likewise.
18399         * dlfcn/dlsym.c: Likewise.
18400         * dlfcn/dlvsym.c: Likewise.
18402         * include/ifaddrs.h: Use IS_IN.
18403         * inet/check_pf.c: Likewise.
18404         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
18405         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
18407         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
18408         IS_IN_ldconfig.
18409         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
18410         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
18412         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
18413         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
18414         IS_IN (libc).
18416         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
18418         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
18419         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
18420         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
18421         * include/libc-symbols.h (IS_IN_LIB): New macro.
18422         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
18423         * include/netdb.h: Likewise.
18424         * include/stap-probe.h: Remove all uses of IN_LIB.
18426         * Makeconfig (module-cppflags-real): Define MODULE_NAME
18427         instead of IN_MODULE.
18428         * include/libc-symbols.h (IN_MODULE): Define using
18429         MODULE_NAME.
18430         (PASTE_NAME, PASTE_NAME1): New macros.
18431         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
18432         of IN_LIB.
18433         (STAP_PROBE_ASM): Likewise.
18435 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18437         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
18438         __mach_init in dlopened libc.
18440 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
18442         * sysdeps/arm/preconfigure.ac: Delete EABI check.
18443         * sysdeps/arm/preconfigure: Regenerate.
18445 2014-11-21  Roland McGrath  <roland@hack.frob.com>
18447         * nptl/pthread_create.c (__pthread_create_2_1): Set
18448         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
18449         when copying values from IATTR into PD.
18451 2014-11-21  Will Newton  <will.newton@linaro.org>
18452             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
18454         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
18455         Refactor inline-asm.  Also add comment.
18457         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
18458         ElfW macro instead of hardcoded Elf64 types.
18459         (la_aarch64_gnu_pltenter): Likewise.
18460         * sysdeps/aarch64/dl-machine.h
18461         (elf_machine_runtime_setup): Use ElfW(Addr).
18463         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
18464         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
18465         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
18466         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
18467         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
18468         (R_AARCH64_TLS_DTPMOD64): Rename to ..
18469         (R_AARCH64_TLS_DTPMOD): This.
18470         (R_AARCH64_TLS_DTPREL64): Rename to ...
18471         (R_AARCH64_TLS_DTPREL): This.
18472         (R_AARCH64_TLS_TPREL64): Rename to ...
18473         (R_AARCH64_TLS_TPREL): This.
18474         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
18475         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
18476         R_AARCH64_TLS_TPREL64.
18477         (elf_machine_rela): Likewise.
18479 2014-11-21  Torvald Riegel  <triegel@redhat.com>
18481         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
18482         by setting it to 0.  64b atomics are not supported currently.
18484 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
18486         [BZ #16469]
18487         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
18488         search domain names.
18490 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
18492         [BZ #16469]
18493         * NEWS: Update.
18494         * resolv/res_query.c (__libc_res_nquerydomain): Retain
18495         trailing dot.
18496         * posix/tst-getaddrinfo5.c: New.
18497         * posix/Makefile (tests): Add it.
18499 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
18501         [BZ #14498]
18502         * NEWS: Fixed.
18503         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
18504         after parsing line but before break_if_match.
18505         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
18506         if there is a protocol mismatch.
18508 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
18510         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
18511         because the potential race is on the user-supplied stream.
18513 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
18515         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
18516         string literal if not passed a buffer.
18517         * manual/job.texi (ctermid): Update reasoning, note deviation
18518         from posix, suggest mtasurace when not passed a buffer, for
18519         future non-preliminary safety notes.
18521 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
18523         * manual/users.texi (cuserid): Fix MT-Safety note for the case
18524         of not passing it a buffer.
18525         Reported by Peng Haitao.
18527 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
18529         * manual/Makefile ($(objpfx)stamp-summary): Require
18530         check-safety.sh to pass.
18531         * manual/check-safety.sh: Wish for verification that every
18532         @deftypefn and @deftypefun is followed by a @safety remark.
18534 2014-11-20  Roland McGrath  <roland@hack.frob.com>
18536         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
18538         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
18539         PTHREAD_CANCEL_ASYNCHRONOUS.
18540         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
18541         send SIGCANCEL.
18543         * nptl/default-sched.h: New file.
18544         * sysdeps/unix/sysv/linux/default-sched.h: New file.
18545         * nptl/pthread_create.c: Include it.
18546         (__pthread_create_2_1): Use collect_default_sched instead of making
18547         Linux syscalls here directly.
18549 2014-11-20  Torvald Riegel  <triegel@redhat.com>
18551         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
18552         __pthread_once): Use C11 atomics.
18554 2014-11-20  Torvald Riegel  <triegel@redhat.com>
18556         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
18558 2014-11-20  Torvald Riegel  <triegel@redhat.com>
18560         * include/atomic.h (__atomic_link_error, __atomic_check_size,
18561         atomic_thread_fence_acquire, atomic_thread_fence_release,
18562         atomic_thread_fence_seq_cst, atomic_load_relaxed,
18563         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
18564         atomic_compare_exchange_weak_relaxed,
18565         atomic_compare_exchange_weak_acquire,
18566         atomic_compare_exchange_weak_release,
18567         atomic_exchange_acquire, atomic_exchange_release,
18568         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
18569         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
18570         atomic_fetch_and_acquire,
18571         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
18573 2014-11-20  Torvald Riegel  <triegel@redhat.com>
18575         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
18576         USE_ATOMIC_COMPILER_BUILTINS): Define.
18577         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
18578         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18579         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
18580         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18581         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
18582         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18583         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
18584         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18585         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
18586         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18587         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
18588         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18589         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
18590         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18591         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
18592         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18593         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
18594         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18595         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
18596         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18597         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
18598         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18599         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
18600         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18601         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
18602         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18603         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
18604         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18605         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
18606         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18607         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
18608         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18609         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
18610         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18611         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
18612         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18613         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
18614         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18615         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
18616         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18618 2014-11-19  Roland McGrath  <roland@hack.frob.com>
18620         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
18621         the sched_priority value here.  It was already checked when the user
18622         called pthread_attr_setschedparam.
18624         * nptl/tst-bad-schedattr.c: New file.
18625         * nptl/Makefile (tests): Add it.
18627 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
18628             Florian Weimer  <fweimer@redhat.com>
18629             Joseph Myers  <joseph@codesourcery.com>
18630             Adam Conrad  <adconrad@0c3.net>
18631             Andreas Schwab  <schwab@suse.de>
18632             Brooks  <bmoses@google.com>
18634         [BZ #17625]
18635         * wordexp-test.c (__dso_handle): Add prototype.
18636         (__register_atfork): Likewise.
18637         (__app_register_atfork): New function.
18638         (registered_forks): New global.
18639         (register_fork): New function.
18640         (test_case): Add 3 new tests for WRDE_CMDSUB.
18641         (main): Call __app_register_atfork.
18642         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
18643         fork count is non-zero fail the test.
18644         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
18645         is set.
18646         (parse_dollars): Remove check for WRDE_NOCMD.
18647         (parse_dquote): Likewise.
18649 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
18651         * Makeconfig (built-modules): List non-library modules to be
18652         built.
18653         (module-cppflags): Include libc-modules.h for
18654         everything except shlib-versions.v.i.
18655         (CPPFLAGS): Use it.
18656         (before-compile): Add libc-modules.h.
18657         ($(common-objpfx)libc-modules.h,
18658         $(common-objpfx)libc-modules.stmp): New targets.
18659         (common-generated): Add libc-modules.h and libc-modules.stmp.
18660         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
18661         * include/libc-symbols.h: Don't include libc-modules.h.
18662         * include/libc-modules.h: Remove file.
18663         * scripts/gen-libc-modules.awk: New script to generate
18664         libc-modules.h.
18665         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
18666         Depend on libc-modules.stmp.
18668         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
18670         * Makeconfig (in-module): Get value of libof set for the
18671         translation unit.
18672         (CPPFLAGS): Use $(in-module).
18673         * Makerules: Don't suffix routine names for nonlib.
18674         * include/libc-modules.h: New file.
18675         * include/libc-symbols.h: Include libc-modules.h
18676         (IS_IN): New macro to replace IS_IN_* macros.
18677         * elf/Makefile: Set libof-* for each routine.
18678         * elf/rtld-Rules: Likewise.
18679         * extra-modules.mk: Likewise.
18680         * iconv/Makefile: Likewise.
18681         * iconvdata/Makefile: Likewise.
18682         * locale/Makefile: Likewise.
18683         * malloc/Makefile: Likewise.
18684         * nss/Makefile: Likewise.
18685         * sysdeps/gnu/Makefile: Likewise.
18686         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
18687         * sysdeps/unix/sysv/linux/Makefile: Likewise.
18688         * sysdeps/s390/s390-64/Makefile: Likewise.
18689         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
18690         CPPFLAGS for nscd instead of nonlib.
18692 2014-11-18  Roland McGrath  <roland@hack.frob.com>
18694         * nptl/createthread.c: New file.
18696         * nptl/createthread.c: Moved ...
18697         * sysdeps/unix/sysv/linux/createthread.c: ... here.
18699         * nptl/createthread.c: Add proper top-line comment.
18700         (do_clone): Folded into ...
18701         (create_thread): ... here.  Take new arguments STOPPED_START and
18702         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
18703         increment __nptl_threads, do event-reporting logic, do
18704         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
18705         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
18706         resource cleanup if sched_setaffinity or sched_setscheduler fails,
18707         just send SIGCANCEL.
18708         * nptl/pthread_create.c: Forward-declare create_thread before
18709         including createthread.c.
18710         (start_thread): Use new macro START_THREAD_DEFN to replace defining
18711         declaration, and new macro START_THREAD_SELF to replace argument.
18712         Remove return statement.
18713         (report_thread_creation): New function.
18714         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
18715         synchronization logic, and __nptl_nthreads increment here, around
18716         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
18717         PD->parent_cancelhandling here, before create_thread.  When
18718         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
18719         __deallocate_stack, and ENOMEM translation here.
18721 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
18723         [BZ #17616]
18724         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
18725         (mptwo): Rename to __mptwo.
18726         (__inv): Use __mptwo instead of mptwo.
18727         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
18728         (mptwo): Rename to __mptwo.
18729         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
18730         of mpone and __mptwo instead of mptwo.
18731         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
18732         instead of mpone.
18733         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
18734         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
18735         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
18736         of mpone and __mptwo instead of mptwo.
18737         (__mpranred): Use __mpone instead of mpone.
18738         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
18739         variable.
18740         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
18741         (test-xfail-ISO99/math.h/linknamespace): Likewise.
18742         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
18743         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
18744         (test-xfail-ISO11/math.h/linknamespace): Likewise.
18745         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
18746         (test-xfail-XPG3/math.h/linknamespace): Likewise.
18747         (test-xfail-XPG4/math.h/linknamespace): Likewise.
18748         (test-xfail-POSIX/math.h/linknamespace): Likewise.
18749         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
18750         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
18751         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
18752         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
18753         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
18754         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
18755         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
18756         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
18757         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
18758         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
18760 2014-11-18  Tom de Vries  <tom@codesoucery.com>
18762         * manual/signal.texi (Primitives Interrupted by Signals): In section,
18763         replace BSD Handler xref with BSD Signal Handling.
18765 2014-11-17  Richard Henderson  <rth@redhat.com>
18767         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
18768         (_FP_PACK_RAW_2): Remove.
18769         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
18770         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
18771         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
18772         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
18773         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
18774         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
18775         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
18776         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
18777         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
18778         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
18779         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
18780         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
18781         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
18782         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
18783         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
18784         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
18786 2014-11-14  Roland McGrath  <roland@hack.frob.com>
18788         * signal/signal.h [__USE_MISC]
18789         (struct sigvec): Remove type.
18790         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
18791         (sigvec): Remove declaration.
18792         * sysdeps/posix/sigvec.c: Moved ...
18793         * signal/sigvec.c: ... here, replacing old file.
18794         (struct sigvec): New type, copied from old signal.h definition.
18795         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
18796         (__sigvec): Convert definition to prototype.
18797         (sigvec): Replace weak_alias with compat_symbol.
18798         * signal/Versions (libc: GLIBC_2.21): New version set.
18799         * include/signal.h: Remove __sigvec declaration.
18800         * sysdeps/unix/bsd/sigvec.c: Remove file.
18801         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
18802         * manual/signal.texi (BSD Handler): Remove subsection.
18803         Move siginterrupt up to ...
18804         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
18805         (Blocking in BSD): Fold subsection into its parent.
18806         * NEWS: Mention sigvec removal.
18808 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
18810         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
18811         (DLA_FMS): Make definition conditional only on [__FMA4__].
18812         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
18813         definition.
18815         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
18816         Make definition conditional only on [PROF].
18817         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
18818         definition.
18819         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
18820         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
18822         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
18823         !__GNUC__].
18824         * include/signal.h (__sigpause): Move declaration above call to
18825         libc_hidden_proto.
18826         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
18827         variable.
18828         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
18829         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
18831 2014-11-14  David S. Miller  <davem@davemloft.net>
18833         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
18834         Define before including <string/memcpy.c> and <string/mempcpy.c>.
18836 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
18838         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
18839         * configure: Regenerated.
18840         * manual/install.texi (Tools for Compilation): Document a
18841         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
18842         compiler verified to work.
18843         * INSTALL: Regenerated.
18845         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
18846         redeclare with asm name.
18847         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
18848         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
18849         including <string.h>.
18850         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
18851         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
18852         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
18853         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
18854         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
18855         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
18856         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
18858 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
18860         * stdlib/strtol.c (__strtol): Use prototype definition.
18862         [BZ #17594]
18863         * stdlib/strtol.c (SYM__): New macro.
18864         (SYM__1): Likewise.
18865         (__strtol): Likewise.
18866         (strtol): Rename to __strtol and define as weak alias of
18867         __strtol.  Use libc_hidden_weak.
18869 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
18871         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
18872         Use numbered labels in inline assembly.
18874 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
18876         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
18877         Add setjmp LIBC_PROBE.
18878         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
18879         Likewise.
18880         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
18881         Add longjmp, longjmp_target LIBC_PROBE.
18882         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
18883         Likewise.
18885 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
18887         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
18888         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
18889         to get rid of unused variable warning.
18891 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
18893         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
18894         Check for unwind_backtrace ==  NULL only in SHARED case.
18895         (__backchain_backtrace): Compile only in SHARED case.
18896         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
18897         Likewise.
18898         (__backchain_backtrace): Declare as static.
18900 2014-11-12  Roland McGrath  <roland@hack.frob.com>
18902         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
18903         (__libc_multiple_threads_ptr): Variable moved ...
18904         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
18906 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
18908         * conform/GlibcConform.pm: New file.
18909         * conform/conformtest.pl: Use GlibcConform module.
18910         * conform/linknamespace.pl: New file.
18911         * conform/list-header-symbols.pl: Likewise.
18912         * conform/Makefile (linknamespace-symlists-base): New variable.
18913         (linknamespace-symlists-tests): Likewise.
18914         (linknamespace-header-base): Likewise.
18915         (linknamespace-header-tests): Likewise.
18916         (tests-special): Add new tests.
18917         ($(linknamespace-symlists-tests)): New rule.
18918         (linknamespace-libs): New variable.
18919         ($(objpfx)symlist-stdlibs): New rule.
18920         ($(linknamespace-header-tests)): Likewise.
18921         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
18922         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
18923         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
18924         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
18925         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
18926         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
18927         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
18928         (test-xfail-ISO/math.h/linknamespace): Likewise.
18929         (test-xfail-ISO/signal.h/linknamespace): Likewise.
18930         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
18931         (test-xfail-ISO/time.h/linknamespace): Likewise.
18932         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
18933         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
18934         (test-xfail-ISO99/math.h/linknamespace): Likewise.
18935         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
18936         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
18937         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
18938         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
18939         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
18940         (test-xfail-ISO11/math.h/linknamespace): Likewise.
18941         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
18942         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
18943         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
18944         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
18945         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
18946         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
18947         (test-xfail-XPG3/math.h/linknamespace): Likewise.
18948         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
18949         (test-xfail-XPG3/search.h/linknamespace): Likewise.
18950         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
18951         (test-xfail-XPG3/time.h/linknamespace): Likewise.
18952         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
18953         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
18954         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
18955         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
18956         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
18957         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
18958         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
18959         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
18960         (test-xfail-XPG4/math.h/linknamespace): Likewise.
18961         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
18962         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
18963         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
18964         (test-xfail-XPG4/search.h/linknamespace): Likewise.
18965         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
18966         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
18967         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
18968         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
18969         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
18970         (test-xfail-XPG4/time.h/linknamespace): Likewise.
18971         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
18972         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
18973         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
18974         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
18975         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
18976         (test-xfail-POSIX/math.h/linknamespace): Likewise.
18977         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
18978         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
18979         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
18980         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
18981         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
18982         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
18983         (test-xfail-POSIX/time.h/linknamespace): Likewise.
18984         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
18985         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
18986         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
18987         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
18988         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
18989         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
18990         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
18991         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
18992         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
18993         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
18994         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
18995         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
18996         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
18997         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
18998         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
18999         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
19000         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
19001         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
19002         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
19003         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
19004         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
19005         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
19006         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
19007         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
19008         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
19009         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
19010         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
19011         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
19012         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
19013         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
19014         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
19015         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
19016         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
19017         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
19018         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
19019         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
19020         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
19021         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
19022         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
19023         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
19024         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
19025         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
19026         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
19027         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
19028         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
19029         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
19030         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
19031         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
19032         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
19033         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
19034         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
19035         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
19036         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
19037         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
19038         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
19039         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
19040         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
19041         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
19042         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
19043         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
19044         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
19045         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
19046         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
19047         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
19048         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
19049         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
19050         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
19051         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
19052         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
19053         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
19054         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
19055         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
19056         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
19057         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
19058         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
19059         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
19060         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
19061         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
19062         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
19063         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
19064         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
19065         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
19066         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
19067         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
19068         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
19069         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
19070         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
19071         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
19072         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
19073         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
19074         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
19075         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
19076         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
19077         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
19078         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
19079         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
19080         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
19081         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
19083         [BZ #17589]
19084         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
19085         of fgets_unlocked.
19087         [BZ #17585]
19088         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
19089         (memmem): Rename to __memmem and define as weak alias of
19090         __memmem.  Use libc_hidden_weak.
19091         (__memmem): Use libc_hidden_def.
19092         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
19093         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
19094         memmem.
19096         [BZ #17582]
19097         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
19098         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
19099         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
19100         and define as weak alias of __fgets_unlocked.  Use
19101         libc_hidden_weak.
19102         (__fgets_unlocked): Use libc_hidden_def.
19103         * include/stdio.h (__fgets_unlocked): Declare.  Use
19104         libc_hidden_proto.
19105         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
19106         __fgets_unlocked instead of fgets_unlocked.
19107         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
19108         (GET_NPROCS_CONF_PARSER): Likewise.
19109         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
19110         (GET_NPROCS_CONF_PARSER): Likewise.
19112         [BZ #17574]
19113         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
19114         weak alias of __wmemset.  Use libc_hidden_weak.
19115         (__wmemset): Use libc_hidden_def.
19116         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
19117         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
19118         of wmemset.
19120         [BZ #17573]
19121         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
19122         with asm name __mempcpy.
19123         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
19125         [BZ #17572]
19126         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
19127         and define as weak alias of __rawmemchr.
19128         (__rawmemchr): Do not define as strong alias of rawmemchr.
19130         [BZ #17571]
19131         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
19132         alias of __qsort_r.
19133         (qsort): Call __qsort_r instead of qsort_r.
19134         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
19135         (__qsort_r): Declare.  Call libc_hidden_proto.
19136         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
19137         instead of qsort_r.
19138         * nscd/gai.c (__qsort_r): Define to qsort_r.
19139         * posix/tst-rfc3484.c (__qsort_r): Likewise.
19140         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
19141         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
19143         [BZ #17570]
19144         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
19145         define as weak alias of __malloc_info.
19147         [BZ #17584]
19148         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
19149         as weak alias of __rewinddir.  Don't use libc_hidden_def.
19150         (__rewinddir): Use libc_hidden_def.
19151         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
19152         as weak alias of __rewinddir.  Don't use libc_hidden_def.
19153         (__rewinddir): Use libc_hidden_def.
19154         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
19155         weak alias of __rewinddir.  Don't use libc_hidden_def.
19156         (__rewinddir): Use libc_hidden_def.
19157         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
19158         (__rewinddir): Use libc_hidden_proto.
19159         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
19160         rewinddir.
19161         (__getcwd): Use __rewinddir instead of rewinddir.
19163         [BZ #17583]
19164         * libio/fileno.c (fileno): Rename to __fileno and define as weak
19165         alias of __fileno.  Use libc_hidden_weak.
19166         (__fileno): Use libc_hidden_def.
19167         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
19168         * libio/ftello.c (ftello): Rename to __ftello and define as weak
19169         alias of __ftello.
19170         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
19171         __ftello.
19172         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
19173         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
19174         libc_hidden_def.
19175         (fread_unlocked): Don't use libc_hidden_ver.
19176         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
19177         and define as weak alias of __fread_unlocked.  Don't use
19178         libc_hidden_def.
19179         (__fread_unlocked): Use libc_hidden_def.
19180         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
19181         (ftello): Don't use libc_hidden_proto.
19182         (__ftello): Declare.  Use libc_hidden_proto.
19183         (fread_unlocked): Don't use libc_hidden_proto.
19184         (__fread_unlocked): Declare.  Use libc_hidden_proto.
19185         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
19186         and __ftello instead of fileno, fread_unlocked and ftello.
19188 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
19190         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
19191         GOT12.
19192         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
19193         Likewise.
19194         (_dl_start_user): Likewise.
19195         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
19197 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
19198             Siddhesh Poyarekar  <siddhesh@redhat.com>
19200         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
19201         Move argv and envp down instead of moving argc up.
19202         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
19204 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
19206         [BZ #17506]
19207         * test-skeleton.c (main): Return successful if one of
19208         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
19209         * string/tst-strcoll-overflow.c: Define expected status.
19211 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
19213         [BZ #17475]
19214         * locale/iso-639.def: Define Bhili and Tulu language codes.
19216 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
19218         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
19220 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
19222         [BZ #17555]
19223         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
19225 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
19227         * configure.ac: Updated check of minimal required version to
19228         2.22.
19229         * manual/install.texi (Tools for Compilation): Updated version
19230         number.
19231         * configure: Regenerated.
19232         * INSTALL: Likewise.
19234 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
19236         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
19237         __tls_get_addr.
19239 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
19241         * include/sys/wait.h (__libc_waitpid): Remove declaration.
19242         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
19243         (__waitpid): Don't define as alias.  Use libc_hidden_def not
19244         libc_hidden_weak.
19245         (waitpid): Define as alias of __waitpid.
19246         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
19247         __waitpid.
19248         (__waitpid): Don't define as alias.  Use libc_hidden_def not
19249         libc_hidden_weak.
19250         (waitpid): Define as alias of __waitpid.
19251         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
19252         __libc_waitpid alias.
19253         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
19254         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
19255         Likewise.
19256         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
19257         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
19258         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
19259         alias.
19260         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
19261         __waitpid.
19262         (__waitpid): Don't define as alias.  Use libc_hidden_def not
19263         libc_hidden_weak.
19264         (waitpid): Define as alias of __waitpid.
19266 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
19268         * manual/llio.texi: Add comment that write safety has been
19269         fixed in Linux.
19271         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
19272         (localplt-build-dso): Add elf/ld.so.
19273         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
19274         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
19275         and free for ld.so.
19276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
19277         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
19278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
19279         Likewise.
19280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
19281         Likewise.
19282         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
19283         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
19284         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
19285         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
19286         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
19287         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
19288         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
19289         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
19290         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
19291         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
19292         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
19294 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
19296         [BZ #14132]
19297         * include/libc-symbols.h (INTUSE): Remove macro.
19298         (INTDEF): Likewise.
19299         (INTVARDEF): Likewise.
19300         (_INTVARDEF): Likewise.
19301         (INTDEF2): Likewise.
19302         (INTVARDEF2): Likewise.
19303         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
19304         rtld_hidden_def instead of INTVARDEF.
19305         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
19306         (_dl_starting_up_internal): Remove declaration.
19307         (_dl_starting_up): Use rtld_hidden_proto.
19308         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
19309         declaration.
19310         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
19311         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
19312         _dl_starting_up.
19313         * elf/dl-writev.h (_dl_writev): Likewise.
19314         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
19315         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
19316         _dl_starting_up_internal.
19318 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19320         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
19321         test-skeleton.c.
19323 2014-11-05  Will Newton  <will.newton@linaro.org>
19325         * benchtests/Makefile: (bench-malloc): Add malloc thread
19326         scalability benchmark.
19327         * benchtests/bench-malloc-threads.c: New file.
19329 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
19331         * sysdeps/aarch64/strchrnul.S: New file.
19333 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19335         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
19336         definition.
19337         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
19338         Likwise.
19339         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
19340         Likewise.
19341         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
19342         Likewise.
19343         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
19344         Likewise.
19345         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
19346         Likewise.
19348 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
19350         * catgets/test-gencat.c: Use test-skeleton.c.
19351         * catgets/tst-catgets.c: Likewise.
19352         * csu/tst-empty.c: Likewise.
19353         * elf/tst-audit2.c: Likewise.
19354         * elf/tst-global1.c: Likewise.
19355         * elf/tst-pathopt.c: Likewise.
19356         * elf/tst-piemod1.c: Likewise.
19357         * elf/tst-tls10.c: Likewise.
19358         * elf/tst-tls11.c: Likewise.
19359         * elf/tst-tls12.c: Likewise.
19360         * gnulib/tst-gcc.c: Likewise.
19361         * iconvdata/tst-e2big.c: Likewise.
19362         * iconvdata/tst-loading.c: Likewise.
19363         * iconv/tst-iconv1.c: Likewise.
19364         * iconv/tst-iconv2.c: Likewise.
19365         * inet/test-inet6_opt.c: Likewise.
19366         * inet/tst-gethnm.c: Likewise.
19367         * inet/tst-network.c: Likewise.
19368         * inet/tst-ntoa.c: Likewise.
19369         * intl/tst-codeset.c: Likewise.
19370         * intl/tst-gettext2.c: Likewise.
19371         * intl/tst-gettext3.c: Likewise.
19372         * intl/tst-ngettext.c: Likewise.
19373         * intl/tst-translit.c: Likewise.
19374         * io/test-stat.c: Likewise.
19375         * libio/test-fmemopen.c: Likewise.
19376         * libio/tst-freopen.c: Likewise.
19377         * libio/tst-sscanf.c: Likewise.
19378         * libio/tst-ungetwc1.c: Likewise.
19379         * libio/tst-ungetwc2.c: Likewise.
19380         * libio/tst-widetext.c: Likewise.
19381         * localedata/tst-ctype.c: Likewise.
19382         * localedata/tst-digits.c: Likewise.
19383         * localedata/tst-leaks.c: Likewise.
19384         * localedata/tst-mbswcs1.c: Likewise.
19385         * localedata/tst-mbswcs2.c: Likewise.
19386         * localedata/tst-mbswcs3.c: Likewise.
19387         * localedata/tst-mbswcs4.c: Likewise.
19388         * localedata/tst-mbswcs5.c: Likewise.
19389         * localedata/tst-setlocale.c: Likewise.
19390         * localedata/tst-trans.c: Likewise.
19391         * localedata/tst-wctype.c: Likewise.
19392         * localedata/tst-xlocale1.c: Likewise.
19393         * login/tst-grantpt.c: Likewise.
19394         * malloc/tst-calloc.c: Likewise.
19395         * malloc/tst-malloc.c: Likewise.
19396         * malloc/tst-mallocstate.c: Likewise.
19397         * malloc/tst-mcheck.c: Likewise.
19398         * malloc/tst-mtrace.c: Likewise.
19399         * malloc/tst-obstack.c: Likewise.
19400         * math/atest-exp2.c: Likewise.
19401         * math/atest-exp.c: Likewise.
19402         * math/atest-sincos.c: Likewise.
19403         * math/test-matherr.c: Likewise.
19404         * math/test-misc.c: Likewise.
19405         * math/test-powl.c: Likewise.
19406         * math/tst-definitions.c: Likewise.
19407         * misc/tst-dirname.c: Likewise.
19408         * misc/tst-efgcvt.c: Likewise.
19409         * misc/tst-fdset.c: Likewise.
19410         * misc/tst-hsearch.c: Likewise.
19411         * misc/tst-mntent2.c: Likewise.
19412         * nptl/tst-sem7.c: Likewise.
19413         * nptl/tst-sem8.c: Likewise.
19414         * nptl/tst-sem9.c: Likewise.
19415         * nss/test-netdb.c: Likewise.
19416         * posix/tst-fnmatch.c: Likewise.
19417         * posix/tst-getlogin.c: Likewise.
19418         * posix/tst-gnuglob.c: Likewise.
19419         * posix/tst-mmap.c: Likewise.
19420         * pwd/tst-getpw.c: Likewise.
19421         * resolv/tst-inet_ntop.c: Likewise.
19422         * rt/tst-timer.c: Likewise.
19423         * stdio-common/test-fseek.c: Likewise.
19424         * stdio-common/test-popen.c: Likewise.
19425         * stdio-common/test-vfprintf.c: Likewise.
19426         * stdio-common/tst-cookie.c: Likewise.
19427         * stdio-common/tst-fileno.c: Likewise.
19428         * stdio-common/tst-gets.c: Likewise.
19429         * stdio-common/tst-obprintf.c: Likewise.
19430         * stdio-common/tst-perror.c: Likewise.
19431         * stdio-common/tst-sprintf2.c: Likewise.
19432         * stdio-common/tst-sprintf3.c: Likewise.
19433         * stdio-common/tst-sprintf.c: Likewise.
19434         * stdio-common/tst-swprintf.c: Likewise.
19435         * stdio-common/tst-tmpnam.c: Likewise.
19436         * stdio-common/tst-unbputc.c: Likewise.
19437         * stdio-common/tst-wc-printf.c: Likewise.
19438         * stdlib/tst-environ.c: Likewise.
19439         * stdlib/tst-fmtmsg.c: Likewise.
19440         * stdlib/tst-limits.c: Likewise.
19441         * stdlib/tst-rand48-2.c: Likewise.
19442         * stdlib/tst-rand48.c: Likewise.
19443         * stdlib/tst-random2.c: Likewise.
19444         * stdlib/tst-random.c: Likewise.
19445         * stdlib/tst-strtol.c: Likewise.
19446         * stdlib/tst-strtoll.c: Likewise.
19447         * stdlib/tst-tls-atexit.c: Likewise.
19448         * stdlib/tst-xpg-basename.c: Likewise.
19449         * string/test-ffs.c: Likewise.
19450         * string/tst-bswap.c: Likewise.
19451         * string/tst-inlcall.c: Likewise.
19452         * string/tst-strtok.c: Likewise.
19453         * string/tst-strxfrm.c: Likewise.
19454         * sysdeps/x86_64/tst-audit10.c: Likewise.
19455         * sysdeps/x86_64/tst-audit3.c: Likewise.
19456         * sysdeps/x86_64/tst-audit4.c: Likewise.
19457         * sysdeps/x86_64/tst-audit5.c: Likewise.
19458         * time/tst-ftime_l.c: Likewise.
19459         * time/tst-getdate.c: Likewise.
19460         * time/tst-mktime3.c: Likewise.
19461         * time/tst-mktime.c: Likewise.
19462         * time/tst-posixtz.c: Likewise.
19463         * time/tst-strptime2.c: Likewise.
19464         * time/tst-strptime3.c: Likewise.
19465         * wcsmbs/tst-btowc.c: Likewise.
19466         * wcsmbs/tst-mbrtowc.c: Likewise.
19467         * wcsmbs/tst-mbsrtowcs.c: Likewise.
19468         * wcsmbs/tst-wchar-h.c: Likewise.
19469         * wcsmbs/tst-wcpncpy.c: Likewise.
19470         * wcsmbs/tst-wcrtomb.c: Likewise.
19471         * wcsmbs/tst-wcsnlen.c: Likewise.
19472         * wcsmbs/tst-wcstof.c: Likewise.
19474 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
19476         [BZ #14132]
19477         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
19478         INTDEF.
19479         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
19480         declaration.
19481         (_dl_mcount): Use rtld_hidden_proto.
19482         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
19483         _dl_mcount.
19484         * elf/rtld.c (_rtld_global_ro): Likewise.
19486         [BZ #14132]
19487         * elf/dl-init.c (_dl_init): Don't use INTDEF.
19488         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
19489         of _dl_init_internal.
19490         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
19491         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
19492         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
19493         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
19494         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
19495         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
19496         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
19497         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
19498         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
19499         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
19500         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
19501         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
19502         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
19503         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
19504         * sysdeps/tile/dl-start.S (_start): Likewise.
19505         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
19506         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
19508         [BZ #14132]
19509         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
19510         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
19511         (rtld_progname): Make macro definition unconditional.
19512         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
19513         INTDEF.
19514         (dlmopen_doit): Do not use INTUSE with _dl_argv.
19515         (dl_main): Likewise.
19516         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
19517         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
19518         instead of _dl_argv_internal.
19519         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
19520         __GI__dl_argv instead of INTUSE(_dl_argv).
19521         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
19522         __GI__dl_argv instead of _dl_argv_internal.
19524         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
19525         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
19526         macro.
19527         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
19528         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
19529         New macro.
19530         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
19531         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
19532         macro.
19533         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
19534         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
19536 2014-11-04  Andreas Schwab  <schwab@suse.de>
19538         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
19540 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19542         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
19543         mtvsrd instruction in binary form.
19545 2014-11-03  Andreas Schwab  <schwab@suse.de>
19547         [BZ #17522]
19548         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
19549         for less than MB_LEN_MAX use a local buffer of that size.
19550         * libio/tst-fputws.c: New file.
19551         * libio/Makefile (tests): Add tst-fputws.
19553 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
19555         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
19556         the size of the fpu_fr.fpu_dregs[] array.
19558 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
19560         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
19561         (__nanosleep): Do not define as alias.
19562         (nanosleep): Define as alias of __nanosleep.
19563         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
19564         __libc_nanosleep name.
19566 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
19568         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
19569         install.texi in comment.
19571 2014-10-31  Torvald Riegel  <triegel@redhat.com>
19573         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
19574         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
19575         ... add here and use lwsync or sync ...
19576         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
19577         ... and add here using lwsync.
19579 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
19581         * elf/dl-machine-reject-phdr.h: New file.
19582         * elf/dl-load.c: #include that.
19583         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
19584         if that returned true.
19586 2014-10-31  Roland McGrath  <roland@hack.frob.com>
19588         [BZ #17496]
19589         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
19590         gen-as-const-headers chunk.  Add a big scare comment after the last
19591         safe place to touch before-compile.
19593 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
19595         * manual/install.texi (Tools for Compilation): Update autoconf
19596         version requirements.
19597         * INSTALL: Regenerated.
19599         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
19600         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
19601         (__libc_pselect): Likewise.
19603         [BZ #14138]
19604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
19605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
19606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
19607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
19609 2014-10-31  Torvald Riegel  <triegel@redhat.com>
19611         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
19612         correct barrier instruction.
19613         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
19614         Likewise.
19615         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
19616         Likewise.
19618 2014-10-30  Roland McGrath  <roland@hack.frob.com>
19620         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
19621         after defining inlines.  Instead, just use parens to defeat macro
19622         expansion of __isctype in its declaration.
19624 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
19626         * include/sys/uio.h (__libc_readv): Remove declaration.
19627         (__libc_writev): Likewise.
19628         * misc/readv.c (__libc_readv): Rename to __readv.
19629         (__readv): Do not define as alias.
19630         (readv): Define as alias of __readv.
19631         * misc/writev.c (__libc_writev): Rename to __writev.
19632         (__writev): Do not define as alias.
19633         (writev): Define as alias of __writev.
19634         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
19635         (__readv): Do not define as alias.
19636         (readv): Define unconditionally as alias of __readv.
19637         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
19638         (__writev): Do not define as alias.
19639         (writev): Define unconditionally as alias of __writev.
19640         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
19641         name.
19642         (writev): Do not define __libc_writev name.
19644 2014-10-30  Roland McGrath  <roland@hack.frob.com>
19646         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
19647         (convert_charseq): New function, broken out of ...
19648         (use_from_charmap): ... here.  Call it.
19649         (use_to_charmap): Use convert_charseq and free instead of duplicating
19650         its code with a variable-length stack struct.
19652 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
19654         * include/fcntl.h (__libc_creat): Remove declaration.
19655         * io/creat.c (__libc_creat): Rename to creat.
19656         (creat): Do not define as alias.
19657         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
19658         of creat instead of __libc_creat.
19659         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
19660         to creat.
19661         (creat): Do not define as alias.
19662         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
19663         __libc_creat.
19664         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
19665         __libc_creat name.
19666         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
19667         Likewise.
19669 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
19671         * manual/llio.texi: Add comments discussing why write() may be
19672         considered MT-unsafe on Linux.
19674 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
19676         * dl-load.c (local_strdup): Remove.
19677         (expand_dynamic_string_token): Use __strdup.
19678         (decompose_rpath): Likewise.
19679         (_dl_map_object): Likewise.
19681 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
19683         [BZ #14132]
19684         * sysdeps/generic/unwind-dw2-fde.c
19685         (__register_frame_info_bases_internal): Do not declare.
19686         (__register_frame_info_table_bases_internal): Likewise.
19687         (__deregister_frame_info_bases_internal): Likewise.
19688         (__register_frame_info_bases): Declare and use hidden_proto before
19689         definition.  Use hidden_def instead of INTDEF.
19690         (__register_frame_info_table_bases): Likewise.
19691         (__deregister_frame_info_bases): Likewise.
19692         (__register_frame_info): Do not use INTUSE.
19693         (__register_frame): Likewise.
19694         (__register_frame_info_table): Likewise.
19695         (__register_frame_table): Likewise.
19696         (__deregister_frame_info): Likewise.
19697         (__deregister_frame): Likewise.
19699 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
19701         * sysdeps/unix/sysv/linux/arm/kernel-features.h
19702         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
19703         not undefine.
19704         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
19705         Likewise.
19706         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
19707         Likewise.
19709 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
19711         [BZ #14138]
19712         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
19713         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
19714         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
19715         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
19716         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
19717         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
19718         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
19719         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
19720         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
19721         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
19722         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
19723         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
19724         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
19725         syscall.
19726         (setfsuid): Likewise.
19727         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
19728         (setfsuid): Likewise.
19729         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
19730         (setfsuid): Likewise.
19731         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
19732         Likewise.
19733         (setfsuid): Likewise.
19734         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
19735         (setfsuid): Likewise.
19736         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
19737         Likewise.
19738         (setfsuid): Likewise.
19740 2014-10-27  Andreas Schwab  <schwab@suse.de>
19742         [BZ #17501]
19743         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
19744         check for Slow_SSE4_2 feature bit.
19745         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
19746         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
19747         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
19748         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
19750 2014-10-24  Roland McGrath  <roland@hack.frob.com>
19752         * configure.ac: Validate compiler version with a empirical test of
19753         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
19754         $CC -v output.
19755         * configure: Regenerated.
19757         * inet/htons.c (htons): Prototypify.
19758         * inet/htonl.c (htonl): Likewise.
19760 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
19762         * string/strncat.c (strncat): Improve performance by using strlen.
19764 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
19766         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
19768 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
19770         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
19771         Call libc_fetestexcept_aarch64.
19773 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
19775         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
19776         Call libc_feholdexcept_aarch64.
19778 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
19780         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
19781         Call get_rounding_mode.
19783 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
19785         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
19786         Simplify logic.
19788 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
19790         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
19791         Simplify logic.
19793 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
19795         [BZ #14138]
19796         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
19797         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
19798         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
19799         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
19800         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
19801         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
19802         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
19803         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
19804         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
19805         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
19806         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
19807         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
19808         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
19809         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
19810         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
19811         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
19812         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
19813         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
19814         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
19815         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
19816         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
19817         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
19818         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
19819         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
19820         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
19821         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
19822         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
19823         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
19824         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
19825         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
19826         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
19827         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
19828         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
19829         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
19830         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
19831         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
19832         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
19833         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
19834         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
19835         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
19836         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
19837         syscall.
19838         (geteuid): Likewise.
19839         (getgid): Likewise.
19840         (getuid): Likewise.
19841         (getresgid): Likewise.
19842         (getresuid): Likewise.
19843         (getgroups): Likewise.
19844         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
19845         (geteuid): Likewise.
19846         (getgid): Likewise.
19847         (getuid): Likewise.
19848         (getresgid): Likewise.
19849         (getresuid): Likewise.
19850         (getgroups): Likewise.
19851         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
19852         (geteuid): Likewise.
19853         (getgid): Likewise.
19854         (getuid): Likewise.
19855         (getresgid): Likewise.
19856         (getresuid): Likewise.
19857         (getgroups): Likewise.
19858         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
19859         Likewise.
19860         (geteuid): Likewise.
19861         (getgid): Likewise.
19862         (getuid): Likewise.
19863         (getresgid): Likewise.
19864         (getresuid): Likewise.
19865         (getgroups): Likewise.
19866         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
19867         (geteuid): Likewise.
19868         (getgid): Likewise.
19869         (getuid): Likewise.
19870         (getresgid): Likewise.
19871         (getresuid): Likewise.
19872         (getgroups): Likewise.
19873         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
19874         Likewise.
19875         (geteuid): Likewise.
19876         (getgid): Likewise.
19877         (getuid): Likewise.
19878         (getgroups): Likewise.
19880         [BZ #14138]
19881         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
19882         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
19883         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
19884         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
19885         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
19886         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
19887         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
19888         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
19889         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
19890         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
19891         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
19892         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
19893         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
19894         __chown.
19895         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
19896         (lchown): Likewise.
19897         (fchown): Likewise.
19898         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
19899         Likewise.
19900         (lchown): Likewise.
19901         (fchown): Likewise.
19902         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
19903         (lchown): Likewise.
19904         (fchown): Likewise.
19905         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
19906         Likewise.
19907         (lchown): Likewise.
19908         (fchown): Likewise.
19910 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
19912         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
19913         Simplify logic.
19915 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
19917         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
19918         Cleanup logic.
19920 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
19922         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
19923         Remove unused include.
19925 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
19927         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
19928         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
19929         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
19930         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
19932 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
19933             Helge Deller <deller@gmx.de>
19935         [BZ #17508]
19936         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
19937         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
19938         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
19940 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
19942         [BZ #14132]
19943         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
19944         Remove macro definition.
19945         (__ashrdi3_v_glibc20): Likewise.
19946         (__lshrdi3_v_glibc20): Likewise.
19947         (__cmpdi2_v_glibc20): Likewise.
19948         (__ucmpdi2_v_glibc20): Likewise.
19949         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
19950         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
19951         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
19952         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
19953         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
19954         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
19956 2014-10-22  Roland McGrath  <roland@hack.frob.com>
19958         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
19959         old GNU extension [0] syntax.
19960         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
19961         alloca rather than an array member with variable length.
19962         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
19963         * nscd/nscd.c (invalidate_db): New function, broken out of ...
19964         (parse_opt): ... here.  Likewise use alloca there.
19965         Validate the -i argument before checking for rootness.
19966         (send_shutdown): New function, broken out of ...
19967         (parse_opt): ... here.
19969 2014-10-22  Roland McGrath  <roland@hack.frob.com>
19971         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
19972         macro to get at the _rt_local_ro field.
19973         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
19974         ([PIC] case) or _dl_hwcap ([!PIC] case).
19975         * sysdeps/arm/setjmp.S: Likewise.
19977         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
19978         * sysdeps/arm/configure.ac: New check to define it.
19979         * sysdeps/arm/configure: Regenerated.
19980         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
19981         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
19982         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
19983         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
19984         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
19985         Use move/movt pair instead of a load.
19986         (LDST_GLOBAL): Macro removed.
19987         (LDR_GLOBAL): New macro replaces it.
19988         (LDR_HIDDEN): New macro.
19989         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
19990         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
19992         * setjmp/tst-setjmp-static.c: New file.
19993         * setjmp/Makefile (tests): Add it.
19994         (tests-static): New variable.
19996 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
19998         [BZ #17485]
19999         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
20001 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
20003         [BZ #14132]
20004         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
20006 2014-10-21  Roland McGrath  <roland@hack.frob.com>
20008         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
20010 2014-10-20  Roland McGrath  <roland@hack.frob.com>
20012         * io/fts.c (dirent_not_directory): New function.
20013         (fts_build): Call it.
20015 2014-10-20  Roland McGrath  <roland@hack.frob.com>
20017         * nptl/version.c (__nptl_main): Use normal __write rather than
20018         INTERNAL_SYSCALL.
20019         (banner): Update copyright years.
20021         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
20022         gettimeofday.
20023         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
20024         * nptl/pthread_cond_timedwait.c: Likewise.
20025         * nptl/pthread_mutex_timedlock.c: Likewise.
20026         * nptl/sem_timedwait.c: Likewise.
20028         * sysdeps/nptl/bits/libc-lock.h
20029         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
20030         (__libc_lock_init_recursive): Return void, not 0.
20031         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
20032         (__libc_rwlock_init): Likewise.
20033         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
20035 2014-10-20  Torvald Riegel  <triegel@redhat.com>
20037         [BZ #15215]
20038         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
20039         (__pthread_once_slow): ... here.
20040         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
20041         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
20043 2014-10-20  Torvald Riegel  <triegel@redhat.com>
20045         [BZ #15215]
20046         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
20047         __PTHREAD_ONCE_FORK_GEN_INCR): New.
20048         * sysdeps/nptl/fork.c (__libc_fork): Use them.
20049         * nptl/pthread_once.c (__pthread_once): Likewise.
20050         Update comments.
20052 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
20054         [BZ #14138]
20055         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
20056         name.
20057         (writev): Use __libc_writev as strong name.
20058         * sysdeps/unix/sysv/linux/readv.c: Remove file.
20059         * sysdeps/unix/sysv/linux/writev.c: Likewise.
20061 2014-10-17  Roland McGrath  <roland@hack.frob.com>
20063         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
20065         * sysdeps/i386/nptl/tls.h
20066         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
20067         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
20068         New macros.
20069         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
20070         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
20071         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
20072         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
20073         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
20074         Call CHECK_THREAD_SYSINFO instead of doing an assert.
20076         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
20077         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
20078         on [__NR_futex].
20079         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
20080         broken out of ...
20081         (__pthread_mutex_init): ... here.  Call it.
20082         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
20083         Conditionalize PI cases on [__NR_futex].
20084         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
20085         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
20086         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
20088         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
20089         conditional on [SIGSETXID].
20090         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
20091         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
20092         is defined.  Likewise for SIGSETXID.
20093         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
20094         Conditionalize definitions on [SIGSETXID].
20095         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
20096         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
20097         unblocking on [SIGCANCEL].
20099         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
20100         [__NR_set_robust_list].
20102 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
20104         * string/strcoll_l.c (get_next_seq): Fix up formatting.
20105         (do_compare): Likewise.
20107 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
20109         [BZ #15884]
20110         * string/strcoll_l.c: Don't include stdio.h.
20111         (coll_seq): Remove members idxarr and rulearr.
20112         (get_next_seq_cached): Remove function.
20113         (get_next_seq): Likewise.
20114         (get_next_seq_nocache): Rename to get_next_seq.
20115         (do_compare): Remove function.
20116         (do_compare_nocache): Rename to do_compare.
20117         (STRCOLL): Remove weight and rules cache.
20119 2014-10-16  Roland McGrath  <roland@hack.frob.com>
20121         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
20122         * sysdeps/arm/sfp-machine.h: ... to here.
20123         * sysdeps/arm/Implies: Remove arm/soft-fp.
20125 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
20127         * conform/data/sys/utsname.h-data (*_t): Allow.
20128         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
20129         [POSIX] (WEXITED): Do not expect constant.
20130         [POSIX] (WSTOPPED): Likewise.
20131         [POSIX] (WNOHANG): Likewise.
20132         [POSIX] (WNOWAIT): Likewise.
20133         [POSIX] (siginfo_t): Do not expect type or elements.
20134         [POSIX] (pid_t): Do not expect type.
20135         [POSIX] (signal.h): Do not allow header.
20136         [POSIX] (sys/resource.h): Likewise.
20137         [POSIX] (si_*): Do not allow pattern.
20138         [POSIX] (W*): Likewise.
20139         [POSIX] (P_*): Likewise.
20140         [POSIX] (BUS_*): Likewise.
20141         [POSIX] (CLD_*): Likewise.
20142         [POSIX] (FPE_*): Likewise.
20143         [POSIX] (ILL_*): Likewise.
20144         [POSIX] (POLL_*): Likewise.
20145         [POSIX] (SEGV_*): Likewise.
20146         [POSIX] (SI_*): Likewise.
20147         [POSIX] (TRAP_*): Likewise.
20148         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
20149         variable.
20151 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
20153         [BZ #12926]
20154         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
20155         infinite loop when __recvmsg returns 0.
20157 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
20159         * CANCEL-FCT-WAIVE: Remove file.
20160         * CANCEL-FILE-WAIVE: Likewise.
20162         [BZ #14132]
20163         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
20164         instead of INTVARDEF.
20165         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
20166         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
20167         rtld_hidden_data_def instead of INTVARDEF.
20168         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
20169         * elf/dl-deps.c (expand_dst): Likewise.
20170         * elf/dl-load.c (_dl_dst_count): Likewise.
20171         (_dl_dst_substitute): Likewise.
20172         (decompose_rpath): Likewise.
20173         (_dl_init_paths): Likewise.
20174         (open_path): Likewise.
20175         (_dl_map_object): Likewise.
20176         * elf/rtld.c (dl_main): Likewise.
20177         (process_dl_audit): Likewise.
20178         (process_envvars): Likewise.
20179         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
20180         Remove declaration.
20181         (__libc_enable_secure): Use rtld_hidden_proto.
20183 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
20185         * elf/dl-load.c
20186         (add_path): New function broken out of _dl_rtld_di_serinfo.
20187         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
20189 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
20191         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
20192         parentheses around macro arguments.
20193         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
20194         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
20195         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
20196         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
20197         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
20198         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
20199         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
20200         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
20201         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
20202         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
20203         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
20204         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
20205         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
20206         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
20207         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
20208         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
20209         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
20210         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
20211         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
20212         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
20213         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
20214         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
20215         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
20216         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
20217         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
20218         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
20219         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
20220         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
20221         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
20222         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
20223         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
20224         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
20225         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
20226         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
20227         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
20228         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
20229         Likewise.
20230         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
20231         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
20232         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
20233         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
20234         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
20235         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
20236         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
20237         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
20238         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
20239         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
20240         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
20241         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
20242         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
20243         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
20244         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
20245         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
20246         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
20247         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
20248         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
20249         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
20250         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
20251         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
20252         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
20253         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
20254         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
20255         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
20256         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
20257         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
20258         (_FP_FRAC_SRS_1): Likewise.
20259         (_FP_FRAC_CLZ_1): Likewise.
20260         (_FP_MUL_MEAT_1_imm): Likewise.
20261         (_FP_MUL_MEAT_1_wide): Likewise.
20262         (_FP_MUL_MEAT_1_hard): Likewise.
20263         (_FP_SQRT_MEAT_1): Likewise.
20264         (_FP_FRAC_ASSEMBLE_1): Likewise.
20265         (_FP_FRAC_DISASSEMBLE_1): Likewise.
20266         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
20267         (__FP_CLZ_2): Likewise.
20268         (_FP_MUL_MEAT_2_wide): Likewise.
20269         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
20270         (_FP_MUL_MEAT_2_gmp): Likewise.
20271         (_FP_MUL_MEAT_2_120_240_double): Likewise.
20272         (_FP_SQRT_MEAT_2): Likewise.
20273         (_FP_FRAC_ASSEMBLE_2): Likewise.
20274         (_FP_FRAC_DISASSEMBLE_2): Likewise.
20275         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
20276         (_FP_FRAC_CLZ_4): Likewise.
20277         (_FP_MUL_MEAT_4_wide): Likewise.
20278         (_FP_MUL_MEAT_4_gmp): Likewise.
20279         (_FP_SQRT_MEAT_4): Likewise.
20280         (_FP_FRAC_ASSEMBLE_4): Likewise.
20281         (_FP_FRAC_DISASSEMBLE_4): Likewise.
20282         * soft-fp/op-common.h (_FP_CMP): Likewise.
20283         (_FP_CMP_EQ): Likewise.
20284         (_FP_CMP_UNORD): Likewise.
20285         (_FP_TO_INT): Likewise.
20286         (_FP_FROM_INT): Likewise.
20287         [!__FP_CLZ] (__FP_CLZ): Likewise.
20288         (_FP_DIV_HELP_imm): Likewise.
20289         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
20290         Likewise.
20291         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
20292         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
20293         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
20294         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
20295         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
20296         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
20297         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
20298         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
20299         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
20300         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
20301         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
20302         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
20303         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
20304         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
20305         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
20306         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
20307         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
20308         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
20309         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
20310         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
20311         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
20312         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
20313         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
20314         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
20315         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
20316         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
20317         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
20318         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
20319         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
20320         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
20321         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
20322         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
20323         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
20324         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
20325         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
20326         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
20327         (FP_UNPACK_RAW_SP): Likewise.
20328         (FP_PACK_RAW_S): Likewise.
20329         (FP_PACK_RAW_SP): Likewise.
20330         (FP_UNPACK_S): Likewise.
20331         (FP_UNPACK_SP): Likewise.
20332         (FP_UNPACK_SEMIRAW_S): Likewise.
20333         (FP_UNPACK_SEMIRAW_SP): Likewise.
20334         (FP_PACK_S): Likewise.
20335         (FP_PACK_SP): Likewise.
20336         (FP_PACK_SEMIRAW_S): Likewise.
20337         (FP_PACK_SEMIRAW_SP): Likewise.
20338         (_FP_SQRT_MEAT_S): Likewise.
20339         (FP_CMP_S): Likewise.
20340         (FP_CMP_EQ_S): Likewise.
20341         (FP_CMP_UNORD_S): Likewise.
20342         (FP_TO_INT_S): Likewise.
20343         (FP_FROM_INT_S): Likewise.
20345         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
20347         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
20348         (FP_EX_INVALID_IMZ): Likewise.
20349         (FP_EX_INVALID_IMZ_FMA): Likewise.
20350         (FP_EX_INVALID_ISI): Likewise.
20351         (FP_EX_INVALID_ZDZ): Likewise.
20352         (FP_EX_INVALID_IDI): Likewise.
20353         (FP_EX_INVALID_SQRT): Likewise.
20354         (FP_EX_INVALID_CVI): Likewise.
20355         (FP_EX_INVALID_VC): Likewise.
20356         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
20357         "invalid" exceptions.
20358         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
20359         (_FP_ADD_INTERNAL): Likewise.
20360         (_FP_MUL): Likewise.
20361         (_FP_FMA): Likewise.
20362         (_FP_DIV): Likewise.
20363         (_FP_CMP_CHECK_NAN): Likewise.
20364         (_FP_SQRT): Likewise.
20365         (_FP_TO_INT): Likewise.
20366         (FP_EXTEND): Likewise.
20368 2014-10-09  Allan McRae  <allan@archlinux.org>
20370         * po/fr.po: Update French translation from translation project.
20372 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
20374         [BZ #14132]
20375         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
20376         of INTDEF.
20377         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
20378         (__cxa_atexit): Use libc_hidden_proto.
20379         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
20381         [BZ #14132]
20382         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
20383         declaration.
20384         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
20385         [!_ISOMAC] (__iswspace_l_internal): Likewise.
20386         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
20387         [!_ISOMAC] (__iswctype_internal): Likewise.
20388         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
20389         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
20390         alias.
20391         (fcntl): Remove __fcntl_internal alias.
20392         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
20393         __connect_internal alias.
20394         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
20395         Likewise.
20397         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
20398         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
20399         FP_DENORM_ZERO.
20400         (_FP_CHECK_FLUSH_ZERO): New macro.
20401         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
20402         (_FP_CMP): Likewise.
20403         (_FP_CMP_EQ): Likewise.
20404         (_FP_TO_INT): Do not set inexact for subnormal arguments if
20405         FP_DENORM_ZERO.
20406         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
20407         (FP_TRUNC): Likewise.
20409         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
20410         treated as invalid conversion, not as normal exponent.
20412         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
20413         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
20414         (_FP_CMP_EQ): Likewise.
20415         (_FP_CMP_UNORD): Likewise.
20416         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
20417         (FP_CMP_EQ_D): Likewise.
20418         (FP_CMP_UNORD_D): Likewise.
20419         * soft-fp/extended.h (FP_CMP_E): Likewise.
20420         (FP_CMP_EQ_E): Likewise.
20421         (FP_CMP_UNORD_E): Likewise.
20422         * soft-fp/quad.h (FP_CMP_Q): Likewise.
20423         (FP_CMP_EQ_Q): Likewise.
20424         (FP_CMP_UNORD_Q): Likewise.
20425         * soft-fp/single.h (FP_CMP_S): Likewise.
20426         (FP_CMP_EQ_S): Likewise.
20427         (FP_CMP_UNORD_S): Likewise.
20428         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
20429         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
20430         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
20431         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
20432         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
20433         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
20434         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
20435         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
20436         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
20437         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
20438         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
20439         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
20440         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
20441         to FP_CMP_Q.
20442         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
20443         FP_CMP_Q.
20444         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
20445         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
20446         FP_CMP_EQ_Q.
20447         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
20448         FP_CMP_Q.
20449         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
20450         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
20451         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
20452         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
20453         FP_CMP_EQ_Q.
20454         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
20455         FP_CMP_Q.
20456         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
20457         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
20458         FP_CMP_EQ_Q.
20459         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
20460         FP_CMP_Q.
20461         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
20462         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
20463         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
20464         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
20465         FP_CMP_EQ_Q.
20467         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
20468         a subnormal result, set the underflow exception if trapping on
20469         underflow is enabled.
20470         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
20471         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
20472         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
20473         redefine to 0.
20474         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
20475         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
20476         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
20477         * soft-fp/extendxftf2.c (__extendxftf2): Use
20478         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
20480         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
20481         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
20482         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
20483         FP_HANDLE_EXCEPTIONS.
20484         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
20485         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
20486         FP_HANDLE_EXCEPTIONS.
20487         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
20488         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
20489         FP_HANDLE_EXCEPTIONS.
20490         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
20491         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
20492         FP_HANDLE_EXCEPTIONS.
20494 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
20496         [BZ #14132]
20497         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
20498         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
20499         use INTUSE.
20500         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
20501         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
20502         Remove alias.
20503         (__adjtimex): Define using libc_hidden_ver.
20504         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
20505         Remove declaration.
20506         (ntp_gettime): Call __adjtimex directly.
20507         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
20508         Remove declaration.
20509         (ntp_gettimex): Call __adjtimex directly.
20510         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
20511         __adjtimex_internal alias.
20513 2014-10-08  Roland McGrath  <roland@hack.frob.com>
20515         [BZ #17460]
20516         * nscd/nscd.c (more_help): Rewrite list of tables collection
20517         using xstrdup and asprintf.
20519         * nscd/nscd_conf.c: Remove local xstrdup declaration.
20521 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
20522             Roland McGrath  <roland@hack.frob.com>
20524         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
20525         (do_lookup_unique): ... local function 'enter' here; update callers.
20527 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
20529         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
20530         compat_symbol calls on [SHARED].
20531         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
20532         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
20533         Remove.
20534         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
20535         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
20536         (oldsetrlimit): Remove.
20537         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
20538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
20539         (lchown): New syscall entry.
20540         (oldsetrlimit): Remove.
20541         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
20542         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
20543         (oldsetrlimit): Remove.
20544         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
20546         [BZ #14138]
20547         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
20548         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
20549         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
20550         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
20551         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
20552         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
20553         (fchown): Likewise.
20554         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
20555         (fchown): Likewise.
20556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
20557         Likewise.
20559 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20561         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
20562         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
20563         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
20564         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
20565         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
20566         Likewise.
20567         (__old_sem_post): Likewise.
20569 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
20571         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
20572         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
20573         HAVE_CLOCK_GETTIME_VSYSCALL macros.
20574         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
20575         Use INLINE_VSYSCALL macro.
20576         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
20577         __vdso_clock_gettime.
20578         * sysdeps/unix/sysv/linux/tile/init-first.c
20579         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
20580         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
20581         __vdso_clock_gettime.
20583         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
20584         to set up frame more cleanly.
20586         * sysdeps/tile/memcmp.c: New file.
20588         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
20590         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
20591         * sysdeps/tile/tilegx/strcasestr.c: New file.
20592         * sysdeps/tile/tilegx/strnlen.c: New file.
20593         * sysdeps/tile/tilegx/strstr.c: New file.
20595         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
20597 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
20599         * nptl/tst-setuid3.c: Write errors to stdout.
20601 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
20603         * elf/dl-deps.c
20604         (preload): New functions broken out of _dl_map_object_deps.
20605         (_dl_map_object_deps):  Remove a nested function. Update call sites.
20607 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
20609         [BZ #14138]
20610         * sysdeps/unix/sysv/linux/execve.c: Remove file.
20611         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
20613 2014-10-01  Steve Ellcey  <sellcey@mips.com>
20615         * sysdeps/mips/strcmp.S: New.
20617 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
20619         [BZ #14138]
20620         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
20621         (linkat): Likewise.
20622         (mkdirat): Likewise.
20623         (readlinkat): Likewise.
20624         (renameat): Likewise.
20625         (symlinkat): Likewise.
20626         (unlinkat): Likewise.
20627         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
20628         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
20629         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
20630         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
20631         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
20632         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
20633         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
20635 2014-09-30  Will Newton  <will.newton@linaro.org>
20637         * math/math.h: Define long double math functions if
20638         _LIBC_TEST is defined.
20639         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
20641         * localedata/Makefile: Move assignment to tests-special
20642         into an ifdef testing run-built-tests.
20643         * timezone/Makefile: Likewise.
20645 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
20647         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
20648         with $(BASH) not $(SHELL).
20650 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
20651             Matthew LeGendre  <legendre1@llnl.gov>
20653         [BZ #17411]
20654         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
20655         l_reloc_result.
20657 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
20659         * stdio-common/printf_fp.c
20660         (hack_digit): New function, broken out of ...
20661         (__printf_fp): ... local function here.  Update call sites.
20662         hack_digit now takes an additional parameter that is a pointer
20663         to a struct of the referenced locals.  Those locals moved inside
20664         the struct and references updated.
20666 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
20668         * aclocal.m4: Require autoconf 2.69.
20669         * configure: Regenerated.
20670         * sysdeps/aarch64/configure: Likewise.
20671         * sysdeps/alpha/configure: Likewise.
20672         * sysdeps/arm/armv7/configure: Likewise.
20673         * sysdeps/arm/configure: Likewise.
20674         * sysdeps/ia64/configure: Likewise.
20675         * sysdeps/mach/configure: Likewise.
20676         * sysdeps/mips/configure: Likewise.
20677         * sysdeps/s390/configure: Likewise.
20678         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
20679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
20681         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
20682         file.
20683         * sysdeps/ia64/configure.ac: Likewise.
20685 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
20687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
20688         specify symbol version for ld.so.  Do not include entry for
20689         libpthread.
20690         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
20691         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
20692         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
20694         [BZ #14171]
20695         * Makeconfig [$(build-shared) = yes]
20696         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
20697         makefiles.
20698         [$(build-shared) = yes && $(soversions.mk-done) = t]
20699         ($(common-objpfx)gnu/lib-names.h): Remove rule.
20700         [$(build-shared) = yes && $(soversions.mk-done) = t]
20701         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
20702         to Makerules.
20703         [$(build-shared) = yes && $(soversions.mk-done) = t]
20704         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
20705         here.
20706         [$(build-shared) = yes && $(soversions.mk-done) = t]
20707         (common-generated): Don't append gnu/lib-names.h and
20708         gnu/lib-names.stmp here.
20709         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
20710         (lib-names-h-abi): New variable.
20711         [$(build-shared) = yes && $(soversions.mk-done) = t]
20712         (lib-names-stmp-abi): Likewise.
20713         [$(build-shared) = yes && $(soversions.mk-done) = t &&
20714         abi-variants] (before-compile): Append
20715         $(common-objpfx)$(lib-names-h-abi).
20716         [$(build-shared) = yes && $(soversions.mk-done) = t &&
20717         abi-variants] (common-generated): Append gnu/lib-names.h.
20718         [$(build-shared) = yes && $(soversions.mk-done) = t &&
20719         abi-variants] (install-others-nosubdir): Depend on
20720         $(inst_includedir)/$(lib-names-h-abi).
20721         [$(build-shared) = yes && $(soversions.mk-done) = t &&
20722         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
20723         [$(build-shared) = yes && $(soversions.mk-done) = t]
20724         ($(common-objpfx)$(lib-names-h-abi)): New rule.
20725         [$(build-shared) = yes && $(soversions.mk-done) = t]
20726         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
20727         [$(build-shared) = yes && $(soversions.mk-done) = t]
20728         (common-generated): Append $(lib-names-h-abi) and
20729         $(lib-names-stmp-abi).
20730         * scripts/lib-names.awk: Do not handle multi being set.
20731         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
20732         Remove variable.
20733         (abi-lp64_be-ld-soname): Likewise.
20734         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
20735         Likewise.
20736         (abi-hard-ld-soname): Likewise.
20737         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
20738         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
20739         Remove variable.
20740         (abi-o32_hard-ld-soname): Likewise.
20741         (abi-o32_soft_2008-ld-soname): Likewise.
20742         (abi-o32_hard_2008-ld-soname): Likewise.
20743         (abi-n32_soft-ld-soname): Likewise.
20744         (abi-n32_hard-ld-soname): Likewise.
20745         (abi-n32_soft_2008-ld-soname): Likewise.
20746         (abi-n32_hard_2008-ld-soname): Likewise.
20747         (abi-n64_soft-ld-soname): Likewise.
20748         (abi-n64_hard-ld-soname): Likewise.
20749         (abi-n64_soft_2008-ld-soname): Likewise.
20750         (abi-n64_hard_2008-ld-soname): Likewise.
20751         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
20752         Likewise.
20753         (abi-64-v2-ld-soname): Likewise.
20754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
20755         ld.so entries.
20756         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
20757         variable.
20758         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
20759         entry.
20760         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
20761         variable.
20762         (abi-64-ld-soname): Likewise.
20763         (abi-x32-ld-soname): Likewise.
20764         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
20765         entry.
20766         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
20768 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
20770         [BZ #14138]
20771         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
20772         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
20773         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
20774         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
20775         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
20776         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
20777         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
20778         syscall entry for GLIBC_2.2 symbol version.
20779         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
20780         Likewise.
20781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
20782         (setrlimit): Likewise.
20783         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
20784         Likewise.
20786 2014-09-23  Will Newton  <will.newton@linaro.org>
20788         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
20789         _LINUX_ARM_SYSDEP_H include guard too.
20790         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
20791         define.
20793 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
20795         * sysdeps/unix/sysv/linux/eventfd.c:
20796         Make first argument unsigned.
20797         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
20798         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
20800 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
20802         * socket/recvmmsg.c (recvmmsg): Drop const argument.
20803         * socket/sys/socket.h: Likewise
20804         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
20806 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20808         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
20810 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
20812         * time/tst-ftime.c: New test.
20813         * time/Makefile (tests): Add tst-ftime.
20815 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
20817         * soft-fp/extended.h: Fix comment formatting.
20818         * soft-fp/op-1.h: Likewise.
20819         * soft-fp/op-2.h: Likewise.
20820         * soft-fp/op-4.h: Likewise.
20821         * soft-fp/op-8.h: Likewise.
20822         * soft-fp/op-common.h: Likewise.
20823         * soft-fp/soft-fp.h: Likewise.
20825         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
20827 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
20829         [BZ #6652]
20830         * Makeconfig (soversions-default-setname): Remove variable.
20831         ($(common-objpfx)soversions.i): Don't pass default_setname to
20832         soversions.awk.
20833         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
20834         oldest_abi to abi-versions.awk.
20835         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
20836         * config.make.in (oldest-abi): Remove variable.
20837         * configure.ac (--enable-oldest-abi): Remove configure option.
20838         * configure: Regenerated.
20839         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
20840         text.
20841         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
20842         * scripts/soversions.awk: Do not handle default_setname variable.
20843         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
20844         variable.
20845         * sysdeps/mach/hurd/configure: Regenerated.
20846         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
20847         variable.
20848         * sysdeps/unix/sysv/linux/configure: Regenerated.
20850 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
20852         * elf/Makefile (CFLAGS-interp.c): Remove.
20853         ($(elf-objpfx)runtime-linker.h): Generate header with linker
20854         path string.
20855         * elf/interp.c: Include generated runtime-linker.h
20857         * Makerules (lib%.so): Don't include $(+interp) in
20858         prerequisites.
20859         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
20860         * dlfcn/eval.c: Remove file.
20862         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
20863         macros.
20865         [BZ #17266]
20866         * misc/sys/cdefs.h: Define __extern_always_inline for clang
20867         4.2 and newer.
20869         [BZ #17370]
20870         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
20872 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
20873             Jakub Jelinek  <jakub@redhat.com>
20875         [BZ #17266]
20876         * libio/stdio.h: Check definition of __fortify_function
20877         instead of __extern_always_inline to include bits/stdio2.h.
20878         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
20879         check if __extern_always_inline is defined.
20880         [__USE_MISC || __USE_XOPEN]: Likewise.
20881         [__USE_ISOC99] Likewise.
20882         * misc/sys/cdefs.h (__fortify_function): Define only if
20883         __extern_always_inline is defined.
20884         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
20885         __extern_always_inline and __extern_inline only for g++-4.3
20886         and newer or a compatible gcc.
20888 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
20890         [BZ #17371]
20891         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
20892         last change to handle zero prefix length.
20894 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20896         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
20897         _SC_REGEX_VERSION.
20899         * posix/getconf.c (vars): Add _POSIX_IPV6 and
20900         _POSIX_RAW_SOCKETS.
20902 2014-09-13  Allan McRae  <allan@archlinux.org>
20904         * po/ru.po: Update Russian translation from translation project.
20906 2014-09-12  Roland McGrath  <roland@hack.frob.com>
20908         * locale/programs/locale.c (show_locale_vars): Inline local function
20909         into its sole call site.  Clean up some style nits.
20910         (print_item): New function, broken out of ...
20911         (show_info): ... local function here.  Clean up style nits.
20913         * locale/programs/ld-ctype.c (set_one_default): New function, broken
20914         out of ...
20915         (set_class_defaults): ... local function set_default here.
20916         Define set_default as a macro locally to pass constant parameters.
20917         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
20918         rather than a shared local.
20920         * stdlib/rpmatch.c (try): New function, broken out of ...
20921         (rpmatch): ... local function here.  Also, prototypify definition.
20923 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
20925         * scripts/soversions.awk: Do not handle configuration names.
20926         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
20927         vendor and os variables to soversions.awk.
20928         * configure.ac: Do not modify gnu-* host_os.
20929         * configure: Regenerated
20930         * shlib-versions: Remove first column with configuration names.
20931         * nptl/shlib-versions: Likewise.
20932         * nptl_db/shlib-versions: Likewise.
20933         * sysdeps/hppa/shlib-versions: Likewise.
20934         * sysdeps/m68k/shlib-versions: Likewise.
20935         * sysdeps/mach/hurd/shlib-versions: Likewise.
20936         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
20937         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
20938         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
20939         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
20940         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
20941         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
20942         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
20943         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
20944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
20945         Likewise.
20946         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
20947         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
20948         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
20949         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
20950         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
20951         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
20952         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
20953         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
20955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
20956         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
20957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
20958         Regenerated.
20959         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
20960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
20961         Condition symbol version definitions on [HAVE_ELFV2_ABI].
20963         * shlib-versions: Remove OS-specific entries.  Moved to files in
20964         sysdeps.
20965         * sysdeps/mach/hurd/shlib-versions: New file.
20966         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
20968         * nptl/shlib-versions: Remove architecture-specific entries.
20969         Moved to files in sysdeps.
20970         * shlib-versions: Likewise.
20971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
20972         file.
20973         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
20974         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
20975         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
20976         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
20978         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
20979         (UDP_NO_CHECK6_RX): Likewise.
20981 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
20983         * sysdeps/posix/sysconf.c (__sysconf): Spell
20984         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
20986 2014-08-12  Florian Weimer  <fweimer@redhat.com>
20988         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
20989         loading.
20990         * iconv/Versions (__gconv_transliterate): Export for use from
20991         gconv modules.
20992         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
20993         (struct __gconv_trans_data, __gconv_trans_fct,
20994         __gconv_trans_context_fct, __gconv_trans_query_fct,
20995         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
20996         definitions.
20997         (struct __gconv_step_data): Remove __trans member.
20998         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
20999         longer hidden.  Remove unused trans_data argument.
21000         * iconv/gconv_int.h (struct trans_struct): Remove definition.
21001         (__gconv_translit_find): Remove declaration.
21002         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
21003         prototype.
21004         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
21005         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
21006         trans_data argument.  Add hidden definition.
21007         (__gconv_translit_find): Remove.
21008         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
21009         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
21010         * iconv/skeleton.c: Remove transliteration initialization.
21011         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
21012         __gconv_step_data initialization.
21013         * libio/iofwide.c (__libio_translit_): Remove.
21014         (_IO_fwide): Adjust struct __gconv_step_data initialization.
21015         * wcsmbs/btowc.c (__btowc): Likewise.
21016         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
21017         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
21018         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
21019         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
21020         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
21021         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
21022         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
21023         * wcsmbs/wctob.c (wctob): Likewise.
21025 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
21027         [BZ #16194]
21028         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
21029         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
21030         register usage.
21031         * sysdeps/x86/Makefile: Adjust.
21033 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
21034             Roland McGrath  <roland@hack.frob.com>
21036         * locale/weight.h: Add include guard.
21037         (findidx): Make static rather than auto; take new parameters
21038         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
21039         * locale/weightwc.h: Likewise.
21040         * posix/fnmatch_loop.c
21041         (FCT): Change type of EXTRA from int32_t to wint_t.
21042         Don't include either header inside the function.
21043         Call FINDIDX rather than findidx, and pass new arguments.
21044         #undef FINDIDX at the end of the file.
21045         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
21046         FINDIDX before including fnmatch_loop.c for the non-wide version.
21047         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
21048         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
21049         for the wide version.
21050         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
21051         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
21052         Pass new arguments to findidx.
21053         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
21054         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
21055         Don't #include it inside the function.  Pass new arguments to findidx.
21056         * posix/regex_internal.h
21057         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
21058         (re_string_elem_size_at): Don't #include it inside the function.
21059         Pass new arguments to findidx.
21060         * string/strcoll_l.c: #include WEIGHT_H at top level.
21061         (get_next_seq): Don't #include it inside the function.
21062         Pass new arguments to findidx.
21063         (get_next_seq_nocache): Likewise.
21064         * string/strxfrm_l.c: #include WEIGHT_H at top level.
21065         (STRXFRM): Don't #include it inside the function.
21066         Pass new arguments to findidx.
21068 2014-09-11  Florian Weimer  <fweimer@redhat.com>
21070         [BZ #17344]
21071         * malloc/malloc.c (unlink): Turn asserts into a call to
21072         malloc_printerr.
21074 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
21076         [BZ #17370]
21077         * libio/wfileops (do_ftell_wide): Free OUT.
21079 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
21081         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
21083 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21085         [BZ #17363]
21086         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
21087         group if the current group is empty.
21089 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21091         * benchtests/bench-memset.c (test_main): Add more test from size
21092         from 32 to 512 bytes.
21093         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21094         Add POWER8 memset object.
21095         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21096         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
21097         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
21098         implementation.
21099         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
21100         Likewise.
21101         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
21102         multiarch POWER8 memset optimization.
21103         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
21104         POWER8 memset optimization.
21106         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21107         Remove bzero multiarch objects.
21108         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
21109         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
21110         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
21111         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
21112         Remove define.
21113         [__bzero]: Redefine to specific name.
21114         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
21115         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
21116         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
21117         define.
21118         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
21119         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
21121 2014-09-10  Florian Weimer  <fweimer@redhat.com>
21123         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
21124         warnings into errors.
21126         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
21127         __cxa_thread_atexit_impl prototype.
21129 2014-09-09  Steve Ellcey  <sellcey@mips.com>
21131         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
21132         Fix capitalization of error message.
21134 2014-09-09  Steve Ellcey  <sellcey@mips.com>
21136         * sysdeps/mips/preconfigure: Modify ABI tests.
21138 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
21140         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
21142 2014-09-07  Roland McGrath  <roland@hack.frob.com>
21143             Carlos O'Donell  <carlos@systemhalted.org>
21145         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
21146         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
21147         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
21148         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
21149         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
21150         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
21151         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
21152         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
21153         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
21154         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
21155         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
21156         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
21157         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
21158         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
21159         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
21160         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
21161         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
21162         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
21163         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
21164         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
21165         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
21166         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
21167         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
21168         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
21169         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
21170         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
21171         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
21172         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
21173         Deconditionalize the code that was previously under [RESET_PID].
21174         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
21175         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
21176         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
21177         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
21178         include sysdep.h.
21180 2014-09-08  Allan McRae  <allan@archlinux.org>
21182         * version.h (RELEASE): Set to "development".
21183         (VERSION): Set to "2.20.90"
21185 2014-09-07  Allan McRae  <allan@archlinux.org
21187         * version.h (RELEASE): Set to "stable".
21188         (VERSION): Set to "2.20"
21189         * include/features.h (__GLIBC_MINOR__): Set to 20.
21191         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
21192         Liebler.
21194         * po/ko.po: Update Korean translation from translation project.
21196 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
21198         [BZ #17354]
21199         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
21200         macro for handling signed relocations.
21202 2014-09-03  Florian Weimer  <fweimer@redhat.com>
21204         [BZ #17325]
21205         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
21206         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
21207         assert.
21208         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
21209         * iconvdata/ibm935.c (BODY): Likewise.
21210         * iconvdata/ibm937.c (BODY): Likewise.
21211         * iconvdata/ibm939.c (BODY): Likewise.
21212         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
21213         assert.
21214         * iconvdata/Makefile (iconv-test.out): Pass module list to test
21215         script.
21216         * iconvdata/run-iconv-test.sh: New test loop for checking for
21217         decoder crashers.
21219 2014-09-02  Khem Raj  <raj.khem@gmail.com>
21221         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
21222         libm_hidden_ver.
21224 2014-09-01  Allan McRae  <allan@archlinux.org>
21226         * po/eo.po: Update Esperanto translation from translation project.
21228         * po/ca.po: Update Catalan translation from translation project.
21230 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21232         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
21233         __proc_dostop call.
21235 2014-08-27  Mark Wielaard  <mjw@redhat.com>
21237         [BZ #17319]
21238         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
21239         to call set_thread_area instead of hand written asm.
21240         (__NR_set_thread_area): Removed define.
21241         (TLS_FLAG_WRITABLE): Likewise.
21242         (__ASSUME_SET_THREAD_AREA): Remove check.
21243         (TLS_EBX_ARG): Remove define.
21244         (TLS_LOAD_EBX): Likewise.
21246 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21248         Simplify atomicity of socket creation in bind.
21250         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
21251         looking up the name after linking the file.
21253 2014-08-27  Allan McRae  <allan@archlinux.org>
21255         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
21257 2014-08-26  Florian Weimer  <fweimer@redhat.com>
21259         [BZ #17187]
21260         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
21261         trans_compare, open_translit, __gconv_translit_find):
21262         Remove module loading code.
21264 2014-08-26  Allan McRae  <allan@archlinux.org>
21266         * po/vi.po: Update Vietnamese translation from translation project.
21268         * po/uk.po: Update Ukrainian translation from translation project.
21270         * po/fr.po: Update French translation from translation project.
21272         * po/ru.po: Update Russian translation from translation project.
21274         * po/pl.po: Update Polish translation from translation project.
21276         * po/cs.po: Update Czech translation from translation project.
21278         * po/de.po: Update German translation from translation project.
21280         * po/bg.po: Update Bulgarian translation from translation project.
21282         * po/sv.po: Update Sweedish translation from translation project.
21284         * po/nl.po: Update Dutch translation from translation project.
21286         * po/es.po: Update Spanish translation from translation project.
21288 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21290         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
21292         * catgets/Makefile (CPPFLAGS-gencat): Remove.
21293         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
21294         (CPPFLAGS-iconvconfig): Likewise.
21295         * timezone/Makefile (CPPFLAGS-zic): Likewise.
21297         * include/libc-symbols.h: Remove unnecessary check for
21298         NOT_IN_libc.
21299         * nptl/pthreadP.h: Likewise.
21300         * sysdeps/aarch64/setjmp.S: Likewise.
21301         * sysdeps/alpha/setjmp.S: Likewise.
21302         * sysdeps/arm/sysdep.h: Likewise.
21303         * sysdeps/i386/setjmp.S: Likewise.
21304         * sysdeps/m68k/setjmp.c: Likewise.
21305         * sysdeps/posix/getcwd.c: Likewise.
21306         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
21307         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
21308         * sysdeps/s390/s390-32/setjmp.S: Likewise.
21309         * sysdeps/s390/s390-64/setjmp.S: Likewise.
21310         * sysdeps/sh/sh3/setjmp.S: Likewise.
21311         * sysdeps/sh/sh4/setjmp.S: Likewise.
21312         * sysdeps/unix/alpha/sysdep.h: Likewise.
21313         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
21314         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
21315         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
21316         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
21317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
21318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21319         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
21320         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
21321         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
21322         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
21323         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21324         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
21325         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
21326         * sysdeps/x86_64/setjmp.S: Likewise.
21328 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
21330         [BZ #17263]
21331         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
21332         <stdint.h>.
21333         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
21334         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
21336 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
21338         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
21340         [BZ #17262]
21341         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
21342         and __x86_64__ when disabling x87 inline functions.
21344 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
21346         [BZ #17259]
21347         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
21348         asm statement with __cpuid_count.
21350 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
21352         * configure.ac: Change __ehdr_start code to dereference the struct.
21353         Run readelf on the output to look for relocations.
21354         * configure: Regenerated.
21356 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
21358         [BZ #17261]
21359         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
21360         value to 0.
21361         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
21363 2014-08-12  Roland McGrath  <roland@hack.frob.com>
21365         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
21367 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
21369         [BZ #16892]
21370         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
21371         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
21373 2014-08-12  Sean Anderson  <seanga2@gmail.com>
21375         * malloc/malloc.c: Fix typo in comment.
21377 2014-08-09  Allan McRae  <allan@archlinux.org>
21379         * Regenerate libc.po.
21381 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
21383         * intl/tst-gettext2.sh: Check every lang file for creation.
21385 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
21387         * sysdeps/aarch64/fpu/math_private.h
21388         (libc_feholdsetround_noex_aarch64_ctx): New function.
21390 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
21392         * sysdeps/arm/armv6/strcpy.S (strcpy):
21393         Fix performance issue in misaligned cases.
21395 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21397         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
21398         Move definition from termios.h.
21399         (struct termio): Likewise.
21400         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
21401         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
21402         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
21403         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
21404         Likewise.
21405         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
21406         Move definition to ioctl-types.h
21407         (struct termio): Likewise.
21408         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
21409         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
21410         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
21411         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
21412         Likewise.
21414 2014-08-05  Richard Henderson  <rth@redhat.com>
21416         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
21417         exceptions.
21418         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
21419         Add fraiseexcpt.
21420         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
21421         Use __feraiseexcept.
21422         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
21423         Protect libm symbols with IS_IN_libm.
21425         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
21427 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
21429         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
21431 2014-08-04  Will Newton  <will.newton@linaro.org>
21433         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
21434         file.
21436 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
21438         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
21439         variants for each function.
21441 2014-08-04  Roland McGrath  <roland@hack.frob.com>
21443         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
21444         appended ...
21445         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
21446         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
21447         appended ...
21448         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
21449         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
21450         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
21451         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
21452         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
21453         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
21454         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
21455         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
21456         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
21457         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
21458         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
21459         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
21460         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
21461         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
21462         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
21463         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
21464         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
21465         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
21466         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
21467         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
21468         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
21469         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
21470         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
21471         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
21472         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
21473         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
21474         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
21475         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
21476         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
21477         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
21478         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
21479         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
21480         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
21481         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
21482         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
21483         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
21484         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
21485         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
21486         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
21487         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
21488         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
21489         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
21490         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
21491         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
21492         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
21493         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
21494         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
21495         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
21496         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
21497         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
21498         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
21499         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
21500         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
21501         Update #include.
21502         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
21503         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
21505 2014-08-04  Roland McGrath  <roland@hack.frob.com>
21507         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
21508         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
21509         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
21510         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
21511         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
21512         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
21514 2014-08-04  Roland McGrath  <roland@hack.frob.com>
21516         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
21517         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
21518         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
21519         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
21521 2014-08-04  Roland McGrath  <roland@hack.frob.com>
21523         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
21524         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
21525         (__libc_vfork): Define function under this name.
21526         (__vfork): Define as an alias.
21527         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
21528         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
21530 2014-08-04  Roland McGrath  <roland@hack.frob.com>
21532         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
21533         that was previously under [RESET_PID].
21534         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
21536 2014-08-04  Andreas Schwab  <schwab@suse.de>
21538         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
21540 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
21542         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
21543         (main): Likewise.
21545 2014-08-01  Roland McGrath  <roland@hack.frob.com>
21547         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
21549 2014-08-01  Richard Henderon  <rth@redhat.com>
21551         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
21552         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
21553         typo in exact zero test.
21554         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21555         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
21556         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21558 2014-08-01  Roland McGrath  <roland@hack.frob.com>
21560         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
21561         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
21562         * sysdeps/arm/sysdep.h: ... here.
21563         [!__ASSEMBLER__]: Include <stdint.h>.
21565 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
21567         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
21568         (HAVE_WCTYPE_H): Likewise.
21569         (HAVE_ISWCTYPE): Likewise.
21570         (ENABLE_NLS): Likewise.
21571         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
21572         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
21574         * posix/regex_internal.c: Check if DEBUG is defined and is
21575         set.
21577         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
21578         (HAVE_MBSRTOWCS): Likewise.
21579         * posix/fnmatch.c: Include string.h unconditionally.
21581 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
21583         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
21584         reversal.
21586 2014-07-31  Roland McGrath  <roland@hack.frob.com>
21588         * sysdeps/generic/safe-fatal.h: New file.
21589         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
21590         * nptl/forward.c: Include it.
21591         (__pthread_unwind): Use __safe_fatal as default action, rather
21592         than a bogus use of INTERNAL_SYSCALL that could never work.
21594         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
21595         * configure.ac (libc_cv_builtin_trap): New test.
21596         * configure: Regenerated.
21597         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
21598         (ABORT_INSTRUCTION): Define using __builtin_trap.
21600         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
21601         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
21602         * sysdeps/nptl/nptl-signals.h: New file.
21603         * nptl/pthreadP.h: Include <nptl-signals.h>.
21605 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
21607         * sysdeps/s390/s390-64/utf16-utf32-z9.c
21608         (ONE_DIRECTION): Define.
21609         * sysdeps/s390/s390-64/utf8-utf16-z9.c
21610         (ONE_DIRECTION): Define.
21611         * sysdeps/s390/s390-64/utf8-utf32-z9.c
21612         (ONE_DIRECTION): Define.
21614 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
21616         * sysdeps/s390/Makefile: Delete file.
21617         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
21618         * sysdeps/s390/__longjmp.c: Delete file.
21619         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
21620         Remove fields __flags and __reserved.
21621         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
21622         and add versioning.
21623         * sysdeps/s390/rtld-__longjmp.c: Delete file.
21624         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
21625         * sysdeps/s390/rtld-setjmp.S: Likewise.
21626         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
21627         * sysdeps/s390/s390-32/__longjmp.c: ... here.
21628         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
21629         * sysdeps/s390/s390-32/setjmp.S: ... here.
21630         Add versioning.
21631         (__sigsetjmp): Remove setting __flags field.
21632         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
21633         * sysdeps/s390/s390-64/__longjmp.c: ... here.
21634         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
21635         * sysdeps/s390/s390-64/setjmp.S: ... here.
21636         Add versioning.
21637         (__sigsetjmp): Remove setting __flags field.
21638         * sysdeps/s390/setjmp.S: Delete file.
21639         * sysdeps/s390/sigjmp.c: Likewise.
21640         * sysdeps/s390/v1-longjmp.c: Likewise.
21641         * sysdeps/s390/v1-setjmp.h: Likewise.
21642         * sysdeps/s390/v1-sigjmp.c: Likewise.
21643         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
21644         Remove v1-longjmp_chk.
21645         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
21646         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
21647         Include debug/longjmp_chk.c and add versioning.
21648         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
21649         Include nptl/pt-longjmp.c and add versioning.
21650         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
21651         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
21652         Include __longjmp.c.
21653         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
21654         Move to ...
21655         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
21656         (__getcontext): Remove setting __flags field.
21657         Add versioning.
21658         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
21659         Don't restore upper high grps.
21660         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
21661         Likewise.
21662         (__swapcontext): Remove setting uc_flags field.
21663         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
21664         Delete file.
21665         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
21666         Include __longjmp.c.
21667         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
21668         Move to ...
21669         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
21670         (__getcontext): Remove setting __flags field.
21671         Add versioning.
21672         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
21673         (__swapcontext): Remove setting uc_flags field.
21674         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
21675         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
21676         Remove fields uc_high_gprs and __reserved.
21677         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
21678         New file with reverted content.
21679         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
21680         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
21681         Regenerated.
21682         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
21683         Regenerated.
21685 2014-07-31  Andreas Schwab  <schwab@suse.de>
21687         * config.h.in (HAVE_IFUNC): Define to 0.
21688         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
21689         definedness.
21691 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
21693         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21694         memmove-avx-unaligned, memcpy-avx-unaligned and
21695         mempcpy-avx-unaligned.
21696         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21697         Add tests for AVX memcpy functions.
21698         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
21699         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
21700         memcpy_chk.
21701         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
21702         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
21703         memmove_chk.
21704         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
21705         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
21706         mempcpy_chk.
21707         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
21708         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
21709         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
21711 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21713         [BZ #17213]
21714         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
21715         powerpc64le.
21717 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
21719         [BZ #16839]
21720         * manual/llio.texi: Add section about open file description locks.
21721         * manual/examples/ofdlocks.c: Example of open file description
21722         lock usage.
21723         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
21724         F_OFD_SETLK, and F_OFD_SETLKW.
21726 2014-07-23  Allan McRae  <allan@archlinux.org>
21728         * po/es.po: Update Spanish translation from translation project.
21730 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
21732         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
21734 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
21736         [BZ #17078]
21737         * sysdeps/arm/dl-machine.h (elf_machine_rela)
21738         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
21739         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
21741 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
21743         [BZ #17088]
21744         * math/fesetenv.c (__fesetenv)
21745         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
21746         * math/feupdateenv.c (__feupdateenv)
21747         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
21749         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
21750         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
21751         (__ASSUME_SOCKETCALL): Do not define.
21753         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
21754         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
21755         (__ASSUME_SOCKETCALL): Do not define.
21756         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
21757         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
21758         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
21759         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
21760         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21761         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
21762         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21763         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21765         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
21766         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
21767         (__ASSUME_SOCKETCALL): Do not define.
21768         (__ASSUME_IPC64): Define unconditionally.
21769         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
21770         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
21771         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
21772         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21773         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
21774         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21775         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
21776         Likewise.
21778         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
21779         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
21780         (__ASSUME_SOCKETCALL): Do not define.
21781         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
21782         (__ASSUME_FUTEX_LOCK_PI): Likewise.
21783         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
21784         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
21785         (__ASSUME_REQUEUE_PI): Define unconditionally.
21786         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
21787         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
21788         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21789         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
21790         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21791         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21793         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
21794         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
21795         (__ASSUME_SOCKETCALL): Do not define.
21796         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
21797         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21798         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21799         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
21800         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21801         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21803         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
21804         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
21805         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
21806         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
21807         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21808         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
21809         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21810         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
21811         (__ASSUME_GETCPU_SYSCALL): Likewise.
21813         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
21814         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
21815         cases for individual architectures.
21816         * sysdeps/gnu/configure: Regenerated.
21817         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
21818         LIBC_SLIBDIR_RTLDDIR.
21819         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
21820         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
21821         LIBC_SLIBDIR_RTLDDIR.
21822         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
21823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
21824         LIBC_SLIBDIR_RTLDDIR.
21825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
21826         Regenerated.
21827         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
21828         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
21829         file.
21830         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
21831         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
21832         file.
21833         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
21834         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
21835         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
21836         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
21838         * sysdeps/aarch64/shlib-versions: Move to ...
21839         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
21840         * sysdeps/alpha/shlib-versions: Move to ...
21841         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
21842         * sysdeps/arm/shlib-versions: Move to ...
21843         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
21844         * sysdeps/hppa/shlib-versions: Move all contents except for
21845         libgcc_s entry to ...
21846         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
21847         entry from ...
21848         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
21849         * sysdeps/ia64/shlib-versions: Move to ...
21850         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
21851         entry from ...
21852         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
21853         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
21854         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
21855         * sysdeps/microblaze/shlib-versions: Move to ...
21856         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
21857         * sysdeps/mips/shlib-versions: Move to ...
21858         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
21859         entry from ...
21860         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
21861         * sysdeps/tile/shlib-versions: Move to ...
21862         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
21863         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
21864         from ...
21865         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
21866         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
21867         entry from ...
21868         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
21870 2014-07-17  Will Newton  <will.newton@linaro.org>
21872         * sysdeps/arm/bits/atomic.h
21873         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
21874         (__arch_compare_and_exchange_bool_16_int): Likewise.
21875         (__arch_compare_and_exchange_bool_64_int): Likewise.
21877         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
21878         into an #else block.
21880 2014-07-16  Roland McGrath  <roland@hack.frob.com>
21882         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
21883         just Linux configurations.  Test empirically that the compiler sets
21884         __ARM_EABI__, rather than using the tuple to decide.
21885         * sysdeps/arm/preconfigure: Regenerated.
21886         * sysdeps/unix/sysv/linux/arm/configure: File removed.
21887         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
21888         contents appended ...
21889         * sysdeps/arm/configure.ac: ... here.
21890         * sysdeps/arm/configure: Regenerated.
21892 2014-07-15  Roland McGrath  <roland@hack.frob.com>
21894         * nptl/pthread_kill.c: New file.
21895         * nptl/pthread_sigmask.c: New file.
21896         * nptl/pthread_sigqueue.c: New file.
21898         * sysdeps/nptl/lowlevellock.h: New file.
21899         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
21900         * sysdeps/nptl/lowlevellock-futex.h: New file.
21902         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
21903         Remove dead declarations.
21905 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
21907         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
21908         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
21909         config-cflags-avx2.
21910         * sysdeps/x86_64/configure.ac: Likewise.
21911         * sysdeps/i386/configure: Regenerated.
21912         * sysdeps/x86_64/configure: Likewise.
21913         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21914         memset-avx2 only if config-cflags-avx2 is yes.
21915         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21916         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
21917         defined.
21918         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
21919         only if HAVE_AVX2_SUPPORT is defined.
21920         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21922 2014-07-14  Alan Modra  <amodra@gmail.com>
21924         [BZ #17153]
21925         * elf/elf.h (DT_PPC64_NUM): Correct value.
21926         * NEWS: Add to fixed bug list.
21928 2014-07-13  Jim Meyering  <meyering@fb.com>
21930         [BZ 17150]
21931         regex: don't deref NULL upon heap allocation failure
21932         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
21933         failure in one more place.
21934         To trigger the segfault, configure grep -with-included-regex,
21935         build it, and run these commands:
21936         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
21938 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
21940         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
21942 2014-07-11  Richard Henderson  <rth@redhat.com>
21944         * sysdeps/aarch64/libm-test-ulps: Update.
21946 2014-07-10  Florian Weimer  <fweimer@redhat.com>
21948         [BZ #17135]
21949         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
21950         * nptl/allocatestack.c (__nptl_setxid_error): New function.
21951         (__nptl_setxid): Initialize error member.  Call
21952         __nptl_setxid_error.
21953         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
21954         * nptl/descr.h (struct xid_command): Add error member.
21955         * nptl/tst-setuid3.c: New file.
21956         * nptl/Makefile (tests): Add it.
21958 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21960         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
21961         New define.
21962         (__lll_trylock): Use __lll_base_trylock.
21963         (__lll_cond_trylock): Likewise.
21965 2014-07-10  Roland McGrath  <roland@hack.frob.com>
21967         * nptl/pthread_create.c (start_thread): Use atomic_or and
21968         lll_futex_wake directly rather than lll_robust_dead.
21969         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
21970         (lll_robust_dead): Macro removed.
21971         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
21972         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
21973         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
21974         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
21975         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
21976         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
21977         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
21978         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
21979         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
21980         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
21981         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
21982         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
21983         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
21984         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
21985         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
21987         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
21988         Use atomic_compare_and_exchange_val_acq directly rather than
21989         lll_robust_trylock.
21990         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
21991         (__lll_robust_trylock, lll_robust_trylock): Removed.
21992         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
21993         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
21994         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
21995         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
21996         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
21997         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
21998         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
21999         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
22000         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
22001         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
22002         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
22003         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
22004         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
22005         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
22007 2014-07-02  Florian Weimer  <fweimer@redhat.com>
22009         * manual/locale.texi (Locale Names): New section documenting
22010         locale name syntax.  Adjust menu and node chaining accordingly.
22011         (Choosing Locale): Reference Locale Names, Locale Categories.
22012         Mention setting LC_ALL=C.  Reflect that name syntax is now
22013         documented.
22014         (Locale Categories): New section title.  Reference Locale Names.
22015         LC_ALL is an environment variable, but not a category.
22016         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
22017         description, now in Locale Name.  Reference that section.  Locale
22018         name syntax is now documented.
22020 2014-07-02  Florian Weimer  <fweimer@redhat.com>
22022         [BZ #17137]
22023         * locale/findlocale.c (name_present, valid_locale_name): New
22024         functions.
22025         (_nl_find_locale): Use the loc_name variable to store name
22026         candidates.  Call name_present and valid_locale_name to check and
22027         validate locale names.  Return an error if the locale is invalid.
22029 2014-07-02  Florian Weimer  <fweimer@redhat.com>
22031         * locale/setlocale.c (setlocale): Use strdup for allocating
22032         composite name copy.
22034 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22036         Sync up with gnulib.
22037         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
22038         [!_LIBC && ENABLE_NLS]: Include gettext.h.
22039         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
22040         and _GL_ARG_NONNULL.
22041         [USE_UNLOCKED_IO]: Include unlocked-io.h.
22042         [!_LIBC]: Include code for Windows and Cygwin.
22043         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
22044         Include prototype for int strerror_r.
22045         [!_LIBC] (is_open): New function.
22046         (flush_stdout): New function.
22047         (print_errno_message): Use it.
22048         (error): Likewise.
22049         (error_at_line): Likewise.
22050         (error_tail) Add function attribute macros.  Use
22051         __builtin_expect.
22053         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
22055         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
22057         * io/ftw.c: Include sys/param.h unconditionally.
22059         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
22061         [BZ #17125]
22062         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
22063         libc_freeres_ptr.
22064         (freecache): New function to free CACHE on exit.
22066         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
22067         initialization.
22069 2014-07-09  David S. Miller  <davem@davemloft.net>
22071         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22073         * sysdeps/sparc/nptl/internaltypes.h: Delete.
22074         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
22075         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
22076         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
22077         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
22078         * sysdeps/sparc/nptl/sem_init.c: Likewise.
22079         * sysdeps/sparc/nptl/sem_post.c: Likewise.
22080         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
22081         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
22082         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
22083         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
22084         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
22085         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
22087 2014-07-09  Andreas Schwab  <schwab@suse.de>
22089         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
22090         output.
22091         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
22092         (do_test): Likewise.
22094         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
22096 2014-07-09  Will Newton  <will.newton@linaro.org>
22098         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
22099         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
22100         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
22101         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
22102         * sysdeps/hppa/start.S (_start): Likewise.
22104 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
22106         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
22108         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
22109         defined.
22111 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
22113         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
22114         after checking that it is non-NULL.
22116         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
22118 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22120         * sysdeps/powerpc/memmove.c: Remove file.
22121         * sysdeps/powerpc/powerpc32/power4/memcopy.h
22122         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
22123         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
22124         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
22125         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
22126         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
22127         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
22128         string memmove instead of removed powerpc one.
22130         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
22131         [weak_alias]: Fix compiler warning due trailing data.
22132         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
22133         [weak_alias]: Likewise.
22134         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
22135         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
22137         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22138         (__libc_ifunc_impl_list): Add memmove functions.
22140 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
22142         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
22143         Remove code.
22144         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
22145         Likewise
22146         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
22147         Likewise
22148         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
22149         Likewise
22150         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
22151         Likewise
22152         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
22153         Likewise
22154         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
22155         Likewise
22156         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
22157         Likewise
22158         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
22159         Likewise
22160         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
22161         Likewise
22162         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
22163         Likewise
22164         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
22165         Likewise
22166         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
22167         Likewise
22168         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
22169         Likewise
22170         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
22171         Likewise
22172         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
22173         Likewise
22174         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
22175         Likewise
22177 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22179         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
22180         to avoid alignment traps in non-cacheable memory.
22181         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
22183         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
22184         multiarch objects.
22185         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
22186         file: multiarch power7 memmove.
22187         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
22188         multiarch default memmove.
22189         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
22190         multiarch memove for powerpc32/power4.
22192         * string/bcopy.c: Use full path to include memmove.c.
22193         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
22194         multiarch objects.
22195         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
22196         bcopy for powerpc64.
22197         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
22198         bcopy for powerpc64.
22199         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
22200         and memmove implementations.
22201         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
22202         optimized multiarch memmove for POWER7/powerpc64.
22203         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
22204         default multiarch memmove for powerpc64.
22205         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
22206         multiarch for powerpc64.
22207         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
22208         for POWER7/powerpc64.
22209         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
22210         memmove for POWER7/powerpc64.
22212         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
22213         glibc default one.
22215         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
22216         __ELF_NATIVE_CLASS equal to 64.
22218 2014-07-07  Roland McGrath  <roland@hack.frob.com>
22220         * sysdeps/nptl/lowlevellock.h: File removed.
22222         * NEWS: NPTL is no longer an add-on!
22223         * nptl/internaltypes.h: Moved ...
22224         * sysdeps/nptl/internaltypes.h: ... here.
22225         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
22226         * sysdeps/nptl/fork.c: Likewise.
22227         * sysdeps/nptl/gai_misc.h: Likewise.
22228         * sysdeps/nptl/librt-cancellation.c: Likewise.
22229         * sysdeps/nptl/jmp-unwind.c: Likewise.
22230         * sysdeps/nptl/setxid.h: Likewise.
22231         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
22232         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
22233         * sysdeps/unix/sysv/linux/arm/Implies: New file.
22234         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
22235         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
22236         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
22237         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
22238         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
22239         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
22240         * sysdeps/unix/sysv/linux/mips/Implies: New file.
22241         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
22242         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
22243         * sysdeps/unix/sysv/linux/sh/Implies: New file.
22244         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
22245         * sysdeps/unix/sysv/linux/tile/Implies: New file.
22246         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
22247         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
22248         * nptl/Makeconfig: Moved ...
22249         * sysdeps/nptl/Makeconfig: ... here.
22250         * nptl/configure: File removed.
22251         * nptl/ANNOUNCE: File removed.
22252         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
22253         * sysdeps/unix/sysv/linux/configure: Regenerated.
22255         * nptl/Makefile (routines): Add libc_pthread_init,
22256         libc_multiple_threads, register-atfork and unregister-atfork.
22257         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
22258         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
22259         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
22260         pthread-pi-defines.sym, structsem.sym.
22261         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
22262         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
22263         [$(subdir) = nptl] (tests): Add tst-setgetname.
22264         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
22265         * sysdeps/unix/sysv/linux/sigaction.c: Just include
22266         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
22267         [!LIBC_SIGACTION]: Remove aliases.
22268         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
22269         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
22270         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
22271         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
22272         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
22273         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
22274         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
22275         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
22276         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
22277         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
22278         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
22279         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
22280         __libc_allocate_rtsig_private.
22281         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
22282         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
22283         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
22284         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
22285         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
22286         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
22287         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
22288         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
22289         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
22290         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
22291         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
22292         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
22293         * nptl/internaltypes.h: ... here.
22294         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
22295         * sysdeps/nptl/jmp-unwind.c: ... here.
22296         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
22297         * nptl/libc-lowlevellock.c: ... here.
22298         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
22299         * nptl/libc_multiple_threads.c: ... here.
22300         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
22301         * nptl/libc_pthread_init.c: ... here.
22302         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
22303         * nptl/lowlevelbarrier.sym: ... here.
22304         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
22305         * nptl/lowlevelcond.sym: ... here.
22306         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
22307         * nptl/lowlevellock.c: ... here.
22308         * nptl/lowlevellock.h: Moved ...
22309         * sysdeps/nptl/lowlevellock.h: ... here.
22310         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
22311         * nptl/lowlevelrobustlock.c: ... here.
22312         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
22313         * nptl/lowlevelrobustlock.sym: ... here.
22314         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
22315         * nptl/lowlevelrwlock.sym: ... here.
22316         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
22317         * nptl/pt-fork.c: ... here.
22318         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
22319         * nptl/pthread-pi-defines.sym: ... here.
22320         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
22321         * nptl/pthread_attr_getaffinity.c: ... here.
22322         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
22323         * nptl/pthread_attr_setaffinity.c: ... here.
22324         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
22325         * nptl/pthread_mutex_cond_lock.c: ... here.
22326         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
22327         Update #include.
22328         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
22329         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
22330         * nptl/pthread_once.c: ... here, replacing old file.
22331         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
22332         * nptl/pthread_yield.c: ... here.
22333         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
22334         * nptl/register-atfork.c: ... here.
22335         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
22336         * nptl/sem_post.c: ... here.
22337         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
22338         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
22339         * nptl/sem_timedwait.c: ... here.
22340         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
22341         * nptl/sem_trywait.c: ... here.
22342         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
22343         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
22344         * nptl/sem_wait.c: ... here.
22345         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
22346         * nptl/structsem.sym: ... here.
22347         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
22348         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
22349         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
22350         * nptl/unregister-atfork.c: ... here.
22351         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
22352         * nptl/unwindbuf.sym: ... here.
22353         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
22354         * sysdeps/nptl/fork.c: ... here.
22355         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
22356         * sysdeps/nptl/fork.h: ... here.
22357         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
22358         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
22359         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
22360         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
22361         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
22362         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
22363         * sysdeps/unix/sysv/linux/getpid.c: ... here.
22364         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
22365         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
22366         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
22367         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
22368         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
22369         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
22370         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
22371         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
22372         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
22373         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
22374         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
22375         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
22376         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
22377         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
22378         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
22379         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
22380         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
22381         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
22382         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
22383         * sysdeps/unix/sysv/linux/raise.c: ... here.
22384         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
22385         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
22386         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
22387         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
22388         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
22389         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
22390         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
22391         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
22392         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
22393         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
22394         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
22395         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
22396         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
22397         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
22398         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
22400 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22402         * sysdeps/generic/memcopy.h: Add comment for
22403         MEMCPY_OK_FOR_FWD_MEMMOVE.
22405 2014-07-04  Will Newton  <will.newton@linaro.org>
22407         * string/memchr.c: Merge from gnulib.
22408         [_LIBC]: Remove conditionals.
22409         (__ptr_t): Remove define.
22410         (LONG_MAX_32_BITS): Likewise.
22411         (LONG_MAX): Likewise.
22412         (MEMCHR): Use ANSI prototype and optimize algorithm.
22414         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
22416 2014-07-03  Roland McGrath  <roland@hack.frob.com>
22418         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
22419         (lll_futex_timed_wait_bitset): Fix syscall argument count.
22421         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
22422         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
22423         in a bare environment with no <stdlib.h> installed.
22424         * sysdeps/nptl/configure: Regenerated.
22426         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
22428         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
22429         AC_EGREP_CPP for kernel header checks, so they only succeed if
22430         including <linux/version.h> actually works right.
22431         * sysdeps/unix/sysv/linux/configure: Regenerated.
22433         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
22434         value so it's not diagnosed as unused.
22436         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
22437         thing) with "ifeq ($(subdir),rt)".
22439 2014-07-03  Richard Henderson  <rth@redhat.com>
22441         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
22442         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
22443         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
22445         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
22446         (math_force_eval): New.
22448         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
22449         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
22451         * sysdeps/alpha/fpu/s_round.c: Remove file.
22452         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
22454         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
22455         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
22456         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
22457         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
22458         (_dl_start, print_statistics): Likewise.
22459         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
22460         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
22462         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
22463         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
22464         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
22465         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
22466         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
22467         (HP_SMALL_TIMING_AVAIL): Define.
22468         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
22469         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
22470         (HP_SMALL_TIMING_AVAIL): Define.
22471         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
22472         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
22474         * sysdeps/aarch64/hp-timing.h: New file.
22476         * sysdeps/generic/hp-timing.h: Remove dead comment.
22477         * sysdeps/generic/hp-timing-common.h: New file.
22478         * sysdeps/alpha/hp-timing.h: Include it.
22479         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
22480         * sysdeps/i386/i686/hp-timing.h: Likewise.
22481         * sysdeps/ia64/hp-timing.h: Likewise.
22482         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
22483         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
22484         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
22485         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
22486         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
22487         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
22488         (hp_timing_t): New.
22490         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
22491         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
22492         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
22493         * elf/rtld.c (_dl_start_final): Likewise.
22494         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
22495         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
22496         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
22497         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
22498         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
22499         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
22500         (HP_TIMING_DIFF_INIT): Remove.
22501         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
22502         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
22503         (HP_TIMING_DIFF_INIT): Remove.
22504         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
22505         * sysdeps/i386/i686/hp-timing.c: Remove file.
22506         * sysdeps/x86_64/hp-timing.c: Remove file.
22507         * sysdeps/ia64/hp-timing.c: Remove file.
22508         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
22509         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
22510         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
22511         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
22513         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
22514         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
22515         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
22516         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
22517         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
22518         (HP_TIMING_ACCUM): Remove.
22519         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
22520         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
22521         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
22523         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
22524         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
22525         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
22526         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
22527         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
22528         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
22529         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
22530         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
22532         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
22534 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
22536         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
22538 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22540         Sync up with gettext.
22541         * intl/loadmsgcat.c: Define O_BINARY if not defined.
22542         [_MSC_VER]: Include malloc.h
22543         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
22544         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
22545         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
22546         TEMP_FAILURE_RETRY.  Cast return of alloca.
22547         [!_LIBC] Call gl_rwlock_init.
22548         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
22550 2014-07-02  Roland McGrath  <roland@hack.frob.com>
22552         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
22553         before checking its value.
22555 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22557         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
22559         * debug/memcpy_chk.c: Don't include pagecopy.h.
22560         * debug/mempcpy_chk.c: Likewise.
22561         * string/memcpy.c: Likewise.
22562         * string/memmove.c: Likewise.
22563         * sysdeps/powerpc/memmove.c: Likewise.
22564         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
22565         definition of PAGE_COPY_FWD_MAYBE here...
22566         * sysdeps/generic/pagecopy.h: ... from here.
22567         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
22569 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
22570             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22572         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
22573         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
22574         optimizations.
22575         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22576         (__libc_ifunc_impl_list): Likewise.
22577         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
22578         multiarch strcat for PPC64.
22579         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
22580         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
22582 2014-07-02  Roland McGrath  <roland@hack.frob.com>
22584         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
22586 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22588         * intl/loadmsgcat.c: Remove declaration of
22589         get_sysdep_segment_value.
22590         (get_sysdep_segment_value): Use ISO C style.
22591         (_nl_load_domain): Use ISO C style.  Get rid of redundant
22592         semicolon.  Fix typo and formatting in comment.
22593         (_nl_unload_domain): Use ISO C style.
22595         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
22597 2014-07-02  Will Newton  <will.newton@linaro.org>
22599         * malloc/obstack.c: Merge from gnulib master.
22600         [HAVE_CONFIG_H]: Remove conditional code.
22601         [!_LIBC]: Include config.h.
22602         [!ELIDE_CODE]: Don't include inttypes.h, include
22603         stdint.h unconditionally.
22604         (print_and_abort): Mark as _Noreturn.
22605         (_obstack_allocated_p): Mark as __attribute_pure__.
22606         (obstack_free): Rename to __obstack_free.
22607         [!__attribute__]: Remove conditional code.
22608         * malloc/obstack.h: Merge from gnulib master.
22609         [__cplusplus]: Move conditional down.
22610         [!__attribute_pure__]: Define __attribute_pure__ here
22611         if it is not already defined.
22612         (_obstack_memory_used): Mark as __attribute_pure__.
22613         [!__obstack_free]: Define as obstack_free.
22614         [__GNUC__]: Remove check for ancient NeXT gcc.
22616 2014-07-02  Will Newton  <will.newton@linaro.org>
22617             Paul Eggert  <eggert@cs.ucla.edu>
22619         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
22621 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22623         * resolv/gethnamaddr.c: Add comment warning that the file is
22624         not maintained.
22626 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
22628         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
22629         entries.
22631         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
22632         entry for aio_cancel and aio_cancel64.
22633         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
22634         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
22635         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
22636         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
22637         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
22638         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
22639         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
22640         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
22641         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
22642         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
22643         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
22644         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
22645         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
22647 2014-07-01  Roland McGrath  <roland@hack.frob.com>
22649         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
22650         * nptl/pthread_mutex_lock.c: Likewise.
22651         * nptl/pthread_mutex_timedlock.c: Likewise.
22652         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
22654 2014-07-01  Richard henderson  <rth@redhat.com>
22656         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
22657         (__isnan, __isnanl): Remove.
22658         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
22660         * sysdeps/alpha/fpu/libm-test-ulps: Update.
22662 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
22664         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
22666 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
22668         * resolv/nss_dns/dns-host.c (getanswer_r)
22669         [MULTI_PTRS_ARE_ALIASES]: Remove code.
22671 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
22673         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22674         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
22675         undefine.
22676         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
22677         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
22679 2014-07-01  Roland McGrath <roland@hack.frob.com>
22681         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
22682         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
22684         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
22685         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
22687         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
22688         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
22689         ... here.
22690         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
22691         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
22693         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
22694         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
22695         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
22696         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
22698         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
22699         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
22700         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
22701         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
22702         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
22703         Moved ...
22704         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
22705         ... here.
22706         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
22707         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
22708         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
22709         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
22710         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
22711         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
22712         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
22713         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
22714         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
22715         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
22716         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
22717         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
22718         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
22719         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
22720         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
22721         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
22722         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
22723         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
22724         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
22725         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
22726         ... here.
22727         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
22728         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
22729         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
22730         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
22731         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
22732         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
22733         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
22734         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
22736 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
22738         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
22739         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
22740         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
22741         Add sysdep.
22743 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22745         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22747 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
22749         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
22750         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
22752         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
22754         * sysdeps/arm/libm-test-ulps: Regenerated.
22756 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
22757             Roland McGrath <roland@hack.frob.com>
22759         * test-skeleton.c (signal_handler): Kill the whole process group
22760         before killing the child individually.
22761         (main): Report any failure on `setpgid'.
22763 2014-06-30  Roland McGrath  <roland@hack.frob.com>
22765         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
22766         from _TLS_H to _ARM_NPTL_TLS_H.
22767         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
22768         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
22770 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
22772         [BZ #16539]
22773         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
22774         (__expm1l): Return argument unchanged when small but not
22775         subnormal.
22777         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
22778         include macro name.
22779         (_FP_UNPACK_RAW_1_P): Likewise.
22780         (_FP_PACK_RAW_1): Likewise.
22781         (_FP_PACK_RAW_1_P): Likewise.
22782         (_FP_MUL_MEAT_1_wide): Likewise.
22783         (_FP_MUL_MEAT_DW_1_hard): Likewise.
22784         (_FP_MUL_MEAT_1_hard): Likewise.
22785         (_FP_DIV_MEAT_1_imm): Likewise.
22786         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
22787         (_FP_DIV_MEAT_1_udiv): Likewise.
22788         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
22789         (_FP_UNPACK_RAW_2): Likewise.
22790         (_FP_UNPACK_RAW_2_P): Likewise.
22791         (_FP_PACK_RAW_2): Likewise.
22792         (_FP_PACK_RAW_2_P): Likewise.
22793         (_FP_MUL_MEAT_DW_2_wide): Likewise.
22794         (_FP_MUL_MEAT_2_wide): Likewise.
22795         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
22796         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
22797         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
22798         (_FP_MUL_MEAT_2_gmp): Likewise.
22799         (_FP_DIV_MEAT_2_udiv): Likewise.
22800         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
22801         (_FP_FRAC_SRL_4): Likewise.
22802         (_FP_FRAC_SRST_4): Likewise.
22803         (_FP_FRAC_SRS_4): Likewise.
22804         (_FP_UNPACK_RAW_4): Likewise.
22805         (_FP_UNPACK_RAW_4_P): Likewise.
22806         (_FP_PACK_RAW_4): Likewise.
22807         (_FP_PACK_RAW_4_P): Likewise.
22808         (_FP_MUL_MEAT_DW_4_wide): Likewise.
22809         (_FP_MUL_MEAT_4_wide): Likewise.
22810         (_FP_MUL_MEAT_4_gmp): Likewise.
22811         (umul_ppppmnnn): Likewise.
22812         (_FP_DIV_MEAT_4_udiv): Likewise.
22813         (__FP_FRAC_ADD_4): Likewise.
22814         (__FP_FRAC_SUB_3): Likewise.
22815         (__FP_FRAC_SUB_4): Likewise.
22816         (__FP_FRAC_DEC_3): Likewise.
22817         (__FP_FRAC_DEC_4): Likewise.
22818         (__FP_FRAC_ADDI_4): Likewise.
22819         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
22820         (_FP_FRAC_SRL_8): Likewise.
22821         (_FP_FRAC_SRS_8): Likewise.
22823         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
22824         include macro name.
22825         (FP_UNPACK_RAW_EP): Likewise.
22826         (FP_PACK_RAW_E): Likewise.
22827         (FP_PACK_RAW_EP): Likewise.
22828         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
22829         (_FP_ISSIGNAN): Likewise.
22830         (_FP_ADD_INTERNAL): Likewise.
22831         (_FP_FMA): Likewise.
22832         (_FP_CMP): Likewise.
22833         (_FP_SQRT): Likewise.
22834         (_FP_TO_INT): Likewise.
22835         (_FP_FROM_INT): Likewise.
22836         (FP_EXTEND): Likewise.
22837         (_FP_DIV_MEAT_N_loop): Likewise.
22839 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
22841         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
22842         throughout.
22844 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
22846         [BZ #17097]
22847         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
22848         result with correct sign in case of exponents that produce
22849         overflow except for X very close to 1.
22851 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
22853         mktime: merge #if/#ifdef usage from glibc
22854         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
22855         as that works with both Glibc's and Gnulib's style.
22856         See thread starting at Siddhesh Poyarekar's bug report at:
22857         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
22859 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22861         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
22862         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
22863         * sysdeps/tile/tilegx/memmove.c: Remove file.
22865 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
22867         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
22868         abi-name definition.
22869         * scripts/soversions.awk: Do not handle or generate ABI lines.
22870         * shlib-versions: Remove ABI entries.
22871         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
22872         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
22874 2014-06-27  Roland McGrath  <roland@hack.frob.com>
22876         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
22877         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
22878         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
22879         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
22880         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
22881         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
22882         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
22883         Moved ...
22884         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
22885         ... here.
22886         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
22887         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
22888         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
22889         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
22890         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
22891         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
22892         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
22893         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
22894         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
22895         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
22896         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
22897         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
22898         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
22899         Moved ...
22900         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
22901         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
22902         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
22903         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
22904         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
22905         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
22906         Moved ...
22907         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
22908         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
22909         Moved ...
22910         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
22911         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
22912         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
22913         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
22914         Moved ...
22915         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
22916         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
22917         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
22918         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
22919         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
22920         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
22921         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
22922         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
22923         Moved ...
22924         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
22925         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
22926         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
22927         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
22928         Moved ...
22929         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
22930         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
22931         Moved ...
22932         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
22933         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
22934         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
22935         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
22936         Moved ...
22937         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
22938         ... here.
22939         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
22940         Identical file removed.
22941         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
22942         Moved ...
22943         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
22944         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
22945         Identical file removed.
22946         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
22947         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
22948         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
22949         Moved ...
22950         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
22951         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
22952         Identical file removed.
22953         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
22954         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
22955         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
22956         Identical file removed.
22957         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
22958         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
22959         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
22960         Identical file removed.
22961         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
22962         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
22963         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
22964         Identical file removed.
22965         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
22966         Moved ...
22967         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
22968         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
22969         Identical file removed.
22970         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
22971         Moved ...
22972         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
22973         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
22974         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
22975         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
22976         Identical file removed.
22977         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
22978         Moved ...
22979         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
22980         ... here.
22981         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
22982         Identical file removed.
22983         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
22984         Moved ...
22985         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
22986         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
22987         Identical file removed.
22988         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
22989         Moved ...
22990         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
22991         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
22992         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
22993         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
22994         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
22995         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
22996         Moved ...
22997         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
22998         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
22999         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
23001         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
23002         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
23003         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
23004         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
23005         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
23007 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
23009         [BZ #17092]
23010         * nscd/nscd.c (monitor_child): Return exit status of child
23011         instead of return value from wait syscall.
23013 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
23015         * configure.ac (libc_commonpagesize): Remove variable.
23016         (libc_relro_required): Likewise.
23017         (libc_cv_z_relro): Remove configure test.
23018         * configure: Regenerated.
23019         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
23020         variable.
23021         (libc_relro_required): Likewise.
23022         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
23023         (libc_relro_required): Likewise.
23024         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
23025         (libc_relro_required): Likewise.
23026         * sysdeps/arm/preconfigure: Regenerated.
23027         * sysdeps/ia64/preconfigure: Remove file.
23028         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
23029         variable.
23030         (libc_relro_required): Likewise.
23032         [BZ #16561]
23033         [BZ #16562]
23034         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
23035         (__ieee754_yn): Set FE_TONEAREST mode internally and then
23036         recompute overflowing results in original rounding mode.
23037         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
23038         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
23039         recompute overflowing results in original rounding mode.
23040         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
23041         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
23042         recompute overflowing results in original rounding mode.
23043         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
23044         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
23045         recompute overflowing results in original rounding mode.
23046         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
23047         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
23048         recompute overflowing results in original rounding mode.
23049         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
23050         (libc_feholdsetround_ctx): New macro.
23051         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
23052         * sysdeps/i386/fpu/libm-test-ulps: Update.
23053         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
23055 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
23057         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
23058         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
23059         corresponding .cpsetup call.
23061 2014-06-26  Roland McGrath  <roland@hack.frob.com>
23063         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
23064         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
23065         * sysdeps/arm/Makefile [$(subdir) = csu]
23066         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
23067         (static-only-routines): Add aeabi_read_tp here.
23068         (shared-only-routines): Add libc-aeabi_read_tp here.
23069         (CFLAGS-libc-start.c): Add -fexceptions here.
23070         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
23071         (sysdep_routines, static-only-routines, shared-only-routines):
23072         Don't add to these here.
23073         (CFLAGS-libc-start.c): Likewise.
23075         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
23076         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
23077         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
23078         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
23079         * sysdeps/arm/Makefile [$(subdir) = rt]
23080         (librt-sysdep_routines, librt-shared-only-routines):
23081         Append rt-aeabi_unwind_cpp_pr1 here.
23082         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
23083         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
23084         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
23085         (libpthread-sysdep_routines, libpthread-shared-only-routines):
23086         Append nptl-aeabi_unwind_cpp_pr1 here.
23087         (tests): Filter out tst-cleanupx4 here.
23088         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
23089         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
23090         Don't do those here.
23092 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
23094         * scripts/list-sources.sh: Do not handle ports specially.
23096 2014-06-26  Roland McGrath  <roland@hack.frob.com>
23098         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
23099         * sysdeps/arm/feupdateenv.c: Likewise.
23101         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
23103 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
23105         * manual/texinfo.tex: Update to version 2014-05-05.10 with
23106         trailing whitespace removed.
23107         * scripts/config.guess: Update to version 2014-03-23.
23108         * scripts/config.sub: Update to version 2014-05-01
23109         * scripts/install-sh: Update to version 2013-12-25.23.
23110         * scripts/move-if-change: Update from gnulib.
23112 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23114         * debug/memmove_chk.c: Remove pagecopy.h include.
23116 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
23118         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
23119         identical to gnulib mktime.
23121 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
23123         * configure.ac: Do not test for machine being rs6000.  Do not test
23124         for powerpc*-*soft.
23125         * configure: Regenerated.
23127         [BZ #11505]
23128         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
23129         test.
23130         * configure: Regenerated.
23131         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
23132         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
23133         Remove configure test.
23134         * sysdeps/arm/configure: Regenerated.
23135         * sysdeps/nptl/configure.ac: Do not check
23136         libc_cv_asm_cfi_directives.
23137         * sysdeps/nptl/configure: Regenerated.
23138         * sysdeps/x86_64/nptl/configure.ac: Remove file.
23139         * sysdeps/x86_64/nptl/configure: Remove generated file.
23140         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
23141         unconditional.
23142         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
23144 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23146         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
23147         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
23148         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
23149         it is defined.
23151         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
23152         instead of whether it is defined.
23153         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
23154         * sysdeps/hppa/dl-machine.h: Likewise.
23155         * sysdeps/ia64/dl-machine.h: Likewise.
23156         * sysdeps/m68k/dl-machine.h: Likewise.
23157         * sysdeps/microblaze/dl-machine.h: Likewise.
23158         * sysdeps/mips/dl-machine.: Likewise.
23159         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
23160         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23161         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
23162         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
23163         * sysdeps/sh/dl-machine.h: Likewise.
23164         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23165         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23166         * sysdeps/tile/dl-machine.h: Likewise.
23167         * sysdeps/x86_64/dl-machine.h: Likewise.
23169         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
23170         code.
23171         (verify_persistent_db): Likewise.
23173 2014-06-26  Roland McGrath  <roland@hack.frob.com>
23175         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
23176         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
23177         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
23178         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
23179         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
23180         Moved ...
23181         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
23182         ... here.
23183         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
23184         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
23185         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
23186         Identical file removed.
23187         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
23188         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
23189         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
23190         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
23191         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
23192         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
23193         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
23194         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
23195         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
23196         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
23197         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23198         Moved ...
23199         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
23200         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
23201         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
23202         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
23203         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
23204         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
23205         Moved ...
23206         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
23207         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
23208         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
23209         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
23210         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
23211         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
23212         Identical file removed.
23213         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
23214         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
23215         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
23216         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
23217         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
23218         Moved ...
23219         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
23220         ... here.
23221         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
23222         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
23223         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
23224         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
23225         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
23226         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
23227         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
23228         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
23229         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
23230         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
23231         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23232         Moved ...
23233         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
23234         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
23235         Moved ...
23236         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
23237         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
23238         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
23239         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
23240         Moved ...
23241         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
23242         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
23243         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
23245         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
23246         folded into ...
23247         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
23248         * sysdeps/unix/sysv/linux/s390/Versions
23249         (libpthread: GLIBC_2.19): New version set.
23250         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
23251         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
23252         (librt: GLIBC_2.3.3): New version set.
23253         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
23254         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
23255         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
23256         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
23257         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
23258         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
23259         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
23260         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
23261         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
23262         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
23263         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
23264         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
23265         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
23266         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
23267         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
23268         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
23269         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
23270         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
23271         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
23272         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
23273         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
23274         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
23275         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
23276         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
23277         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
23278         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
23279         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
23280         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
23281         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
23282         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
23283         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
23284         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
23285         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
23286         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
23287         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
23288         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
23289         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
23290         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
23291         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
23292         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
23293         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
23294         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
23295         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
23296         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
23297         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
23299         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
23300         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
23301         (__libc_vfork): Define the function under this name.
23302         [!NOT_IN_libc] (__vfork): Make this an alias.
23303         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
23304         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
23305         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
23306         (__libc_vfork): Define the function under this name.
23307         [!NOT_IN_libc] (__vfork): Make this an alias.
23308         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
23309         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
23310         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
23311         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
23312         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
23313         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
23315         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
23316         code that was previously under [RESET_PID].
23317         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
23318         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
23319         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
23321         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
23322         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
23323         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
23324         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
23325         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
23326         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
23327         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
23328         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
23329         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
23330         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
23331         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
23332         Moved ...
23333         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
23334         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
23335         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
23336         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
23337         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
23338         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
23339         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
23340         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
23341         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
23342         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
23343         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
23344         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
23345         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
23346         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
23347         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
23348         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
23349         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
23350         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
23351         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
23352         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
23353         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
23354         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
23355         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
23356         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
23357         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
23358         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
23359         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
23360         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
23361         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
23363 2014-06-25  Roland McGrath  <roland@hack.frob.com>
23365         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
23366         that was previously under [RESET_PID].
23367         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
23369 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
23371         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
23372         not undefine and redefine.
23373         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
23374         [O_CLOEXEC]: Make code unconditional.
23375         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
23376         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
23377         <kernel-features.h>.
23378         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
23379         conditional variable definition.
23380         (shm_open) [O_CLOEXEC]: Make code unconditional.
23381         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
23382         code.
23384         * configure.ac (USE_REGPARMS): Don't define here.
23385         * configure: Regenerated.
23386         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
23387         * sysdeps/i386/configure: Regenerated.
23389         * nptl/createthread.c: Don't include kernel-features.h.
23390         * nptl/pthread_cancel.c: Likewise.
23391         * nptl/pthread_condattr_setclock.c: Likewise.
23392         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
23393         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
23394         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
23395         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
23396         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
23397         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
23398         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
23399         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
23400         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
23401         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
23402         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
23403         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
23404         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
23405         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
23406         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
23407         * nscd/gai.c: Likewise.
23408         * nss/nss_db/db-open.c: Likewise.
23409         * sysdeps/generic/ldsodefs.h: Likewise.
23410         * sysdeps/sh/nptl/tls.h: Likewise.
23411         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
23412         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
23413         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
23414         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
23415         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
23416         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
23417         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
23418         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
23419         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
23420         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
23421         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
23422         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
23423         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
23424         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
23425         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
23426         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
23427         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
23428         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
23429         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
23430         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
23431         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
23432         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
23433         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
23434         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
23435         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
23436         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
23437         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
23438         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
23439         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
23440         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
23441         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
23442         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
23443         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
23444         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
23445         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
23446         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
23447         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
23448         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
23449         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
23450         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
23451         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
23452         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
23453         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
23454         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
23455         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
23456         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
23457         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
23458         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
23459         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
23460         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
23461         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
23462         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
23463         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
23464         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
23465         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
23466         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
23467         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
23468         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
23469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
23470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
23471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
23472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
23473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
23474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
23475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
23476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
23477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
23478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
23479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
23480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
23481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
23482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
23483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
23484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
23485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
23486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
23487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
23488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
23489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
23490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
23491         * sysdeps/unix/sysv/linux/pread.c: Likewise.
23492         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
23493         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
23494         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
23495         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
23496         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
23497         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
23498         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
23499         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
23500         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
23501         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
23502         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
23503         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
23504         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
23505         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
23506         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
23507         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
23508         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
23509         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
23510         * sysdeps/unix/sysv/linux/system.c: Likewise.
23511         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
23512         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
23513         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
23514         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
23515         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
23516         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
23517         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
23519         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
23520         * configure: Regenerated.
23521         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
23523         * configure.ac (base_machine): Do not set specially for particular
23524         machines here.
23525         * configure: Regenerated.
23526         * sysdeps/powerpc/preconfigure: Move machine and base_machine
23527         settings from configure.ac.
23528         * sysdeps/i386/preconfigure: New file.
23529         * sysdeps/s390/preconfigure: Likewise.
23530         * sysdeps/sh/preconfigure: Likewise.
23531         * sysdeps/sparc/preconfigure: Likewise.
23533 2014-06-25  Roland McGrath  <roland@hack.frob.com>
23535         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
23536         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
23537         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
23538         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
23539         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
23540         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
23541         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
23542         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
23543         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
23544         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
23545         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
23546         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
23547         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
23548         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
23549         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
23550         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
23551         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
23552         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
23553         * sysdeps/sparc/sparc64/Makefile: ... appended here.
23555         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
23556         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
23557         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
23558         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
23559         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
23560         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
23561         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
23562         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
23563         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
23564         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
23565         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
23566         * sysdeps/sparc/sparc32/sem_post.c: ... here.
23567         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
23568         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
23569         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
23570         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
23571         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
23572         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
23573         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
23574         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
23575         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
23576         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
23577         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
23578         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
23579         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
23580         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
23581         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
23582         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
23583         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
23584         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
23585         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
23586         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
23587         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
23588         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
23589         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
23590         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
23591         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
23592         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
23594         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
23595         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
23596         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
23597         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
23598         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
23599         Moved ...
23600         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
23601         ... here.
23602         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
23603         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
23604         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
23605         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
23606         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
23607         Moved ...
23608         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
23609         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
23610         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
23611         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
23612         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
23613         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
23614         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
23615         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
23616         Moved ...
23617         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
23618         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
23619         Moved ...
23620         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
23621         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
23622         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
23623         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
23624         Moved ...
23625         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
23626         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
23627         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
23628         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
23629         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
23630         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
23631         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
23632         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
23633         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
23634         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
23635         Moved ...
23636         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
23637         ... here.
23638         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
23639         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
23640         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
23641         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
23642         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
23643         Moved ...
23644         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
23645         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
23646         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
23647         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
23648         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
23649         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
23650         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
23651         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
23652         Moved ...
23653         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
23654         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
23655         Moved ...
23656         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
23657         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
23658         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
23659         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
23660         Moved ...
23661         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
23662         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
23663         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
23664         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
23665         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
23667 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
23669         * timezone/checktab.awk: Update from tzcode 2014e.
23670         * timezone/private.h: Likewise.
23671         * timezone/tzfile.h: Likewise.
23672         * timezone/zdump.c: Likewise.
23673         * timezone/zic.c: Likewise.
23675         * sysdeps/unix/sysv/linux/kernel-features.h
23676         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
23677         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
23678         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
23679         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
23680         Remove conditional code.
23682 2014-06-25  Will Newton  <will.newton@linaro.org>
23684         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
23685         (_dl_arm_cap_flags): Add HWCAP2 values.
23686         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
23687         (_DL_HWCAP_COUNT): Increase to 37.
23688         (_DL_HWCAP_LAST): New define.
23689         (_DL_HWCAP2_LAST): New define.
23690         (_dl_procinfo): Add support for printing
23691         AT_HWCAP2 entries.
23692         (_dl_string_hwcap): Use _dl_hwcap_string.
23694 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23696         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23698 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
23700         * README: Do not mention ports directory.
23702         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
23703         Remove macro.
23704         * sysdeps/unix/sysv/linux/futimes.c: Do not include
23705         <kernel-features.h>.
23706         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
23707         conditional variable definition.
23708         (__futimes): Update comment.
23709         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
23710         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
23712         [BZ #16560]
23713         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
23714         arguments close to 0.
23715         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
23716         Likewise.
23717         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
23718         Likewise.
23719         * math/auto-libm-test-in: Add more tests of exp10.
23720         * math/auto-libm-test-out: Regenerated.
23721         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23723         * sysdeps/unix/sysv/linux/kernel-features.h
23724         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
23725         * sysdeps/unix/sysv/linux/readv.c: Do not include
23726         <kernel-features.h>.
23727         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
23728         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
23729         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
23730         unconditional.
23731         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
23732         conditional code.
23733         * sysdeps/unix/sysv/linux/writev.c: Do not include
23734         <kernel-features.h>.
23735         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
23736         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
23737         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
23738         unconditional.
23739         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
23740         conditional code.
23742 2014-06-25  Will Newton  <will.newton@linaro.org>
23744         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
23745         comment changes throughout the file.  Remove checks
23746         for HAVE_*_H definitions that are not required.
23747         (__gen_tempname): Call abort if an unknown kind value is
23748         passed.
23750 2014-06-25  Andreas Schwab  <schwab@suse.de>
23752         [BZ #17086]
23753         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
23754         scalbln, scalblnf, scalblnl in libc.
23756 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
23758         [BZ #17086]
23759         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
23760         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
23761         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
23763 2014-06-24  Roland McGrath  <roland@hack.frob.com>
23765         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
23766         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
23767         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
23768         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
23769         Update #include.
23770         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
23771         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
23772         Update #include.
23773         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
23774         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
23775         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
23776         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
23777         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
23778         * sysdeps/x86/bits/pthreadtypes.h: ... here.
23779         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
23780         * sysdeps/x86/bits/semaphore.h: ... here.
23781         * sysdeps/x86/nptl/elide.h: Moved ...
23782         * sysdeps/x86/elide.h: ... here.
23783         * sysdeps/x86_64/nptl/Implies: File removed.
23784         * sysdeps/i386/nptl/Implies: File removed.
23786 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
23788         [BZ #16539]
23789         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
23790         return the argument for normal arguments with exponent below -64.
23791         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
23792         Likewise.
23793         * math/auto-libm-test-in: Add another test of expm1.
23794         * math/auto-libm-test-out: Regenerated.
23796         [BZ #16287]
23797         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
23798         calling __erfcl for arguments at least 16.
23799         * math/auto-libm-test-in: Add more tests of erf.
23800         * math/auto-libm-test-out: Regenerated.
23802         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
23803         individual architectures.
23804         * sysdeps/unix/sysv/linux/configure: Regenerated.
23805         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
23806         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
23807         * sysdeps/unix/sysv/linux/powerpc/configure.ac
23808         (ldd_rewrite_script): Define variable.
23809         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
23810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
23811         file.
23812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
23813         generated file.
23814         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
23815         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
23816         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
23817         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
23818         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
23819         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
23820         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
23821         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
23823 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23825         [BZ #17084]
23826         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
23827         Rename member __data.d to __data.__elision_data.
23829 2014-06-24  Wilco  <wdijkstr@arm.com>
23831         * NEWS: Add 16918 to fixed bug list.
23833 2014-06-24  Wilco  <wdijkstr@arm.com>
23835         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
23837 2014-06-24  Wilco  <wdijkstr@arm.com>
23839         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
23840         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
23841         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
23842         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
23843         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
23844         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
23845         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
23846         Use _FPU_MASK_RM.
23848 2014-06-24  Wilco  <wdijkstr@arm.com>
23850         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
23852 2014-06-24  Wilco  <wdijkstr@arm.com>
23854         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
23855         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
23856         * sysdeps/arm/fesetround.c (fesetround): Remove space.
23857         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
23859 2014-06-24  Wilco  <wdijkstr@arm.com>
23861         [BZ #16918]
23862         * sysdeps/arm/feupdateenv.c (feupdateenv):
23863         Rewrite to reduce FPSCR accesses and fix return value.
23865 2014-06-24  Wilco  <wdijkstr@arm.com>
23867         * sysdeps/arm/fclrexcpt.c (feclearexcept):
23868         Optimize to avoid unnecessary FPSCR writes.
23869         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
23870         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
23871         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
23872         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
23874 2014-06-24  Wilco  <wdijkstr@arm.com>
23876         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
23877         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
23878         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
23879         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
23880         Call libc_fetestexcept_vfp.
23881         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
23882         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
23883         __SOFTFP__ ifdef so that they can be built for softfp.
23885 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23887         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
23888         argument type signed char.
23890         * Makerules (check-abi): Dump diff of symlist if the test
23891         fails.
23893 2014-06-23  Roland McGrath  <roland@hack.frob.com>
23895         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
23896         using abort.
23898         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
23899         Remove unused variable ST.
23901 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
23903         [BZ #16354]
23904         [BZ #17061]
23905         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
23906         small arguments before calling __expm1.
23907         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
23908         small arguments before calling __expm1f.
23909         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
23910         small arguments before calling __expm1l.
23911         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
23912         Likewise.
23913         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
23914         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
23915         spurious underflow for some cosh tests.
23916         * math/auto-libm-test-out: Regenerated.
23917         * sysdeps/i386/fpu/libm-test-ulps: Update.
23919         [BZ #17050]
23920         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
23921         (__ieee754_y1): Set errno if return value overflows.
23922         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
23923         (__ieee754_y1f): Set errno if return value overflows.
23924         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
23925         (__ieee754_y1l): Set errno if return value overflows.
23926         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
23927         (__ieee754_y1l): Set errno if return value overflows.
23928         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
23929         * math/auto-libm-test-out: Regenerated.
23931         * math/gen-auto-libm-tests.c: Document use of
23932         ignore-zero-inf-sign.
23933         (input_flag_type): Add value flag_ignore_zero_inf_sign.
23934         (input_flags): Add ignore-zero-inf-sign.
23935         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
23936         * math/gen-libm-test.pl (generate_testfile): Handle
23937         ignore-zero-inf-sign.
23938         * math/auto-libm-test-in: Mark some cpow tests with
23939         ignore-zero-inf-sign and some with xfail-rounding.
23940         * math/auto-libm-test-out: Regenerated.
23941         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
23942         * sysdeps/i386/fpu/libm-test-ulps: Update.
23943         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23945         [BZ #16315]
23946         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
23947         overflowing or underflowing operations take place with sign of
23948         result.
23949         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
23950         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
23951         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
23952         (__ieee754_pow): Recompute overflowing and underflowing results in
23953         original rounding mode.
23954         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
23955         (__powl_helper): Allow negative argument X and scale negated value
23956         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
23957         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
23958         overflowing or underflowing operations take place with sign of
23959         result.
23960         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
23961         Include <math.h>.
23962         * math/auto-libm-test-in: Add more tests of pow.
23963         * math/auto-libm-test-out: Regenerated.
23964         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
23965         (pow_tonearest_test_data): Remove.
23966         (pow_test_tonearest): Likewise.
23967         (pow_towardzero_test_data): Likewise.
23968         (pow_test_towardzero): Likewise.
23969         (pow_downward_test_data): Likewise.
23970         (pow_test_downward): Likewise.
23971         (pow_upward_test_data): Likewise.
23972         (pow_test_upward): Likewise.
23973         (main): Don't call removed functions.
23974         * sysdeps/i386/fpu/libm-test-ulps: Update.
23975         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23977 2014-06-23  Roland McGrath  <roland@hack.frob.com>
23979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
23980         Moved ...
23981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
23982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23983         Moved ...
23984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
23985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
23986         Moved ...
23987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
23988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
23989         Moved ...
23990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
23991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
23992         File removed.
23993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
23994         File removed.
23995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
23996         File removed.
23997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
23998         File removed.
23999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
24000         File removed.
24001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
24002         File removed.
24003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
24004         File removed.
24005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
24006         File removed.
24007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
24008         File removed.
24009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
24010         File removed.
24011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
24012         File removed.
24013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
24014         File removed.
24015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
24016         Moved ...
24017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
24018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
24019         Moved ...
24020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
24021         ... here.
24022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
24023         Moved ...
24024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
24025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
24026         Moved ...
24027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
24028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
24029         Moved ...
24030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
24031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
24032         Moved ...
24033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
24034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
24035         Moved ...
24036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
24037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
24038         Moved ...
24039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
24040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
24041         Moved ...
24042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
24043         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
24044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
24045         ... here.
24046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
24047         Moved ...
24048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
24049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
24050         Moved ...
24051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
24052         ... here.
24053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
24054         Moved ...
24055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
24056         ... here.
24057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
24058         Moved ...
24059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
24060         ... here.
24061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
24062         Moved ...
24063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
24064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
24065         Moved ...
24066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
24067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
24068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
24069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
24070         Moved ...
24071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
24072         ... here.
24073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
24074         Moved ...
24075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
24076         ... here.
24077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
24078         Moved ...
24079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
24080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
24081         Moved ...
24082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
24083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
24084         Moved ...
24085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
24086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24087         Moved ...
24088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
24089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
24090         Moved ...
24091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
24092         ... here.
24093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
24094         Moved ...
24095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
24096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
24097         Moved ...
24098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
24099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
24100         Moved ...
24101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
24102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
24103         Moved ...
24104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
24105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
24106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
24107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
24108         Moved ...
24109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
24110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
24111         Moved ...
24112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
24113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
24114         Moved ...
24115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
24116         ... here.
24117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
24118         Moved ...
24119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
24120         ... here.
24121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
24122         Moved ...
24123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
24124         ... here.
24125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
24126         Moved ...
24127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
24128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
24129         Moved ...
24130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
24131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
24132         Moved ...
24133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
24134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
24135         Moved ...
24136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
24137         ... here.
24138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
24139         Moved ...
24140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
24141         ... here.
24142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
24143         Moved ...
24144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
24145         ... here.
24146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
24147         Moved ...
24148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
24149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
24150         Moved ...
24151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
24153 2014-06-23  Will Newton  <will.newton@linaro.org>
24154             Wilco  <wdijkstr@arm.com>
24156         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
24157         implementation.  Include get-rounding-mode.h.
24158         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
24159         [!libc_feholdsetround_noex_ctx]: Define
24160         libc_feholdsetround_noex_ctx.
24161         [!libc_feholdsetround_noexf_ctx]: Define
24162         libc_feholdsetround_noexf_ctx.
24163         [!libc_feholdsetround_noexl_ctx]: Define
24164         libc_feholdsetround_noexl_ctx.
24165         (libc_feholdsetround_ctx): New function.
24166         (libc_feresetround_ctx): New function.
24167         (libc_feholdsetround_noex_ctx): New function.
24168         (libc_feresetround_noex_ctx): New function.
24170 2014-06-23  Roland McGrath  <roland@hack.frob.com>
24172         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
24173         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
24174         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
24175         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
24176         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
24177         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
24179         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
24180         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
24181         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
24182         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
24183         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
24184         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
24185         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
24186         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
24187         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
24188         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
24189         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
24190         Moved ...
24191         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
24192         ... here.
24193         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
24194         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
24195         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
24196         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
24197         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
24198         Moved ...
24199         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
24200         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
24201         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
24202         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
24203         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
24204         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
24205         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
24206         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
24207         Moved ...
24208         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
24209         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
24210         Moved ...
24211         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
24212         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
24213         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
24214         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
24215         Moved ...
24216         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
24217         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
24218         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
24219         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
24220         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
24221         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
24222         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
24223         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
24224         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
24225         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
24226         Moved ...
24227         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
24228         ... here.
24229         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
24230         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
24231         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
24232         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
24233         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
24234         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
24235         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
24236         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
24237         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
24238         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
24239         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
24240         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
24241         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
24242         Moved ...
24243         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
24244         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
24245         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
24246         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
24247         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
24248         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
24249         Moved ...
24250         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
24251         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
24252         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
24253         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
24254         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
24256         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
24257         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
24258         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
24259         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
24260         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
24261         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
24262         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
24263         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
24264         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
24265         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
24266         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
24267         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
24268         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
24269         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
24270         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
24271         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
24272         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
24273         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
24274         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
24275         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
24276         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
24277         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
24278         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
24279         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
24280         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
24281         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
24282         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
24283         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
24285 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
24287         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
24288         (FALLOC_FL_COLLAPSE_RANGE): New macro.
24289         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
24290         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
24291         (IPV6_PMTUDISC_INTERFACE): Likewise.
24292         (IPV6_PMTUDISC_OMIT): Likewise.
24294 2014-06-23  Andreas Schwab  <schwab@suse.de>
24296         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
24297         Remove unused errout label.
24299 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24301         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
24302         macro: hardware supports Vector Crypto instructions.
24304 2014-06-23  Will Newton  <will.newton@linaro.org>
24306         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
24307         rather than __builtin_expect.
24309         * elf/dl-lookup.c (undefined_msg): Remove variable.
24310         (_dl_lookup_symbol_x): Replace undefined_msg with string
24311         literal.
24313         * elf/dl-lookup.c (do_lookup_unique): New function.
24314         (do_lookup_x): Move STB_GNU_UNIQUE handling code
24315         to a separate function.
24317 2014-06-23  Andreas Schwab  <schwab@suse.de>
24319         [BZ #17079]
24320         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
24321         before reading the next line.
24323 2014-06-23  Will Newton  <will.newton@linaro.org>
24325         * test-skeleton.c (signal_handler): Use printf and %m
24326         rather than perror.  Use printf rather than fprintf to
24327         stderr.  Use puts rather than fputs to stderr.
24328         (main): Likewise.
24330 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
24332         * nscd/nscd.c (thread_info_t): Remove typedef.
24333         (thread_info): Remove variable.
24335 2014-06-21  Allan McRae  <allan@archlinux.org>
24337         * NEWS: Mention CVE-2014-4043.
24339 2014-06-20  Roland McGrath  <roland@hack.frob.com>
24341         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
24342         * nptl/smp.h: ... here.
24344         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
24346         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
24347         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
24348         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
24349         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
24351         * nptl/allocatestack.c: Include <stack-aliasing.h>.
24352         * nptl/stack-aliasing.h: New file.
24353         * sysdeps/i386/i686/stack-aliasing.h: New file.
24354         * sysdeps/i386/i686/nptl/Makefile: File removed.
24355         * sysdeps/x86_64/stack-aliasing.h: New file.
24356         * sysdeps/x86_64/nptl/Makefile
24357         (CFLAGS-pthread_create.c): Variable removed.
24359         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
24360         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
24361         old file.
24362         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
24363         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
24364         old file.
24366 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
24368         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24369         (__ASSUME_SIGFRAME_V2): Remove macro.
24370         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
24371         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
24372         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
24373         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
24374         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
24375         Declare as function.  Remove conditional macro definitions.
24376         (__default_rt_sa_restorer): Likewise.
24377         (__default_sa_restorer_v1): Remove declaration.
24378         (__default_sa_restorer_v2): Likewise.
24379         (__default_rt_sa_restorer_v1): Likewise.
24380         (__default_rt_sa_restorer_v2): Likewise.
24381         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
24382         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
24383         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
24385 2014-06-20  Roland McGrath  <roland@hack.frob.com>
24387         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
24388         (libpthread-routines): Add sysdep.
24389         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
24390         * sysdeps/unix/sysv/linux/sparc/Versions
24391         (libpthread: GLIBC_2.3.3): New version set.
24392         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
24393         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
24394         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
24395         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
24396         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
24397         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
24398         Moved ...
24399         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
24400         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
24401         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
24402         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
24403         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
24404         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
24405         * sysdeps/sparc/nptl/sem_init.c: ... here.
24406         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
24407         * sysdeps/sparc/nptl/sem_post.c: ... here.
24408         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
24409         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
24410         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
24411         * sysdeps/sparc/nptl/sem_wait.c: ... here.
24412         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
24413         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
24414         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
24415         (libpthread-routines): Add cpu_relax.
24416         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
24417         File removed.
24418         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
24419         (librt: GLIBC_2.3.3): New version set.
24420         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
24421         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
24422         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
24423         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
24424         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
24425         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
24426         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
24427         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
24428         Moved ...
24429         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
24430         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
24431         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
24432         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
24433         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
24434         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
24435         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
24436         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
24437         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
24438         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
24439         Moved ...
24440         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
24441         Update #include.
24442         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
24443         Moved ...
24444         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
24445         Update #include.
24446         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
24447         Moved ...
24448         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
24449         Update #include.
24450         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
24451         Moved ...
24452         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
24453         Update #include.
24454         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
24455         Moved ...
24456         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
24457         Update #include.
24458         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
24459         Moved ...
24460         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
24461         Update #include.
24462         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
24463         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
24464         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
24465         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
24466         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
24467         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
24468         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
24469         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
24470         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
24471         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
24472         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
24473         Moved ...
24474         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
24475         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
24476         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
24477         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
24478         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
24480 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
24482         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
24483         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
24484         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
24485         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
24486         * nscd/nscd.c: Likewise.
24487         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
24488         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
24489         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
24490         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
24492         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
24493         <kernel-features.h>.
24494         (init_mq_netlink): Remove conditional have_sock_cloexec
24495         definitions.  Remove code conditional on have_sock_cloexec < 0.
24496         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
24497         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
24498         * sysdeps/unix/sysv/linux/opensock.c: Do not include
24499         <kernel-features.h>.
24500         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
24501         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
24503 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
24505         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24506         Add tests for memset_chk and memset.
24508         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
24509         with AVX2_Usable.
24511 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
24513         [BZ #16046]
24514         * elf/tst-dl-iter-static.c: New file.
24515         * elf/Makefile (tests-static): Add tst-dl-iter-static.
24517         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
24518         error.
24520 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
24522         * sysdeps/unix/sysv/linux/kernel-features.h
24523         (__ASSUME_F_GETOWN_EX): Remove macro.
24524         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
24525         <kernel-features.h>.
24526         (miss_F_GETOWN_EX): Remove variable or macro.
24527         (do_fcntl): Do not check miss_F_GETOWN_EX.
24528         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
24530         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
24531         Remove macro.
24532         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
24533         [!__ASSUME_AT_RANDOM]: Remove conditional code.
24534         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
24536         * sysdeps/unix/sysv/linux/kernel-features.h
24537         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
24538         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
24539         [ADJ_OFFSET_SS_READ]: Make code unconditional.
24540         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
24542 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
24544         [BZ #17075]
24545         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
24546         Fix calculation of the symbol's value.
24547         * sysdeps/arm/tst-armtlsdescloc.c: New file.
24548         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
24549         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
24550         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
24551         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
24552         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
24553         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
24554         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
24555         (modules-names): Add `tst-armtlsdescmod',
24556         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
24557         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
24558         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
24559         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
24560         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
24561         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
24562         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
24563         ($(objpfx)tst-armtlsdescloc): New dependency.
24564         ($(objpfx)tst-armtlsdescextnow): Likewise.
24565         ($(objpfx)tst-armtlsdescextlazy): Likewise.
24566         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
24567         TLS scheme support.
24568         * sysdeps/arm/configure: Regenerate.
24570 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
24572         * include/fcntl.h (__atfct_seterrno): Remove prototype.
24573         (__atfct_seterrno_2): Likewise.
24574         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
24575         <kernel-features.h>.
24576         (__ASSUME_ATFCTS): Do not undefine and redefine.
24577         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
24578         (__have_atfcts): Remove conditional definition.
24579         (__fxstatat([__NR_fstatat64]: Make code unconditional.
24580         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
24581         unreachable if [__ASSUME_ATFCTS].
24582         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
24583         not undefine and redefine.
24584         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
24585         <kernel-features.h>.
24586         (faccessat) [__NR_faccessat]: Make code unconditional.
24587         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
24588         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
24589         <kernel-features.h>.
24590         (fchmodat) [__NR_fchmodat]: Make code unconditional.
24591         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
24592         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
24593         <kernel-features.h>.
24594         (fchownat) [__NR_fchownat]: Make code unconditional.
24595         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
24596         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
24597         <kernel-features.h>.
24598         (futimesat) [__NR_futimesat]: Make code unconditional.
24599         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
24600         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
24601         <kernel-features.h>.
24602         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
24603         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
24604         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
24605         <kernel-features.h>.
24606         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
24607         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
24608         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
24609         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
24610         <kernel-features.h>.
24611         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
24612         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
24613         * sysdeps/unix/sysv/linux/linkat.c: Do not include
24614         <kernel-features.h>.
24615         (linkat) [__NR_linkat]: Make code unconditional.
24616         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
24617         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
24618         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
24619         <kernel-features.h>.
24620         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
24621         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
24622         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
24623         <kernel-features.h>.
24624         (mkdirat) [__NR_mkdirat]: Make code unconditional.
24625         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
24626         * sysdeps/unix/sysv/linux/openat.c: Do not include
24627         <kernel-features.h>.
24628         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
24629         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
24630         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
24631         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
24632         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
24633         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
24634         <kernel-features.h>.
24635         (readlinkat) [__NR_readlinkat]: Make code unconditional.
24636         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
24637         result of INLINE_SYSCALL directly, not via int variable.
24638         * sysdeps/unix/sysv/linux/renameat.c: Do not include
24639         <kernel-features.h>.
24640         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
24641         (renameat) [__NR_renameat]: Make code unconditional.
24642         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
24643         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
24644         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
24645         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
24646         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
24647         (__ASSUME_ATFCTS): Do not undefine and redefine.
24648         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
24649         <kernel-features.h>.
24650         (symlinkat) [__NR_symlinkat]: Make code unconditional.
24651         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
24652         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
24653         <kernel-features.h>.
24654         (unlinkat) [__NR_unlinkat]: Make code unconditional.
24655         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
24656         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
24657         (__ASSUME_ATFCTS): Do not undefine and redefine.
24658         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
24659         <kernel-features.h>.
24660         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
24661         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
24662         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
24663         <kernel-features.h>.
24664         (__xmknodat) [__NR_mknodat]: Make code unconditional.
24665         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
24667 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
24669         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
24671 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
24673         [BZ #17069]
24674         * posix/regcomp.c (parse_reg_exp): Deallocate partially
24675         constructed tree before returning error.
24676         * posix/bug-regexp36.c: Expand test case.
24678 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
24680         [BZ #6803]
24681         * math/libm-test.inc (scalbln_test_date):
24682         Add errno expectations.
24683         * math/w_scalblnf.c: New File.
24684         Add wrapper which checks for setting errno to ERANGE.
24685         Add weak_alias for corresponding scalbln function.
24686         * math/w_scalbln.c: Likewise.
24687         * math/w_scalblnl.c: Likewise.
24688         * math/Makefile (libm-calls): Add w_scalbln.
24689         * sysdeps/ieee754/flt-32/s_scalblnf.c:
24690         Remove weak_alias for corresponding scalbln function.
24691         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
24692         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
24693         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
24694         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24695         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
24696         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
24697         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
24698         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
24699         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
24700         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
24701         Remove long_double_symbol for scalblnl function in libm, libc.
24702         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
24703         Add wrapper which checks for setting errno to ERANGE.
24704         Add long_double_symbol for scalblnl function in libm, libc.
24705         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
24706         Remove long_double_symbol for scalblnl in libm.
24707         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
24708         Add wrapper which checks for setting errno to ERANGE.
24709         Add long_double_symbol for scalblnl function in libm.
24710         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
24711         Do not use wrapper because of own implementation.
24713 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
24715         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
24716         3 bytes for __pad1 for x32.
24717         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
24719 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
24720             H.J. Lu  <hongjiu.lu@intel.com>
24722         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
24723         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
24724         * sysdeps/x86_64/multiarch/memset.S: Likewise.
24725         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24726         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
24728 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
24730         [BZ #17069]
24731         * posix/regcomp.c (parse_expression): Deallocate partially
24732         constructed tree before returning error.
24733         * posix/Makefile.c (tests): Add bug-regex36.
24734         (generated): Add bug-regex36.mtrace.
24735         (tests-special): Add $(objpfx)bug-regex36-mem.out
24736         (bug-regex36-ENV): New variable.
24737         ($(objpfx)bug-regex36-mem.out): New rule.
24738         * posix/bug-regex36.c: New file.
24740 2014-06-19  Will Newton  <will.newton@linaro.org>
24742         * malloc/malloc.c (systrim): If extra is zero then return
24743         early.
24745 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24747         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
24749 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
24751         * sysdeps/aarch64/strchr.S: New file.
24753 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
24755         [BZ #17022]
24756         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
24757         from arguments -2 or below.
24758         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
24759         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
24761 2014-06-18  Andreas Schwab  <schwab@suse.de>
24763         [BZ #17062]
24764         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
24765         of a bracket expr not to run off the end of the string.
24766         * posix/Makefile (tests): Add tst-fnmatch3.
24767         * posix/tst-fnmatch3.c: New file.
24769 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
24771         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
24772         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
24773         [$(cross-compiling) = no]: Likewise.
24774         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
24775         [$(cross-compiling) = no]: Likewise.
24777 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24779         [BZ #17031]
24780         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
24781         double, adjusted for any remainder from the high double.
24782         * math/libm-test.inc (nearbyint): Add tests.
24783         (rint): Likewise.
24785 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24787         * nptl/sysdeps/powerpc/Makefile: Moved ...
24788         * sysdeps/powerpc/nptl/Makefile: ... here.
24789         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
24790         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
24791         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
24792         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
24793         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
24794         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
24795         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
24796         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
24797         * nptl/sysdeps/powerpc/tls.h: Moved ...
24798         * sysdeps/powerpc/nptl/tls.h: ... here.
24800 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
24802         [BZ #16681]
24803         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
24804         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
24805         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
24806         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
24807         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
24808         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
24809         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
24810         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
24811         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
24813 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
24815         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
24817 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
24819         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
24820         defined operator.
24822         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
24823         $TIMEOUTFACTOR.
24825 2014-06-16  Florian Weimer  <fweimer@redhat.com>
24827         [BZ #17058]
24828         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
24829         non-executed part of the test.
24831 2014-06-16  Andreas Schwab  <schwab@suse.de>
24833         * string/bits/string2.h (strdup, strndup): Update feature guard.
24835 2014-06-14  David S. Miller  <davem@davemloft.net>
24837         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24839 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
24841         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
24842         that was previously under [RESET_PID].
24843         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
24845         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
24846         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
24847         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
24848         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
24849         (__libc_vfork): New strong alias.
24850         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
24852 2014-06-14 Andi Kleen  <ak@linux.intel.com>
24854         * sysdeps/generic/elide.h: New file.
24856 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
24858         * Makefile (installed-headers): Adjust path of pthread.h header.
24860 2014-06-13  Roland McGrath  <roland@hack.frob.com>
24862         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
24863         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
24864         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
24865         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
24867         * nptl/sysdeps/s390/Makefile: Moved ...
24868         * sysdeps/s390/nptl/Makefile: ... here.
24869         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
24870         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
24871         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
24872         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
24873         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
24874         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
24875         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
24876         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
24877         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
24878         * sysdeps/s390/nptl/pthreaddef.h: ... here.
24879         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
24880         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
24881         * nptl/sysdeps/s390/tls.h: Moved ...
24882         * sysdeps/s390/nptl/tls.h: ... here.
24884         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
24885         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
24887 2014-06-13  David S. Miller  <davem@davemloft.net>
24889         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
24890         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
24891         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
24892         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
24893         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
24894         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
24895         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
24896         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
24897         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
24898         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
24899         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
24900         Remove RESET_PID cpp guards.
24901         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
24902         Remove RESET_PID cpp guards.
24903         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
24905 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
24907         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
24908         __sp to uintptr_t.
24910 2014-06-13  Andi Kleen  <ak@linux.intel.com>
24912         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
24913         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
24914         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
24915         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
24916         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
24917         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
24918         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
24919         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
24920         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
24921         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
24922         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
24923         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
24924         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
24925         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
24926         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
24927         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
24928         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
24929         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
24930         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
24931         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
24933         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
24934         (pthread_rwlock_rdlock): Add elision.
24935         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
24936         (pthread_rwlock_wrlock): Add elision.
24937         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
24938         (pthread_rwlock_trywrlock): Add elision.
24939         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
24940         (pthread_rwlock_tryrdlock): Add elision.
24941         * nptl/pthread_rwlock_unlock.c: Include elide.h.
24942         (pthread_rwlock_tryrdlock): Add elision unlock.
24943         * nptl/sysdeps/pthread/pthread.h:
24944         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
24945         (PTHREAD_RWLOCK_INITIALIZER,
24946         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
24947         Handle new elision field.
24948         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
24949         * sysdeps/arm/nptl/bits/pthreadtypes.h
24950         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24951         * sysdeps/sh/nptl/bits/pthreadtypes.h
24952         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24953         * sysdeps/tile/nptl/bits/pthreadtypes.h
24954         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24955         * sysdeps/a/nptl/bits/pthreadtypes.h
24956         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24957         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
24958         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24959         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
24960         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24961         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
24962         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24963         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
24964         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24965         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
24966         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24967         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
24968         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24969         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
24970         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24971         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
24972         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24973         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
24974         (elision_init): Set try_xbegin to zero when no RTM.
24975         * sysdeps/x86/nptl/bits/pthreadtypes.h
24976         (pthread_rwlock_t): Change __pad1 to __rwelision.
24977         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24979 2014-06-13  Andi Kleen  <ak@linux.intel.com>
24981         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
24982         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
24983         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
24984         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
24986 2014-06-13  Meador Inge  <meadori@codesourcery.com>
24988         [BZ #16996]
24989         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
24990         that the cached result has been set before returning it.
24992 2014-06-12  Roland McGrath  <roland@hack.frob.com>
24994         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
24995         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
24996         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
24997         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
24998         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
24999         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
25001         * nptl/sysdeps/sparc/Makefile: Moved ...
25002         * sysdeps/sparc/nptl/Makefile: ... here.
25003         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
25004         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
25005         * nptl/sysdeps/sparc/tls.h: Moved ...
25006         * sysdeps/sparc/nptl/tls.h: ... here.
25007         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
25008         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
25009         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
25010         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
25011         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
25012         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
25013         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
25014         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
25015         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
25016         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
25017         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
25018         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
25019         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
25020         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
25021         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
25022         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
25023         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
25024         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
25025         Update #include.
25026         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
25027         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
25028         Update #include.
25029         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
25030         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
25031         Update #include.
25032         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
25033         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
25034         Update #include.
25036         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
25038         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
25039         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
25041         * sysdeps/pthread/posix-timer.h: Include <list.h>.
25042         (struct list_links): Type removed.
25043         (struct thread_node, struct timer_node): Replace struct list_links
25044         with struct list_head.
25045         (list_unlink_ip): Likewise.
25046         * sysdeps/pthread/timer_routines.c
25047         (timer_free_list, thread_free_list, thread_active_list): Likewise.
25048         (list_append, list_insbefore): Likewise.
25049         (list_init): Function removed.
25050         (thread_init, init_module): Use INIT_LIST_HEAD instead.
25051         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
25052         * sysdeps/pthread/Makefile: ... here, new file.
25054         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
25055         * sysdeps/nptl/Implies: ... here.
25056         * sysdeps/unix/sysv/linux/Implies: Add nptl.
25057         * nptl/sysdeps/pthread/list.h: Moved ...
25058         * include/list.h: ... here.
25059         * nptl/sysdeps/pthread/createthread.c: Moved ...
25060         * nptl/createthread.c: ... here.
25061         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
25062         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
25063         * nptl/pt-longjmp.c: ... here.
25064         * nptl/sysdeps/pthread/Makefile: Moved ...
25065         * sysdeps/nptl/Makefile: ... here.
25066         * nptl/sysdeps/pthread/Subdirs: Moved ...
25067         * sysdeps/nptl/Subdirs: ... here.
25068         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
25069         * sysdeps/nptl/aio_misc.h: ... here.
25070         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
25071         * sysdeps/nptl/bits/libc-lock.h: ... here.
25072         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
25073         * sysdeps/nptl/bits/libc-lockP.h: ... here.
25074         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
25075         * sysdeps/nptl/bits/stdio-lock.h: ... here.
25076         * nptl/sysdeps/pthread/configure: Moved ...
25077         * sysdeps/nptl/configure: ... here.
25078         * nptl/sysdeps/pthread/configure.ac: Moved ...
25079         * sysdeps/nptl/configure.ac: ... here.
25080         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
25081         * sysdeps/nptl/gai_misc.h: ... here.
25082         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
25083         * sysdeps/nptl/librt-cancellation.c: ... here.
25084         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
25085         * sysdeps/nptl/malloc-machine.h: ... here.
25086         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
25087         * sysdeps/nptl/pthread-functions.h: ... here.
25088         * nptl/sysdeps/pthread/pthread.h: Moved ...
25089         * sysdeps/nptl/pthread.h: ... here.
25090         * nptl/sysdeps/pthread/setxid.h: Moved ...
25091         * sysdeps/nptl/setxid.h: ... here.
25092         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
25093         * sysdeps/nptl/sigfillset.c: ... here.
25094         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
25095         * sysdeps/nptl/tcb-offsets.h: ... here.
25096         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
25097         * sysdeps/nptl/tst-mqueue8x.c: ... here.
25098         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
25099         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
25100         * nptl/sysdeps/pthread/allocalim.h: Moved ...
25101         * sysdeps/pthread/allocalim.h: ... here.
25102         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
25103         * sysdeps/pthread/bits/sigthread.h: ... here.
25104         * nptl/sysdeps/pthread/flockfile.c: Moved ...
25105         * sysdeps/pthread/flockfile.c: ... here.
25106         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
25107         * sysdeps/pthread/ftrylockfile.c: ... here.
25108         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
25109         * sysdeps/pthread/funlockfile.c: ... here.
25110         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
25111         * sysdeps/pthread/posix-timer.h: ... here.
25112         * nptl/sysdeps/pthread/timer_create.c: Moved ...
25113         * sysdeps/pthread/timer_create.c: ... here.
25114         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
25115         * sysdeps/pthread/timer_delete.c: ... here.
25116         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
25117         * sysdeps/pthread/timer_getoverr.c: ... here.
25118         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
25119         * sysdeps/pthread/timer_gettime.c: ... here.
25120         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
25121         * sysdeps/pthread/timer_routines.c: ... here.
25122         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
25123         * sysdeps/pthread/timer_settime.c: ... here.
25124         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
25125         * sysdeps/pthread/tst-timer.c: ... here.
25126         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
25127         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
25129         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
25130         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
25132         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
25133         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
25134         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
25135         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
25136         Update #include target.
25137         * nptl/sysdeps/i386/i686/Makefile: Moved ...
25138         * sysdeps/i386/i686/nptl/Makefile: ... here.
25139         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
25140         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
25141         Update #include target.
25142         * nptl/sysdeps/i386/i686/tls.h: Moved ...
25143         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
25144         * nptl/sysdeps/i386/Makefile: Moved ...
25145         * sysdeps/i386/nptl/Makefile: ... here.
25146         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
25147         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
25148         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
25149         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
25150         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
25151         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
25152         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
25153         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
25154         * sysdeps/i386/nptl/pthreaddef.h: ... here.
25155         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
25156         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
25157         * nptl/sysdeps/i386/tls.h: Moved ...
25158         * sysdeps/i386/nptl/tls.h: ... here.
25160         * sysdeps/sh/Makefile [$(subdir) = csu]
25161         (gen-as-const-headers): Add tcb-offsets.sym.
25162         * nptl/sysdeps/sh/Makefile: File removed.
25163         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
25164         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
25165         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
25166         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
25167         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
25168         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
25169         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
25170         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
25171         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
25172         * sysdeps/sh/nptl/pthreaddef.h: ... here.
25173         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
25174         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
25175         * nptl/sysdeps/sh/tls.h: Moved ...
25176         * sysdeps/sh/nptl/tls.h: ... here.
25177         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
25178         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
25179         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
25180         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
25181         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
25182         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
25183         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
25184         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
25185         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
25186         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
25187         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
25188         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
25189         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
25190         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
25191         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
25192         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
25193         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
25194         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
25195         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
25196         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
25197         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
25198         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
25199         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
25200         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
25201         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
25202         Moved ...
25203         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
25204         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
25205         Moved ...
25206         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
25207         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
25208         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
25209         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
25210         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
25211         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
25212         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
25213         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
25214         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
25215         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
25216         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
25217         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
25218         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
25219         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
25220         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
25221         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
25222         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
25223         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
25224         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
25226 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
25228         * posix/spawn_faction_addopen.c: Include string.h.
25230 2014-06-11  Roland McGrath  <roland@hack.frob.com>
25232         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
25233         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
25234         * nptl/sysdeps/x86_64/Makefile: Moved ...
25235         * sysdeps/x86_64/nptl/Makefile: ... here.
25236         * nptl/sysdeps/x86_64/configure: Moved ...
25237         * sysdeps/x86_64/nptl/configure: ... here.
25238         * nptl/sysdeps/x86_64/configure.ac: Moved ...
25239         * sysdeps/x86_64/nptl/configure.ac: ... here.
25240         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
25241         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
25242         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
25243         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
25244         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
25245         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
25246         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
25247         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
25248         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
25249         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
25250         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
25251         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
25252         * nptl/sysdeps/x86_64/tls.h: Moved ...
25253         * sysdeps/x86_64/nptl/tls.h: ... here.
25254         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
25255         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
25256         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
25257         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
25259         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
25261 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25263         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25265 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
25267         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
25268         type.
25269         [POSIX] (off_t): Likewise.
25270         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
25271         [POSIX] (S_ISBLK): Require macro.
25272         [POSIX] (S_ISCHR): Likewise.
25273         [POSIX] (S_ISDIR): Likewise.
25274         [POSIX] (S_ISFIFO): Likewise.
25275         [POSIX] (S_ISREG): Likewise.
25276         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
25277         optional-macro.
25278         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
25279         type.
25280         [POSIX] (time_t): Likewise.
25281         [POSIX] (timer_t): Likewise.
25283 2014-06-11  Florian Weimer  <fweimer@redhat.com>
25285         [BZ #17048]
25286         * posix/spawn_int.h (struct __spawn_action): Make the path string
25287         non-const to support deallocation.
25288         * posix/spawn_faction_addopen.c
25289         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
25290         * posix/spawn_faction_destroy.c
25291         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
25292         path in all spawn_do_open actions.
25293         * posix/tst-spawn.c (do_test): Exercise the copy operation in
25294         posix_spawn_file_actions_addopen.
25296 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
25298         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
25299         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
25300         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
25301         conditional code always true.
25302         (__libc_vfork): New alias.
25304 2014-06-11  Roland McGrath  <roland@hack.frob.com>
25306         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
25307         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
25309         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
25311         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
25312         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
25314         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
25315         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
25317         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
25318         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
25320 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
25322         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
25323         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
25324         multiarch strcmp for PPC64.
25325         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
25326         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
25327         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
25328         multiarch optimizations.
25329         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
25330         (__libc_ifunc_impl_list): Likewise.
25332 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25334         * benchtests/scripts/validate_benchout.py: New script.
25335         * benchtests/Makefile (bench-func): Call it.
25336         * benchtests/scripts/benchout.schema.json: New file.
25338 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
25340         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
25341         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
25342         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
25343         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
25344         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
25345         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
25346         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
25347         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
25348         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
25349         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
25350         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
25351         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
25352         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
25353         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
25354         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
25355         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
25356         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
25357         Moved ...
25358         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
25359         ... here.
25360         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
25361         Moved ...
25362         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
25363         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
25364         Moved ...
25365         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
25366         ... here.
25367         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
25368         Moved ...
25369         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
25370         ... here.
25371         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
25372         Moved ...
25373         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
25374         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
25375         Moved ...
25376         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
25377         ... here.
25378         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
25379         Moved ...
25380         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
25381         ... here.
25382         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
25383         Moved ...
25384         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
25385         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
25386         Moved ...
25387         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
25388         ... here.
25389         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
25390         Moved ...
25391         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
25392         ... here.
25393         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
25394         Moved ...
25395         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
25396         ... here.
25397         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
25398         Moved ...
25399         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
25400         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
25401         Moved ...
25402         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
25403         ... here.
25404         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
25405         Moved ...
25406         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
25407         ... here.
25408         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
25409         Moved ...
25410         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
25411         ... here.
25412         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
25413         Moved ...
25414         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
25415         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
25416         Moved ...
25417         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
25418         ... here.
25419         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
25420         Moved ...
25421         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
25422         ... here.
25423         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
25424         Moved ...
25425         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
25426         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
25427         Moved ...
25428         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
25429         ... here.
25430         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
25431         Moved ...
25432         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
25433         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
25434         Moved ...
25435         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
25436         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
25437         Moved ...
25438         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
25439         ... here.
25440         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
25441         Moved ...
25442         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
25443         ... here.
25444         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
25445         Moved ...
25446         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
25447         ... here.
25448         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
25449         Moved ...
25450         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
25451         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
25452         Moved ...
25453         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
25454         ... here.
25455         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
25456         Moved ...
25457         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
25458         ... here.
25459         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
25460         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
25461         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
25462         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
25463         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
25464         Moved ...
25465         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
25466         ... here.
25467         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
25468         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
25469         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
25470         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
25471         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
25472         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
25473         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
25474         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
25475         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
25476         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
25477         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
25478         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
25479         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
25480         Moved ...
25481         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
25482         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
25483         Moved ...
25484         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
25485         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
25486         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
25487         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
25488         Moved ...
25489         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
25490         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
25491         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
25492         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
25493         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
25494         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
25495         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
25497 2014-06-10  Wilco  <wdijkstr@arm.com>
25499         * math/test-fenv-return.c: New file.
25500         * math/Makefile: Add new test test-fenv-return.
25502 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
25504         [BZ #17042]
25505         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
25506         when x - 1 is zero.
25507         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
25508         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
25509         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
25510         0.0L for an argument of 1.0L.
25511         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
25512         Likewise.
25513         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
25514         value when x - 1 is zero.
25515         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
25516         * sysdeps/i386/fpu/libm-test-ulps: Update.
25517         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25519 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
25521         [BZ #15119]
25522         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
25524 2014-06-09  Roland McGrath  <roland@hack.frob.com>
25526         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
25527         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
25529 2014-06-09  Roland McGrath  <roland@hack.frob.com>
25531         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
25532         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
25534         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
25535         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
25537         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
25538         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
25540         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
25541         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
25543         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
25544         if not already defined.
25545         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
25546         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
25547         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
25548         (TLS_INIT_TP): Use it.
25549         (TLS_DEFINE_INIT_TP): New macro.
25550         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
25552 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
25554         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
25555         constant.
25556         [POSIX] (IXANY): Likewise.
25557         [POSIX] (OLCUC): Likewise.
25558         [POSIX || POSIX2008] (CBAUD): Do not allow.
25559         [POSIX || POSIX2008] (DEFECHO): Likewise.
25560         [POSIX || POSIX2008] (ECHOCTL): Likewise.
25561         [POSIX || POSIX2008] (ECHOKE): Likewise.
25562         [POSIX || POSIX2008] (ECHOPRT): Likewise.
25563         [POSIX || POSIX2008] (EXTA): Likewise.
25564         [POSIX || POSIX2008] (EXTB): Likewise.
25565         [POSIX || POSIX2008] (FLUSHO): Likewise.
25566         [POSIX || POSIX2008] (LOBLK): Likewise.
25567         [POSIX || POSIX2008] (PENDIN): Likewise.
25568         [POSIX || POSIX2008] (SWTCH): Likewise.
25569         [POSIX || POSIX2008] (VDISCARD): Likewise.
25570         [POSIX || POSIX2008] (VDSUSP): Likewise.
25571         [POSIX || POSIX2008] (VLNEXT): Likewise.
25572         [POSIX || POSIX2008] (VREPRINT): Likewise.
25573         [POSIX || POSIX2008] (VSTATUS): Likewise.
25574         [POSIX || POSIX2008] (VWERASE): Likewise.
25575         (B*): Change to B[0123456789]*.
25576         * conform/data/time.h-data [POSIX || UNIX98]
25577         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
25578         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
25579         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
25580         [POSIX] (tm_*): Do not allow.
25582 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
25584         * Makefile (install): Don't set LANGUAGE.
25585         * Makefile.in (install): Likewise.
25586         * assert/Makefile (test-assert-ENV): Remove variable.
25587         (test-assert-perr-ENV): Likewise.
25588         * elf/Makefile (neededtest4-ENV): Likewise.
25589         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
25590         [$(cross-compiling) = no]: Don't set LANGUAGE.
25591         * io/ftwtest-sh (LANG): Remove variable.
25592         * libio/Makefile (tst-widetext-ENV): Likewise.
25593         * manual/install.texi (Running make install): Don't refer to
25594         environment settings for make install.
25595         * INSTALL: Regenerated.
25596         * nptl/tst-tls6.sh: Don't set LANG.
25597         * posix/globtest.sh (LANG): Remove variable.
25598         * string/Makefile (tester-ENV): Likewise.
25599         (inl-tester-ENV): Likewise.
25600         (noinl-tester-ENV): Likewise.
25601         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
25602         [$(cross-compiling) = no]: Don't set LANGUAGE.
25603         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
25604         without explicit environment settings.
25606 2014-06-06  Roland McGrath  <roland@hack.frob.com>
25608         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
25609         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
25610         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
25611         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
25613 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
25615         * crypt/crypt-private.h [DOS]: Add some includes taken from the
25616         other files in the crypt directory.
25617         * crypt/crypt.c: Remove duplicate includes.
25618         * crypt/crypt-entry.c: Likewise.
25619         * crypt/crypt_util.c: Likewise.
25621 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
25623         * Makeconfig (run-program-env): New variable.
25624         (run-program-prefix-before-env): Likewise.
25625         (run-program-prefix-after-env): Likewise.
25626         (run-program-prefix): Define in terms of new variables.
25627         (built-program-cmd-before-env): New variable.
25628         (built-program-cmd-after-env): Likewise.
25629         (built-program-cmd): Define in terms of new variables.
25630         (test-program-prefix-before-env): New variable.
25631         (test-program-prefix-after-env): Likewise.
25632         (test-program-prefix): Define in terms of new variables.
25633         (test-program-cmd-before-env): New variable.
25634         (test-program-cmd-after-env): Likewise.
25635         (test-program-cmd): Define in terms of new variables.
25636         * Rules (make-test-out): Use $(run-program-env).
25637         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
25638         (help): Do not mention environment variables.  Mention
25639         --timeoutfactor option.
25640         (timeoutfactor): New variable.
25641         (blacklist_exports): Remove function.
25642         (exports): Remove variable.
25643         (command): Do not include ${exports}.
25644         * manual/install.texi (Configuring and compiling): Do not mention
25645         test wrappers preserving environment variables.  Mention that last
25646         assignment to a variable must take precedence.
25647         * INSTALL: Regenerated.
25648         * benchtests/Makefile (run-bench): Use $(run-program-env).
25649         * catgets/Makefile ($(objpfx)test1.cat): Use
25650         $(built-program-cmd-before-env), $(run-program-env) and
25651         $(built-program-cmd-after-env).
25652         ($(objpfx)test2.cat): Do not specify environment variables
25653         explicitly.
25654         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
25655         $(run-program-env) and $(built-program-cmd-after-env).
25656         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
25657         $(run-program-env) and $(test-program-cmd-after-env).
25658         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
25659         explicitly.
25660         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
25661         run_program_env and test_program_cmd_after_env arguments.
25662         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
25663         * elf/tst-pathopt.sh: Use run_program_env argument.
25664         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
25665         $(test-wrapper-env) and $(run-program-env).
25666         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
25667         run_program_env arguments.
25668         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
25669         * intl/Makefile ($(objpfx)tst-gettext.out): Use
25670         $(test-program-prefix-before-env), $(run-program-env) and
25671         $(test-program-prefix-after-env).
25672         ($(objpfx)tst-gettext2.out): Likewise.
25673         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
25674         run_program_env and test_program_prefix_after_env arguments.
25675         * intl/tst-gettext2.sh: Likewise.
25676         * intl/tst-gettext4.sh: Do not set environment variables
25677         explicitly.
25678         * intl/tst-gettext6.sh: Likewise.
25679         * intl/tst-translit.sh: Likewise.
25680         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
25681         $(test-program-prefix-before-env), $(run-program-env) and
25682         $(test-program-prefix-after-env).
25683         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
25684         run_program_env and test_program_prefix_after_env arguments.
25685         * math/Makefile (run-regen-ulps): Use $(run-program-env).
25686         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
25687         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
25688         explicitly with each use of ${test_wrapper_env}.
25689         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
25690         $(test-program-prefix-before-env), $(run-program-env) and
25691         $(test-program-prefix-after-env).
25692         * posix/tst-getconf.sh: Do not set environment variables
25693         explicitly.
25694         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
25695         run_program_env and test_program_prefix_after_env arguments.
25696         * stdio-common/tst-printf.sh: Do not set environment variables
25697         explicitly.
25698         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
25699         $(test-program-prefix-before-env), $(run-program-env) and
25700         $(test-program-prefix-after-env).
25701         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
25702         run_program_env and test_program_prefix_after_env arguments.
25703         Split $test calls into $test_pre and $test.
25704         * timezone/Makefile (build-testdata): Use
25705         $(built-program-cmd-before-env), $(run-program-env) and
25706         $(built-program-cmd-after-env).
25708 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25710         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
25711         strlen for non SHARED builds.
25713 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
25715         * nptl/allocatestack.c (check_list): Inlined function...
25716         (__reclaim_stacks): ... here.
25718 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
25720         [BZ #15698]
25721         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
25722         memory overrun.
25724 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
25726         * Rules (make-test-out): Include
25727         LOCPATH=$(common-objpfx)localedata in default environment.
25728         * debug/Makefile (tst-chk1-ENV): Remove variable.
25729         (tst-chk2-ENV): Likewise.
25730         (tst-chk3-ENV): Likewise.
25731         (tst-chk4-ENV): Likewise.
25732         (tst-chk5-ENV): Likewise.
25733         (tst-chk6-ENV): Likewise.
25734         (tst-lfschk1-ENV): Likewise.
25735         (tst-lfschk2-ENV): Likewise.
25736         (tst-lfschk3-ENV): Likewise.
25737         (tst-lfschk4-ENV): Likewise.
25738         (tst-lfschk5-ENV): Likewise.
25739         (tst-lfschk6-ENV): Likewise.
25740         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
25741         (tst-iconv7-ENV): Likewise.
25742         * intl/Makefile (LOCPATH-ENV): Likewise.
25743         (tst-codeset-ENV): Likewise.
25744         (tst-gettext3-ENV): Likewise.
25745         (tst-gettext5-ENV): Likewise.
25746         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
25747         (tst-fopenloc-ENV): Likewise.
25748         (tst-fgetws-ENV): Remove variable.
25749         (tst-ungetwc1-ENV): Likewise.
25750         (tst-ungetwc2-ENV): Likewise.
25751         (bug-ungetwc2-ENV): Likewise.
25752         (tst-swscanf-ENV): Likewise.
25753         (bug-ftell-ENV): Likewise.
25754         (tst-fgetwc-ENV): Likewise.
25755         (tst-fseek-ENV): Likewise.
25756         (tst-ftell-partial-wide-ENV): Likewise.
25757         (tst-ftell-active-handler-ENV): Likewise.
25758         (tst-ftell-append-ENV): Likewise.
25759         * posix/Makefile (tst-fnmatch-ENV): Likewise.
25760         (tst-regexloc-ENV): Likewise.
25761         (bug-regex1-ENV): Likewise.
25762         (tst-regex-ENV): Likewise.
25763         (tst-regex2-ENV): Likewise.
25764         (bug-regex5-ENV): Likewise.
25765         (bug-regex6-ENV): Likewise.
25766         (bug-regex17-ENV): Likewise.
25767         (bug-regex18-ENV): Likewise.
25768         (bug-regex19-ENV): Likewise.
25769         (bug-regex20-ENV): Likewise.
25770         (bug-regex22-ENV): Likewise.
25771         (bug-regex23-ENV): Likewise.
25772         (bug-regex25-ENV): Likewise.
25773         (bug-regex26-ENV): Likewise.
25774         (bug-regex30-ENV): Likewise.
25775         (bug-regex32-ENV): Likewise.
25776         (bug-regex33-ENV): Likewise.
25777         (bug-regex34-ENV): Likewise.
25778         (bug-regex35-ENV): Likewise.
25779         (tst-rxspencer-ENV): Likewise.
25780         (tst-rxspencer-no-utf8-ENV): Likewise.
25781         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
25782         (tst-sscanf-ENV): Likewise.
25783         (tst-swprintf-ENV): Likewise.
25784         (tst-swscanf-ENV): Likewise.
25785         (test-vfprintf-ENV): Likewise.
25786         (scanf13-ENV): Likewise.
25787         (bug14-ENV): Likewise.
25788         (tst-grouping-ENV): Likewise.
25789         * stdlib/Makefile (tst-strtod-ENV): Likewise.
25790         (tst-strtod3-ENV): Likewise.
25791         (tst-strtod4-ENV): Likewise.
25792         (tst-strtod5-ENV): Likewise.
25793         (testmb2-ENV): Likewise./
25794         * string/Makefile (tst-strxfrm-ENV): Likewise.
25795         (tst-strxfrm2-ENV): Likewise.
25796         (bug-strcoll1-ENV): Likewise.
25797         (test-strcasecmp-ENV): Likewise.
25798         (test-strncasecmp-ENV): Likewise.
25799         * time/Makefile (tst-strptime-ENV): Likewise.
25800         (tst-ftime_l-ENV): Likewise.
25801         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
25802         (tst-mbrtowc-ENV): Likewise.
25803         (tst-wcrtomb-ENV): Likewise.
25804         (tst-mbrtowc2-ENV): Likewise.
25805         (tst-c16c32-1-ENV): Likewise.
25806         (tst-mbsnrtowcs-ENV): Likewise.
25808 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
25810         * manual/resource.texi (How to get information about the memory
25811         subsystem?): Fix typo.
25812         Reported by Peon de la Parra Ivan <peon@keba.com>
25814 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
25816         [BZ #16882]
25817         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
25818         (pthread_spin_lock): Branch out of spin loop to proper location.
25819         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
25820         (pthread_spin_lock): Likewise.
25822         * nptl/tst-spin4.c: New test.
25823         * nptl/Makefile (tests): Add tst-spin4.
25825 2014-06-03  Andreas Schwab  <schwab@suse.de>
25827         [BZ #15946]
25828         * resolv/res_send.c (send_dg): Reload file descriptor after
25829         calling reopen.
25831 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
25833         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
25835 2014-06-03  Richard Henderson  <rth@redhat.com>
25837         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
25838         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
25839         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
25840         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
25841         in the SAVE_PID block.
25842         (__libc_vfork): New alias.
25843         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
25845         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
25846         child in registers, not on the stack.  Remove RESET_PID conditionals.
25847         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
25849 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
25851         * sysdeps/aarch64/libm-test-ulps: Regenerate.
25853 2014-06-03  Wilco  <wdijkstr@arm.com>
25855         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
25856         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
25857         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
25858         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
25859         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
25860         Likewise.
25862 2014-06-03  Wilco  <wdijkstr@arm.com>
25864         * sysdeps/aarch64/fpu/math_private.h
25865         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
25866         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
25867         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
25868         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
25869         Fix declarations.
25871 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
25873         * crypt/crypt-private.h: Include ufc-crypt.h.
25874         (__b64_from_24bit): Declare extern.
25875         * crypt/crypt_util.c(__b64_from_24bit): New function.
25876         (b64t): New static const variable.
25877         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
25878         (b64t): Remove variable.
25879         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
25880         * crypt/sha256-crypt.c: Include crypt-private.h.
25881         (b64t): Remove variable.
25882         (__sha256_crypt_r): Remove b64_from_24bit and replace
25883         with __b64_from_24bit.
25884         * crypt/sha512-crypt.c: Likewise.
25886 2014-06-02  Roland McGrath  <roland@hack.frob.com>
25888         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
25889         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
25890         Label the code __libc_vfork rather than __vfork.
25891         [!NOT_IN_libc] (vfork): Define as weak alias.
25892         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
25893         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
25894         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
25896 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25898         * malloc/malloc.c (malloc_info): Fix format specifier for
25899         n_mmaps.
25901 2014-06-02  Wilco  <wdijkstr@arm.com>
25903         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
25904         FPCR write.
25906 2014-06-02  Wilco  <wdijkstr@arm.com>
25908         [BZ #17009]
25909         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
25910         Rewrite to reduce FPCR/FPSR accesses.
25912 2014-06-01  David S. Miller  <davem@davemloft.net>
25914         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25916 2014-05-31  David S. Miller  <davem@davemloft.net>
25918         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
25919         to occur in round to nearest mode when |x| >= 2.0
25921 2014-05-30  Richard Henderson  <rth@twiddle.net>
25923         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
25924         (PSEUDO_RET_NOERRNO): Remove.
25925         (ret): Don't redefine.
25926         (ret_NOERRNO): Define in terms of ret.
25927         (ret_ERRVAL): Likewise.
25929         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
25930         use of PSEUDO_RET; perform the error check directly.
25932 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
25934         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
25935         with __int128_t.
25937 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
25939         * malloc/malloc (malloc_info): Fix formatting.
25941 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
25942             Roland McGrath  <roland@hack.frob.com>
25944         * malloc/malloc (malloc_info): Also print mmapped statistics.
25946 2014-05-30  Roland McGrath  <roland@hack.frob.com>
25948         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
25949         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
25951 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
25953         * malloc/malloc.c (malloc_info): Inline mi_arena.
25955 2014-05-29  Richard Henderson  <rth@twiddle.net>
25957         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
25958         Remove comma before expanding ASM_ARGS_##nr.
25959         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
25960         Make _x0 a strict output; make _x8 a strict input; adjust expansion
25961         of ASM_ARGS_##nr.
25962         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
25963         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
25964         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
25965         (ASM_ARGS_1): Add leading comma.
25967         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
25968         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
25969         to __errno_location.
25970         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
25971         Remove the expected plt for __errno_location.
25973         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
25974         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
25975         call to __read_tp.
25977         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
25978         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
25979         it and break it down.
25980         (DOCARGS_0, DOCARGS_1): Do nothing.
25981         (DOCARGS_2): Update to store into the new stack frame.
25982         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
25983         (UNDOCARGS_1): Update to restore from the new stack frame.
25984         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
25985         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
25987         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
25988         (SINGLE_THREAD_P): New parameter for result regno.
25989         (PSEUDO): Update to match; use cbz instead of beq.
25991         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
25992         Use ENTRY to define the _nocancel entry point.  Share the syscall
25993         and syscall error check paths with the cancel path.
25994         (PSEUDO_END): New.
25996         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
25997         whitespace; tabs before and after asm mnemonics.
25999 2014-05-29  Eric Wong  <normalperson@yhbt.net>
26001         [BZ #15132]
26002         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26003         Call fstat64 or stat64 internally, depending on arguments passed.
26004         Replace stat buffer argument with file descriptor argument.
26005         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
26006         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
26007         Pass fd to __internal_statvfs instead of calling fstat64.
26008         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
26009         Pass fd to __internal_statvfs64 instead of calling fstat64.
26010         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
26011         Pass -1 to __internal_statvfs instead of calling stat64.
26012         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
26013         Pass -1 to __internal_statvfs64 instead of calling stat64.
26015 2014-05-28  Roland McGrath  <roland@hack.frob.com>
26017         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
26018         that was previously under [RESET_PID].
26019         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
26021         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
26022         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
26024 2014-05-27  Roland McGrath  <roland@hack.frob.com>
26026         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
26028         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
26029         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
26031 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
26033         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
26035 2014-05-27  Andreas Schwab  <schwab@suse.de>
26037         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
26038         TLS_INIT_TP macro.
26039         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
26040         * elf/rtld.c (init_tls, dl_main): Likewise.
26041         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
26042         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
26043         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
26044         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
26045         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
26046         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
26047         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
26048         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
26049         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
26050         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
26051         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
26052         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
26053         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
26054         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
26055         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
26056         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
26057         * sysdeps/generic/tls.h: Update description.
26059 2014-05-27  Will Newton  <will.newton@linaro.org>
26061         [BZ #16990]
26062         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
26063         and restore r2 rather than just restoring.
26065 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26067         [BZ #16724]
26068         * libio/tst-ftell-append.c: New test case.
26069         * libio/Makefile (tests): Add test case.
26070         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
26071         append mode.
26072         * libio/wfileops.c (do_ftell_wide): Likewise.
26074 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26076         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26078         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
26079         ...
26080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
26081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
26082         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
26083         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
26084         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
26085         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
26086         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
26087         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
26088         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
26089         Moved ...
26090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
26091         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
26092         Moved ...
26093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
26094         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
26095         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
26096         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
26097         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
26098         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
26099         ...
26100         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
26101         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
26102         Moved ...
26103         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
26104         here.
26105         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
26106         ...
26107         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
26108         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
26109         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
26111         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
26112         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
26113         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
26114         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
26116         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
26117         merge into ...
26118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
26119         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
26120         ...
26121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
26122         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
26123         ...
26124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
26125         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
26126         Moved ...
26127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
26128         here.
26129         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
26130         Moved ...
26131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
26132         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
26133         Moved ...
26134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
26136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
26137         conditional [RESET_PID].
26138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
26139         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
26140         removed.
26141         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
26142         removed.
26144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
26145         <tcb-offsets.h>.
26146         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
26147         (__libc_vfork): New strong alias.
26148         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
26149         removed.
26150         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
26151         Removed.
26153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
26154         <tcb-offsets.h>.
26155         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
26156         (__libc_vfork): New strong alias.
26157         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
26158         removed.
26159         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
26160         removed.
26162 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
26164         * malloc/malloc.c (mi_arena): New function.
26165         (malloc_info): Remove nested function mi_arena. Call non-nosted
26166         function mi_arena.
26168 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26170         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
26171         by insrwi.
26172         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
26173         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
26174         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
26175         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
26176         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
26177         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
26178         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
26180 2014-05-26  Andreas Schwab  <schwab@suse.de>
26182         [BZ #16984]
26183         * locale/programs/repertoire.c (repertoire_read): Add slash
26184         between I18NPATH element and file name.
26185         * locale/programs/locfile.c (locfile_read): Likewise.
26187 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
26189         * nptl/pthread_mutexattr_settype.c
26190         (__pthread_mutexattr_settype):
26191         Disable lock elision for PTHREAD_MUTEX_NORMAL.
26193 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
26195         * nptl/tst-mutex5 (do_test):
26196         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
26198 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
26200         * benchtests/README: Document 'init' directive.
26201         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
26202         BENCH_INIT.
26203         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
26204         (parse_file): Recognize 'init' directive.
26206 2014-05-26  Kyle McMartin  <kyle@redhat.com>
26208         [BZ #16796]
26209         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
26210         alignment of struct pthread.
26212 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
26214         [BZ #16878]
26215         * nscd/netgroupcache.c (addgetnetgrentX): Look for
26216         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
26217         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
26218         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
26220 2014-05-25  Richard Henderson  <rth@twiddle.net>
26222         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
26223         (SINGLE_THREAD_P_PIC): Remove.
26224         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
26225         (SINGLE_THREAD_P_PIC): Remove.
26227         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
26228         branch to syscall error ...
26229         (PSEUDO): ... here.
26230         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
26231         from __local_syscall_error to .Lsyscall_error.
26232         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
26233         (SYSCALL_ERROR): Update label name.
26235         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
26236         Do not use DOARGS/UNDOARGS.
26237         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
26238         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
26239         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
26240         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
26241         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
26243         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
26244         block comment.
26246         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
26247         define if !NOT_IN_libc.
26248         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
26249         define with non-default symbol versions.
26251 2014-05-23  Richard Henderson  <rth@twiddle.net>
26253         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
26254         (vfork, __vfork): Define via compat_symbol.
26256         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
26257         [!HAVE_IFUNC] (vfork_compat): Remove.
26258         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
26260 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
26262         [BZ #16978]
26263         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
26264         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
26265         variable.
26267 2014-05-23  Richard Henderson  <rth@twiddle.net>
26269         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
26270         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
26271         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
26272         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
26274         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
26275         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
26276         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
26277         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
26278         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
26279         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
26280         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
26281         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
26282         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
26283         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
26284         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
26285         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
26286         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
26287         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
26288         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
26289         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
26290         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
26291         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
26292         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
26293         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
26294         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
26295         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
26296         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
26297         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
26298         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
26299         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
26300         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
26301         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
26302         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
26303         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
26304         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
26305         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
26306         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
26307         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
26308         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
26309         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
26310         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
26311         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
26312         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
26313         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
26314         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
26315         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
26316         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
26317         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
26318         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
26319         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
26320         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
26321         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
26322         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
26323         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
26324         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
26325         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
26326         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
26327         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
26328         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
26329         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
26331         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
26332         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
26333         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
26334         before exiting on error.
26335         (__libc_vfork): New strong alias.
26336         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
26337         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
26339         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
26340         that was previously under [RESET_PID].
26341         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
26343         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
26345 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
26347         [BZ #16977]
26348         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
26349         value when x - 1 is zero.
26350         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
26351         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
26352         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
26353         0.0L for an argument of 1.0L.
26354         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
26355         Likewise.
26356         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
26357         value when x - 1 is zero.
26358         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
26359         * sysdeps/i386/fpu/libm-test-ulps: Update.
26360         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26362 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
26364         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
26365         alphasort and versionsort.
26367 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26369         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
26370         macro.
26371         [copysignf]: Likewise.
26373 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
26375         * crypt/md5-crypt.c: Fix formatting.
26377 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
26379         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
26380         (b64_from_24bit): New function.
26382 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26384         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
26385         libc_hidden_builtin_def to ifunc.
26386         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
26387         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
26389 2014-05-21  Roland McGrath  <roland@hack.frob.com>
26391         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
26392         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
26394 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
26396         * nscd/Depend (linuxthreads): Remove.
26397         (nptl): Add.
26398         * resolv/Depend (linuxthreads): Remove.
26399         * rt/Depend (linuxthreads): Remove.
26401         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
26402         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
26403         $(common-objpfx)elf/.
26404         (link-libc-before-gnulib): Likewise.
26405         (elfobjdir): Remove variable.
26406         * Makefile (install): Use $(elf-objpfx) instead of
26407         $(common-objpfx)elf/.
26408         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
26409         $(elfobjdir)/.
26410         (link-libc-deps): Likewise.
26411         ($(common-objpfx)libc.so): Likewise.
26412         ($(common-objpfx)linkobj/libc.so): Likewise.
26413         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
26414         instead of $(common-objpfx)elf/.
26415         (symbolic-link-list): Likewise.
26416         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
26417         [$(cross-compiling) = no]: Likewise.
26418         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
26419         $(elfobjdir)/.
26420         (static-gnulib-arch): Likewise.
26421         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
26422         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
26423         $(common-objpfx)elf/.
26425 2014-05-21  Richard Henderson  <rth@redhat.com>
26427         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
26428         (SINGLE_THREAD_P): Use the correct width load.  Fold
26429         into the ldr offset.
26431         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
26432         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
26434 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
26436         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
26437         (libgcc_s_resume): Use __attribute_used__.
26438         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
26439         Likewise.
26441 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26443         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
26444         optimization when used with float constants.
26446         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26448 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
26450         [BZ #16915]
26451         * locale/nl_langinfo_l.c: Make direct reference to every
26452         _nl_current_CATEGORY symbol.
26453         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
26454         (tests-static): Add tst-langinfo-static.
26455         (tests-special): Add tst-langinfo-static.out.
26456         ($(objpfx)tst-langinfo.out): Redirect output.
26457         ($(objpfx)tst-langinfo-static.out): New.
26458         * localedata/tst-langinfo.sh: Send output to stdout.
26459         * localedata/tst-langinfo-static.c: New file.
26461         [BZ #16965]
26462         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
26463         when the shift amount is modulo the limb size.
26465 2014-05-20  Richard Henderson  <rth@redhat.com>
26467         [BZ #16967]
26468         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
26469         Change type of sa_flags from unsigned int to int.
26471         [BZ #16966]
26472         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
26474         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
26476 2014-05-20  Will Newton  <will.newton@linaro.org>
26478         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
26479         Test the return value of the system call in the nocancel case.
26481 2014-05-20  Will Newton  <will.newton@linaro.org>
26482             Yvan Roux  <yvan.roux@linaro.org>
26484         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
26485         #include of asm/ptrace.h.
26486         (PTRACE_GET_THREAD_AREA): Remove #undef.
26487         (PTRACE_GETHBPREGS): Likewise.
26488         (PTRACE_SETHBPREGS): Likewise.
26489         (struct user_regs_struct): New structure.
26490         (struct user_fpsimd_struct): New structure.
26491         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
26492         #include of asm/ptrace.h and second #include of sys/user.h.
26493         (PTRACE_GET_THREAD_AREA): Remove #undef.
26494         (PTRACE_GETHBPREGS): Likewise.
26495         (PTRACE_SETHBPREGS): Likewise.
26496         (ELF_NGREG): Use new struct user_regs_struct.
26497         (elf_fpregset_t): Use new struct user_fpsimd_struct.
26499 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26501         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
26502         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
26504 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
26506         [BZ #16958]
26507         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
26508         membar to avoid block loads/stores to overlap previous stores.
26510 2014-05-17  Richard Henderson  <rth@redhat.com>
26512         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
26513         Create the __##syscall_name##_nocancel entry point.
26514         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
26515         Remove; let the sysdep-cancel.h code create it.
26517 2014-05-17  David S. Miller  <davem@davemloft.net>
26519         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
26520         Protect with __USE_GNU.
26521         (TIOCSET_TEMPT): Likewise.
26522         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
26523         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
26524         these are already provided in bits/ioctl-types.h
26526 2014-05-16  Roland McGrath  <roland@hack.frob.com>
26528         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
26529         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
26531         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
26532         Use wait4 regardless of [__NR_waitpid].
26534 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
26536         PR libgcc/60166
26537         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
26538         (_FP_NANSIGN_Q): Set the quiet bit.
26540 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
26542         * benchtests/Makefile
26543         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
26544         not $(common-objpfx)math/libm.so.
26545         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
26546         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
26547         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
26548         $(common-objpfx)dlfcn/libdl.so.
26549         ($(objpfx)tst-audit8): Depend on $(libm), not
26550         $(common-objpfx)math/libm.so.
26551         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
26552         not $(common-objpfx)dlfcn/libdl.so.
26553         * math/Makefile
26554         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
26555         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
26556         [$(build-shared) = yes].
26557         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
26558         $(common-objpfx)nptl/libpthread.so.
26559         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
26560         $(common-objpfx)math/libm.so$(libm.so-version) or
26561         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
26562         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
26563         $(common-objpfx)dlfcn/libdl.so.
26564         * setjmp/Makefile (link-libm): Remove variable.
26565         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
26566         * stdio-common/Makefile (link-libm): Remove variable.
26567         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
26568         * stdlib/Makefile (link-libm): Remove variable.
26569         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
26570         ($(objpfx)tst-strtod-round): Likewise.
26571         ($(objpfx)tst-tininess): Likewise.
26572         ($(objpfx)tst-strtod-underflow): Likewise.
26573         ($(objpfx)tst-strtod6): Likewise.
26574         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
26575         $(libdl), not $(common-objpfx)nptl/libpthread.so and
26576         $(common-objpfx)dlfcn/libdl.so.
26578 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26580         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
26581         BSD terminal modes definitions.
26583 2014-05-16  Roland McGrath  <roland@hack.frob.com>
26585         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
26586         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
26588         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
26589         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
26590         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
26591         Don't do #include_next.
26592         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
26593         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
26594         Don't do #include_next.
26595         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
26596         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
26597         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
26598         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
26600 2014-05-16  Allan McRae  <allan@archlinux.org>
26602         * po/sv.po: Update Swedish translation from translation project.
26604         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
26605         in sed expression.
26607 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
26609         [BZ #16917]
26610         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
26611         errno if the TIOCGPTN ioctl fails with an error different than
26612         EINVAL.
26613         * login/tst-ptsname.c: New file.
26614         * login/Makefile (tests): Add tst-ptsname.
26616         [BZ #16943]
26617         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
26618         and prlimit64.
26620 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
26622         [BZ #16849]
26623         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
26624         herrno to return EAI_AGAIN.
26626 2014-05-14  Roland McGrath  <roland@hack.frob.com>
26628         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
26629         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
26630         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
26631         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
26632         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
26633         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
26634         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
26635         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
26636         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
26637         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
26638         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
26639         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
26640         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
26641         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
26642         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
26643         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
26644         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
26645         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
26646         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
26647         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
26648         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
26649         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
26650         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
26651         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
26652         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
26653         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
26654         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
26655         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
26656         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
26657         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
26658         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
26659         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
26660         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
26661         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
26662         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
26663         Moved ...
26664         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
26665         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
26666         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
26667         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
26668         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
26669         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
26670         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
26671         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
26672         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
26673         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
26674         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
26675         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
26676         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
26677         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
26678         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
26679         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
26680         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
26681         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
26682         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
26683         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
26684         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
26685         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
26686         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
26687         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
26688         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
26689         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
26690         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
26691         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
26692         Moved ...
26693         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
26694         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
26695         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
26696         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
26697         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
26698         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
26699         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
26700         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
26701         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
26702         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
26703         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
26704         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
26705         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
26706         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
26707         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
26708         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
26709         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
26710         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
26711         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
26712         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
26713         Moved ...
26714         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
26715         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
26716         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
26718         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
26719         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
26720         (libpthread-sysdep_routines): Add elision-related stuff here instead.
26721         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
26722         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
26723         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
26724         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
26725         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
26726         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
26727         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
26728         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
26729         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
26730         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
26731         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
26732         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
26733         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
26734         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
26735         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
26736         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
26737         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
26738         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
26739         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
26740         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
26741         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
26742         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
26743         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
26744         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
26745         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
26746         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
26747         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
26748         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
26750         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
26751         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
26753         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
26754         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
26755         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
26756         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
26757         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
26758         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
26759         Moved ...
26760         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
26761         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
26762         Moved ...
26763         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
26764         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
26765         Moved ...
26766         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
26767         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
26768         Moved ...
26769         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
26770         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
26771         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
26772         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
26773         Moved ...
26774         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
26775         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
26776         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
26777         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
26778         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
26779         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
26780         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
26781         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
26782         Moved ...
26783         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
26784         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
26785         Moved ...
26786         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
26787         ... here.
26788         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
26789         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
26790         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
26791         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
26792         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
26793         Moved ...
26794         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
26795         ... here.
26796         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
26797         Moved ...
26798         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
26799         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
26800         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
26801         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
26802         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
26803         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
26804         Moved ...
26805         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
26806         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
26807         Moved ...
26808         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
26809         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
26810         Moved ...
26811         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
26812         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
26813         Moved ...
26814         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
26815         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
26816         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
26817         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
26818         Moved ...
26819         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
26820         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
26821         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
26822         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
26823         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
26824         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
26825         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
26826         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
26827         Moved ...
26828         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
26829         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
26830         Moved ...
26831         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
26832         ... here.
26833         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
26834         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
26835         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
26836         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
26837         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
26838         Moved ...
26839         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
26840         ... here.
26841         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
26842         Moved ...
26843         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
26844         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
26845         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
26846         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
26847         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
26848         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
26849         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
26850         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
26851         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
26852         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
26853         Moved ...
26854         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
26855         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
26856         Moved ...
26857         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
26858         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
26859         Moved ...
26860         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
26861         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
26862         Moved ...
26863         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
26864         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
26865         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
26866         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
26867         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
26868         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
26869         Moved ...
26870         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
26871         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
26872         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
26873         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
26874         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
26875         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
26876         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
26877         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
26878         Moved ...
26879         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
26880         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
26881         Moved ...
26882         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
26883         ... here.
26884         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
26885         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
26886         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
26887         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
26888         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
26889         Moved ...
26890         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
26891         ... here.
26892         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
26893         Moved ...
26894         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
26895         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
26896         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
26897         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
26898         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
26899         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
26900         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
26901         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
26902         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
26903         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
26904         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
26906         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
26907         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
26909         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
26910         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
26912         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
26913         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
26914         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
26915         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
26916         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
26917         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
26918         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
26919         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
26920         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
26921         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
26922         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
26923         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
26924         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
26925         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
26926         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
26927         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
26928         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
26929         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
26930         Moved ...
26931         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
26932         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
26933         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
26934         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
26935         Moved ...
26936         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
26937         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
26938         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
26939         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
26940         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
26941         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
26942         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
26943         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
26944         Moved ...
26945         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
26946         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
26947         Moved ...
26948         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
26949         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
26950         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
26951         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
26952         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
26953         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
26954         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
26955         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
26956         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
26957         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
26958         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
26959         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
26960         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
26961         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
26962         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
26963         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
26964         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
26966         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
26967         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
26968         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
26969         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
26970         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
26972         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
26973         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
26974         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
26975         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
26976         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
26977         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
26978         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
26979         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
26980         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
26981         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
26983         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
26984         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
26986         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
26987         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
26988         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
26989         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
26990         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
26991         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
26992         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
26993         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
26994         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
26995         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
26996         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
26997         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
26998         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
26999         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
27000         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
27001         Update #include.
27002         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
27003         Likewise.
27004         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
27005         Likewise.
27006         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
27007         Likewise.
27008         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
27009         Likewise.
27010         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
27011         Likewise.
27012         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
27013         Likewise.
27014         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
27015         Likewise.
27016         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
27017         Likewise.
27018         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
27019         Likewise.
27020         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
27021         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
27022         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
27023         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
27024         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
27025         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
27026         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
27027         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
27028         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
27029         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
27030         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
27031         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
27032         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
27033         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
27034         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
27036         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
27037         that was previously under [RESET_PID].
27038         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
27039         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
27040         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
27042         * sysdeps/i386/nptl/Implies: New file.
27043         * sysdeps/x86_64/nptl/Implies: New file.
27044         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
27045         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
27046         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
27047         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
27049         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
27050         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
27051         (__libc_vfork): New strong alias.
27052         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
27053         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
27055         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
27056         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
27057         (__libc_vfork): New strong alias.
27058         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
27059         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
27061         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
27062         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
27063         (__libc_vfork): New strong alias.
27064         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
27065         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
27066         * nptl/pt-vfork.c: New file.
27067         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
27068         (libpthread: GLIBC_2.20): New version set (empty).
27070 2014-05-14  Will Newton  <will.newton@linaro.org>
27072         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
27073         rather than #if.
27075 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
27077         [BZ #16564]
27078         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
27079         arguments with exponent 65 or above.
27080         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
27081         arguments 0x1p113L or above.
27082         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
27083         to arguments 0x1p107L or above.
27084         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
27085         positive arguments with exponent 65 or above.
27086         * math/auto-libm-test-in: Add more tests of log1p.
27087         * math/auto-libm-test-out: Regenerated.
27089         [BZ #16928]
27090         * math/s_cacos.c (__cacos): Ensure zero real part of result from
27091         non-finite arguments is +0.
27092         * math/s_cacosf.c (__cacosf): Likewise.
27093         * math/s_cacosl.c (__cacosl): Likewise.
27094         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
27095         * sysdeps/i386/fpu/libm-test-ulps: Update.
27096         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27098         [BZ #16927]
27099         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
27100         value.
27101         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
27102         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
27103         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
27104         for explicit high bit of mantissa when testing for argument equal
27105         to 1.
27106         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
27107         * sysdeps/i386/fpu/libm-test-ulps: Update.
27108         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27110         [BZ #16516]
27111         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
27112         (__erf): Scale by 16 instead of 8 in potentially underflowing
27113         case.  Ensure exception if result actually underflows.
27114         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
27115         (__erff): Scale by 16 instead of 8 in potentially underflowing
27116         case.  Ensure exception if result actually underflows.
27117         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
27118         (efx8): Remove variable.
27119         (__erfl): Scale by 16 instead of 8 in potentially underflowing
27120         case.  Ensure exception if result actually underflows.
27121         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
27122         (efx8): Remove variable.
27123         (__erfl): Scale by 16 instead of 8 in potentially underflowing
27124         case.  Ensure exception if result actually underflows.
27125         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
27126         (efx8): Remove variable.
27127         (__erfl): Scale by 16 instead of 8 in potentially underflowing
27128         case.  Ensure exception if result actually underflows.
27129         * math/auto-libm-test-in: Add more tests of erf.
27130         * math/auto-libm-test-out: Regenerated.
27132 2014-05-14  Andreas Schwab  <schwab@suse.de>
27134         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
27135         Remove code conditionalized on USE___THREAD.
27137         * config.h.in (HAVE_PT_CHOWN): Define as 0.
27138         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
27139         not definedness.
27141 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
27143         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
27144         Define unconditionally.
27145         (__ASSUME_O_CLOEXEC): Likewise.
27146         (__ASSUME_SOCK_CLOEXEC): Likewise.
27147         (__ASSUME_IN_NONBLOCK): Likewise.
27148         (__ASSUME_PIPE2): Likewise.
27149         (__ASSUME_EVENTFD2): Likewise.
27150         (__ASSUME_SIGNALFD4): Likewise.
27151         (__ASSUME_DUP3): Likewise.
27152         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
27153         (__ASSUME_DUP3): Do not define.
27154         (__ASSUME_EVENTFD2): Likewise.
27155         (__ASSUME_IN_NONBLOCK): Likewise.
27156         (__ASSUME_O_CLOEXEC): Likewise.
27157         (__ASSUME_PIPE2): Likewise.
27158         (__ASSUME_SIGNALFD4): Likewise.
27159         (__ASSUME_SOCK_CLOEXEC): Likewise.
27160         (__ASSUME_UTIMES): Undefine.
27161         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
27162         (__ASSUME_UTIMES): Do not define.
27163         (__ASSUME_O_CLOEXEC): Likewise.
27164         (__ASSUME_SOCK_CLOEXEC): Likewise.
27165         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
27166         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
27167         0x020621].
27168         (__ASSUME_PIPE2): Likewise.
27169         (__ASSUME_EVENTFD2): Likewise.
27170         (__ASSUME_SIGNALFD4): Likewise.
27171         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
27172         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
27173         Do not define.
27174         (__ASSUME_EVENTFD2): Likewise.
27175         (__ASSUME_SIGNALFD4): Likewise.
27176         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
27177         (__ASSUME_32BITUIDS): Likewise.
27178         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
27179         (__ASSUME_IPC64): Likewise.
27180         (__ASSUME_ST_INO_64_BIT): Likewise.
27181         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
27182         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
27183         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
27184         (__ASSUME_UTIMES): Do not define.
27185         (__ASSUME_PSELECT): Likewise.
27186         (__ASSUME_PPOLL): Likewise.
27187         (__ASSUME_O_CLOEXEC): Likewise.
27188         (__ASSUME_SOCK_CLOEXEC): Likewise.
27189         (__ASSUME_IN_NONBLOCK): Likewise.
27190         (__ASSUME_PIPE2): Likewise.
27191         (__ASSUME_EVENTFD2): Likewise.
27192         (__ASSUME_SIGNALFD4): Likewise.
27193         (__ASSUME_DUP3): Likewise.
27194         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
27195         (__ASSUME_UTIMES): Likewise.
27196         (__ASSUME_O_CLOEXEC): Likewise.
27197         (__ASSUME_SOCK_CLOEXEC): Likewise.
27198         (__ASSUME_IN_NONBLOCK): Likewise.
27199         (__ASSUME_PIPE2): Likewise.
27200         (__ASSUME_EVENTFD2): Likewise.
27201         (__ASSUME_SIGNALFD4): Likewise.
27202         (__ASSUME_DUP3): Likewise.
27203         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
27204         (__ASSUME_UTIMES): Likewise.
27205         (__ASSUME_O_CLOEXEC): Likewise.
27206         (__ASSUME_SOCK_CLOEXEC): Likewise.
27207         (__ASSUME_IN_NONBLOCK): Likewise.
27208         (__ASSUME_PIPE2): Likewise.
27209         (__ASSUME_EVENTFD2): Likewise.
27210         (__ASSUME_SIGNALFD4): Likewise.
27211         (__ASSUME_DUP3): Likewise.
27212         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
27213         Likewise.
27214         (__ASSUME_UTIMES): Likewise.
27215         (__ASSUME_EVENTFD2): Likewise.
27216         (__ASSUME_SIGNALFD4): Likewise.
27217         * sysdeps/unix/sysv/linux/tile/kernel-features.h
27218         (__ASSUME_O_CLOEXEC): Likewise.
27219         (__ASSUME_SOCK_CLOEXEC): Likewise.
27220         (__ASSUME_IN_NONBLOCK): Likewise.
27221         (__ASSUME_PIPE2): Likewise.
27222         (__ASSUME_EVENTFD2): Likewise.
27223         (__ASSUME_SIGNALFD4): Likewise.
27224         (__ASSUME_DUP3): Likewise.
27225         (__ASSUME_UTIMES): Undefine.
27227         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
27228         feclearexcept.  Remove symbol versioning code.
27229         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
27230         symbol versioning code.
27231         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
27232         symbol versioning code.
27233         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
27234         feupdateenv.  Remove symbol versioning code.
27235         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
27236         fegetexceptflag.  Remove symbol versioning code.
27237         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
27238         fesetexceptflag.  Remove symbol versioning code.
27239         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
27240         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
27241         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
27242         (__posix_fadvise64_l32): Remove prototype.
27243         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
27244         code.
27246 2014-05-13  Roland McGrath  <roland@hack.frob.com>
27248         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
27249         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
27250         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
27251         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
27253 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
27255         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
27256         current working directory
27258 2014-05-13  Roland McGrath  <roland@hack.frob.com>
27260         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
27261         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
27262         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
27263         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
27264         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
27265         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
27266         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
27267         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
27268         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
27269         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
27270         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
27271         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
27272         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
27273         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
27274         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
27275         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
27276         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
27277         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
27278         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
27279         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
27280         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
27281         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
27282         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
27283         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
27284         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
27285         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
27286         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
27287         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
27288         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
27289         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
27290         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
27291         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
27292         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
27293         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
27294         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
27295         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
27296         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
27297         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
27298         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
27299         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
27300         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
27301         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
27303         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
27304         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
27306         * sysdeps/unix/sysv/linux/arm/Makefile
27307         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
27308         Add rt-aeabi_unwind_cpp_pr1.
27309         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
27310         Add nptl-aeabi_unwind_cpp_pr1.
27311         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
27312         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
27313         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
27314         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
27315         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
27316         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
27318         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
27319         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
27320         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
27321         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
27323         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
27324         Deconditionalize the code that was previously under [RESET_PID].
27325         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
27327         * sysdeps/generic/exit-thread.h: New file.
27328         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
27329         * include/unistd.h (__exit_thread): Remove declaration.
27330         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
27331         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
27332         * csu/libc-start.c: Include <exit-thread.h>.
27333         (LIBC_START_MAIN): Pass no argument to __exit_thread.
27334         * nptl/pthread_create.c: Include <exit-thread.h>.
27335         (start_thread): Call __exit_thread in place of __exit_thread_inline.
27336         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
27337         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
27338         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
27339         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
27340         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
27341         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
27342         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
27343         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
27344         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
27345         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
27346         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
27347         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
27348         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
27349         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
27350         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
27351         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
27353 2014-05-13  Andreas Schwab  <schwab@suse.de>
27355         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
27357 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
27359         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
27360         (__ASSUME_UTIMES): Do not condition on kernel version.
27361         (__ASSUME_PSELECT): Define unconditionally.
27362         (__ASSUME_PPOLL): Likewise.
27363         (__ASSUME_ATFCTS): Likewise.
27364         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
27365         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
27366         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
27367         (__ASSUME_UTIMENSAT): Define unconditionally.
27368         (__ASSUME_PRIVATE_FUTEX): Likewise.
27369         (__ASSUME_FALLOCATE): Likewise.
27370         (__ASSUME_O_CLOEXEC): Likewise.
27371         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
27372         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
27373         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
27374         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
27375         (__ASSUME_IN_NONBLOCK): Likewise.
27376         (__ASSUME_PIPE2): Likewise.
27377         (__ASSUME_EVENTFD2): Likewise.
27378         (__ASSUME_SIGNALFD4): Likewise.
27379         (__ASSUME_DUP3): Likewise.
27380         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
27381         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
27382         (__ASSUME_AT_RANDOM): Likewise.
27383         (__ASSUME_PREADV): Likewise.
27384         (__ASSUME_PWRITEV): Likewise.
27385         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
27386         (__ASSUME_F_GETOWN_EX): Define unconditionally.
27387         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
27388         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
27389         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
27390         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
27391         (__ASSUME_O_CLOEXEC): Define unconditionally.
27392         (__ASSUME_PSELECT): Do not undefine conditionally.
27393         (__ASSUME_PPOLL): Likewise.
27394         (__ASSUME_ATFCTS): Likewise.
27395         (__ASSUME_SET_ROBUST_LIST): Likewise.
27396         (__ASSUME_UTIMENSAT): Likewise.
27397         (__ASSUME_FDATASYNC): Define unconditionally.
27398         * sysdeps/unix/sysv/linux/arm/kernel-features.h
27399         (__ASSUME_SIGFRAME_V2): Likewise.
27400         )__ASSUME_EVENTFD2): Likewise.
27401         (__ASSUME_SIGNALFD4): Likewise.
27402         (__ASSUME_PSELECT): Do not undefine conditionally.
27403         (__ASSUME_PPOLL): Likewise.
27404         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
27405         (__ASSUME_PSELECT): Define unconditionally.
27406         (__ASSUME_PPOLL): Likewise.
27407         (__ASSUME_O_CLOEXEC): Likewise.
27408         (__ASSUME_SOCK_CLOEXEC): Likewise.
27409         (__ASSUME_IN_NONBLOCK): Likewise.
27410         (__ASSUME_PIPE2): Likewise.
27411         (__ASSUME_EVENTFD2): Likewise.
27412         (__ASSUME_SIGNALFD4): Likewise.
27413         (__ASSUME_DUP3): Likewise.
27414         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
27415         (__ASSUME_O_CLOEXEC): Likewise.
27416         (__ASSUME_SOCK_CLOEXEC): Likewise.
27417         (__ASSUME_IN_NONBLOCK): Likewise.
27418         (__ASSUME_PIPE2): Likewise.
27419         (__ASSUME_EVENTFD2): Likewise.
27420         (__ASSUME_SIGNALFD4): Likewise.
27421         (__ASSUME_DUP3): Likewise.
27422         * sysdeps/unix/sysv/linux/mips/kernel-features.h
27423         (__ASSUME_EVENTFD2): Likewise.
27424         (__ASSUME_SIGNALFD4): Likewise.
27425         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
27427 2014-05-12  Andreas Schwab  <schwab@suse.de>
27429         [BZ #16932]
27430         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
27431         (_nss_nis_gethostbyname4_r): Return error if item length is larger
27432         than maximum RPC packet size.
27433         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
27434         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
27435         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
27436         (_nss_nis_getservbyport_r): Likewise.
27438 2014-05-12  Will Newton  <will.newton@linaro.org>
27440         * malloc/Makefile (tests): Add tst-mallopt.
27441         * malloc/tst-mallopt.c: New file.
27443 2014-05-09  Roland McGrath  <roland@hack.frob.com>
27445         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
27446         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
27448 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27450         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
27451         (tst-tlsmod6.so): Likewise.
27453 2014-05-09  Roland McGrath  <roland@hack.frob.com>
27455         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
27457 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
27459         [BZ #16064]
27460         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
27461         and <dl-procinfo.h>.
27462         (__fegetenv): Save SSE state in envp->__eip if supported.
27463         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
27464         envp->__eip if supported.
27465         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
27466         and <dl-procinfo.h>.
27467         (__fesetenv): Always set __eip, __cs_selector, __opcode,
27468         __data_offset and __data_selector in environment to 0.  Set SSE
27469         state if supported.
27470         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
27471         test-fenv-sse.
27472         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
27473         -mfpmath=sse.
27474         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
27476 2014-05-09  Will Newton  <will.newton@linaro.org>
27478         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
27479         and libc_relro_required for ARM.
27480         * sysdeps/arm/preconfigure: Regenerate.
27482 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
27483             Stefan Liebler  <stli@linux.vnet.ibm.com>
27485         * config.make.in (enable-lock-elision): New Makefile variable.
27486         * configure.ac: Likewise.
27487         * configure: Regenerate.
27488         * sysdeps/s390/configure.ac:
27489         Add check for gcc transactions support.
27490         * sysdeps/s390/configure: Regenerate.
27491         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
27492         Build elision files if enabled.
27493         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
27494         Add lock elision support for s390.
27495         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
27496         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
27497         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
27498         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
27499         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
27500         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
27501         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
27502         Likewise.
27503         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
27504         Likewise.
27505         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
27506         Likewise.
27507         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
27508         Likewise.
27509         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
27510         (__lll_timedlock_elision, __lll_lock_elision)
27511         (__lll_unlock_elision, __lll_trylock_elision)
27512         (lll_timedlock_elision, lll_lock_elision)
27513         (lll_unlock_elision, lll_trylock_elision): Add.
27514         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
27515         (pthread_mutex_t): Add lock elision support for s390.
27517 2014-05-14  Wilco  <wdijkstr@arm.com>
27519         * sysdeps/arm/fclrexcpt.c: Cleanup.
27520         * sysdeps/arm/fedisblxcpt.c: Cleanup.
27521         * sysdeps/arm/feenablxcpt.c: Cleanup.
27522         * sysdeps/arm/fegetenv.c: Cleanup.
27523         * sysdeps/arm/fegetexcept.c: Cleanup.
27524         * sysdeps/arm/fegetround.c: Cleanup.
27525         * sysdeps/arm/feholdexcpt.c: Cleanup.
27526         * sysdeps/arm/fesetenv.c: Cleanup.
27527         * sysdeps/arm/fesetround.c: Cleanup.
27528         * sysdeps/arm/feupdateenv.c: Cleanup.
27529         * sysdeps/arm/fgetexcptflg.c: Cleanup.
27530         * sysdeps/arm/fraiseexcpt.c: Cleanup.
27531         * sysdeps/arm/fsetexcptflg.c: Cleanup.
27532         * sysdeps/arm/ftestexcept.c: Cleanup.
27533         * sysdeps/arm/get-rounding-mode.h: Cleanup.
27534         * sysdeps/arm/setfpucw.c: Cleanup.
27536 2014-05-09  Will Newton  <will.newton@linaro.org>
27538         * sysdeps/arm/armv7/strcmp.S: New file.
27539         * NEWS: Mention addition of ARMv7 optimized strcmp.
27541 2014-05-08  Roland McGrath  <roland@hack.frob.com>
27543         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
27544         look for %.ac rather than %.in.
27546         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
27547         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
27548         * sysdeps/mach/hurd/configure: Regenerated.
27549         * sysdeps/unix/sysv/linux/configure: Regenerated.
27551         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
27553 2014-05-07  Steve Ellcey  <sellcey@mips.com>
27555         [BZ# 16922]
27556         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
27557         (LONG_SUB): Ditto.
27558         (PTR_SUB): Ditto.
27560 2014-05-07  Andreas Schwab  <schwab@suse.de>
27562         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
27563         when skipping over non-matching result from nscd.
27565 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
27567         [BZ #16876]
27568         * nptl/sockperf.c (client): Check socket return value.
27570         [BZ #16877]
27571         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
27572         nscd security class.
27574 2014-05-06  Roland McGrath  <roland@hack.frob.com>
27576         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
27577         * sysdeps/arm/unwind.h: ... here.
27579 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
27581         [BZ# 16916]
27582         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
27583         Define.
27585 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
27587         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
27588         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
27589         multiarch strncpy for PPC64.
27590         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
27591         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
27592         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
27593         multiarch optimizations.
27594         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
27595         (__libc_ifunc_impl_list): Likewise.
27596         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
27597         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
27598         multiarch stpncpy for PPC64.
27599         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
27600         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
27602 2014-05-06  Andreas Schwab  <schwab@suse.de>
27604         [BZ #16912]
27605         * gmon/mcount.c (_MCOUNT_DECL): Use
27606         atomic_compare_and_exchange_bool_acq instead of
27607         catomic_compare_and_exchange_bool_acq.
27609 2014-05-05  Roland McGrath  <roland@hack.frob.com>
27611         * elf/Makefile (others, install-bin): Remove pldd.
27612         (pldd-modules): Variable removed.
27613         ($(objpfx)pldd): Target removed.
27614         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
27615         (others, install-bin): Append pldd here.
27616         ($(objpfx)pldd): New target.
27618         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
27619         to 0, so the first #if test emitted later doesn't see it undefined.
27620         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
27621         * sysdeps/gnu/errlist.c: Regenerated.
27623 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27625         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
27626         [libc_hidden_builtin_def]: Define to empty value.
27627         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
27628         [libc_hidden_builtin_def]: Likewise.
27629         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
27630         [libc_hidden_builtin_def]: Likewise.
27631         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
27632         [libc_hidden_builtin_def]: Likewise.
27633         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
27634         __redirect_memcpy and define ifunc as default hidden symbol.
27635         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
27636         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
27638 2014-05-04  Adam Conrad  <adconrad@0c3.net>
27640         * locale/iso-4217.def: Reintroduce XDR currency.
27642 2014-05-04  Allan McRae  <allan@archlinux.org>
27644         * po/eo.po: Update Esperanto translation from translation project.
27646 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
27648         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
27649         and FEATURE_INDEX_MAX to 1.
27650         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
27652 2014-05-01  Steve Ellcey  <sellcey@mips.com>
27654         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
27655         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
27656         * iconvdata/big5.c (ONE_DIRECTION): Define.
27657         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
27658         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
27659         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
27660         * iconvdata/cp932.c (ONE_DIRECTION): Define.
27661         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
27662         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
27663         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
27664         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
27665         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
27666         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
27667         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
27668         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
27669         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
27670         * iconvdata/gbk.c (ONE_DIRECTION): Define.
27671         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
27672         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
27673         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
27674         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
27675         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
27676         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
27677         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
27678         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
27679         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
27680         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
27681         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
27682         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
27683         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
27684         * iconvdata/iso646.c (ONE_DIRECTION): Define.
27685         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
27686         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
27687         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
27688         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
27689         * iconvdata/johab.c (ONE_DIRECTION): Define.
27690         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
27691         * iconvdata/sjis.c (ONE_DIRECTION): Define.
27692         * iconvdata/t.61.c (ONE_DIRECTION): Define.
27693         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
27694         * iconvdata/tscii.c (ONE_DIRECTION): Define.
27695         * iconvdata/uhc.c (ONE_DIRECTION): Define.
27696         * iconvdata/unicode.c (ONE_DIRECTION): Define.
27697         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
27698         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
27699         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
27701 2014-05-01  Roland McGrath  <roland@hack.frob.com>
27703         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
27704         (_IO_JUMPS_OFFSET): Define to 0.
27706         * nptl/sysdeps/pthread/bits/libc-lock.h
27707         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
27708         (__libc_lock_define_initialized_recursive): Always define using
27709         initializer.  Modern compilers treat uninitialized (implicit zero) and
27710         explicit zero initializers the same (i.e. put the datum in bss).
27712 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
27714         * nscd/nscd-client.h: Include <string.h>.
27716 2014-05-01  David S. Miller  <davem@davemloft.net>
27718         [BZ #16885]
27719         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
27720         multiple zero bytes exist at the end of a string.
27721         Reported by Aurelien Jarno <aurelien@aurel32.net>
27723         * string/test-strcmp.c (check): Add explicit test for situations where
27724         there are multiple zero bytes after the first.
27726 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
27728         [BZ #16890]
27729         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
27730         when compiling wprintf.
27731         * stdio-common/tstdiomisc.c (t3): New function.
27732         (main): Call it.
27734 2014-05-01  Steve Ellcey  <sellcey@mips.com>
27736         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
27737         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
27738         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
27739         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
27741 2014-05-01  Steve Ellcey  <sellcey@mips.com>
27743         * stdlib/longlong.h: Updated from GCC.
27745 2014-05-01  Will Newton  <will.newton@linaro.org>
27746             Bernard Ogden  <bernie.ogden@linaro.org>
27748         * NEWS: Update fixed bug list.
27750         [BZ #15119]
27751         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
27753 2014-04-30  David S. Miller  <davem@davemloft.net>
27755         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
27756         (libc_feholdexcept_setround_sparc_ctx): New function.
27757         (libc_fesetenv_sparc_ctx): Likewise.
27758         (libc_feupdateenv_sparc_ctx): Likewise.
27759         (libc_feholdsetround_sparc_ctx): Likewise.
27760         (libc_feholdexcept_setround_ctx): Define.
27761         (libc_feholdexcept_setroundf_ctx): Likewise.
27762         (libc_feholdexcept_setroundl_ctx): Likewise.
27763         (libc_fesetenv_ctx): Likewise.
27764         (libc_fesetenvf_ctx): Likewise.
27765         (libc_fesetenvl_ctx): Likewise.
27766         (libc_feupdateenv_ctx): Likewise.
27767         (libc_feupdateenvf_ctx): Likewise.
27768         (libc_feupdateenvl_ctx): Likewise.
27769         (libc_feresetround_ctx): Likewise.
27770         (libc_feresetroundf_ctx): Likewise.
27771         (libc_feresetroundl_ctx): Likewise.
27772         (libc_feholdsetround_ctx): Likewise.
27773         (libc_feholdsetroundf_ctx): Likewise.
27774         (libc_feholdsetroundl_ctx): Likewise.
27776         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
27777         with __USE_GNU instead of XOPEN cpp guards.
27779         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
27780         0.
27782         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
27783         with XOPEN cpp guards.
27785 2014-04-30  Julian Brown  <julian@codesourcery.com>
27787         [BZ #16888]
27788         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
27789         handling.
27791 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
27793         [BZ #9894]
27794         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
27795         Change to 2.6.32.
27796         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
27797         * sysdeps/unix/sysv/linux/configure: Regenerated.
27798         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
27799         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
27800         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
27801         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
27802         * README: Update reference to required Linux kernel version.
27803         * manual/install.texi (Linux): Update reference to required Linux
27804         kernel headers version.
27805         * INSTALL: Regenerated.
27807         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
27808         header inclusion.
27809         [POSIX] (limits.h): Likewise.
27810         [POSIX] (math.h): Likewise.
27811         [POSIX] (sys/wait.h): Likewise.
27812         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
27813         function.
27814         [POSIX] (stddef.h): Do not allow header inclusion.
27816 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27818         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
27820 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
27822         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
27823         Return immediately after lll_futex_wake.
27825 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27827         [BZ #16791]
27828         * nscd/nscd-client.h (datahead_init_common): Initialize entire
27829         structure.
27830         (datahead_init_pos): Call datahead_init_common early.
27831         (datahead_init_neg): Likewise.
27833         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
27834         datahead_init_neg): New functions.
27835         * nscd/aicache.c (addhstaiX): Use them.
27836         * nscd/grpcache.c (cache_addgr): Likewise.
27837         * nscd/hstcache.c (cache_addhst): Likewise.
27838         * nscd/initgrcache.c (addinitgroupsX): Likewise.
27839         * nscd/netgroupcache.c (do_notfound): Likewise.
27840         (addgetnetgrentX): Likewise.
27841         (addinnetgrX): Likewise.
27842         * nscd/pwdcache.c (cache_addpw): Likewise.
27843         * nscd/servicescache.c (cache_addserv): Likewise.
27845 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27846             Atsushi Onoe  <atsushi@onoe.org>
27848         [BZ #14308]
27849         [BZ #12994]
27850         [BZ #13651]
27851         * resolv/res_query.c (__libc_res_nsearch): Return if at least
27852         one response is valid.
27853         * resolv/res_send.c (send_dg): Check for validity of other
27854         response if the current response is a referral.
27856 2014-04-29  Steve Ellcey  <sellcey@mips.com>
27858         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
27860 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
27862         [BZ #16823]
27863         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
27864         Always divide by positive zero when computing -Inf result.
27865         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
27866         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
27868 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27870         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
27871         FPSCR if value do not change.
27872         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
27873         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
27874         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
27875         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
27876         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
27877         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
27878         function.
27880 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
27882         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
27883         * sysdeps/unix/sysv/linux/hppa: Move directory from
27884         ports/systeps/unix/sysv/linux/hppa.
27885         * README: Update listing for hppa-*-linux-gnu.
27887 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
27889         [BZ #16754]
27890         * manual/stdio.texi (Hook functions): Fix types of stream hook
27891         functions.
27892         [BZ #16854]
27893         * socket/sys/socket.h: Fix typo in comment.
27895 2014-04-28  Wilco  <wdijkstr@arm.com>
27897         * sysdeps/arm/fenv_private.h: New file.
27898         * sysdeps/arm/math_private.h: New file.
27899         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
27901 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
27903         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
27904         with __int128_t.
27905         (La_x86_64_retval): Likewise.
27907 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
27909         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
27910         fpsr if value didn't change.
27911         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
27912         to fpcr if value didn't change.
27913         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
27914         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
27915         fpsr or fpcr if value didn't change.
27916         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
27917         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
27918         fpcr if value didn't change.
27919         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
27920         to fpsr if value didn't change.
27922 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
27924         * nptl/tst-sem3.c: Use test-skeleton.c
27925         (main): Rename to do_test.  Use return instead of
27926         exit.
27927         * nptl/tst-sem4.c: Use test-skeleton.c
27928         (main): Rename to do_test.
27930 2014-04-22  David S. Miller  <davem@davemloft.net>
27932         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
27933         (struct sigaction): New struct member __glibc_reserved0, change
27934         type of sa_flags to int.
27936 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
27938         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
27939         (COUNT_LEADING_ZEROS_0): Define for AArch64.
27941 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
27943         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
27944         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
27946 2014-04-22  Will Newton  <will.newton@linaro.org>
27947             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
27949         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
27950         (__longjmp): Add longjmp and longjmp_target SystemTap
27951         probes.
27952         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
27953         (__sigsetjmp): Add setjmp SystemTap probe.
27955 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
27957         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
27958         match manual order.
27960 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27962         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
27964         * sysdeps/powerpc/fpu/fenv_private.h
27965         (libc_feholdexcept_setroundl_ctx): Define to
27966         libc_feholdexcept_setround_ppc_ctx.
27967         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
27968         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
27969         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
27970         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
27972 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
27974         * sysdeps/aarch64/math-tests.h: New file.
27976 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
27978         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
27979         New.
27980         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27981         Check and set bit_AVX2_Usable.
27982         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
27983         macro.
27984         (bit_AVX2): Likewise.
27985         (index_AVX2_Usable): Likewise.
27986         (CPUID_AVX2): Likewise.
27987         (HAS_AVX2): Likewise.
27989 2014-04-17  Will Newton  <will.newton@linaro.org>
27991         * manual/setjmp.texi (System V contexts): Add note that
27992         calling setcontext on a context created by a call to a
27993         signal handler is undefined.  Update text to note that
27994         setcontext from a signal handler is possible but not
27995         recommended.
27997         [BZ #16629]
27998         * stdlib/tst-setcontext.c: Include signal.h.
27999         (main): Check that the signal stack before and
28000         after swapcontext is the same.
28002         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
28003         Re-implement to restore registers in user code and avoid
28004         rt_sigreturn system call.
28006 2014-04-17  Wilco  <wdijkstr@arm.com>
28008         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
28009         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
28010         * math/test-fenv.c: Skip exception trap tests on targets which only
28011         support non-stop mode.
28013 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
28014             Wilco Dijkstra  <wilco.dijkstra@arm.com>
28016         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
28017         (libc_feholdsetround_aarch64_ctx)
28018         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
28019         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
28020         (libc_feresetround_ctx, libc_feresetroundf_ctx)
28021         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
28022         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
28023         (libc_feresetround_noexl_ctx): Define.
28025 2014-04-16  Richard Henderson  <rth@redhat.com>
28027         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
28029         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
28030         unwind tables.
28032         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
28033         const from the non-libc, non-ldso copy.
28035         * sysdeps/alpha/libm-test-ulps: Regenerate.
28037 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
28038             Wilco Dijkstra  <wilco.dijkstra@arm.com>
28040         * sysdeps/aarch64/fpu/math_private.h: New file.
28042 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
28044         * sysdeps/aarch64/libm-test-ulps: Regenerate.
28046 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
28048         [BZ #16275]
28049         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
28050         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
28051         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
28052         Intel MPX bound registers before _dl_profile_fixup.
28053         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
28054         registers after _dl_profile_fixup.  Save and restore bound
28055         registers bnd0/bnd1 when calling _dl_call_pltexit.
28056         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
28057         (LR_BND_OFFSET): Likewise.
28058         (LRV_BND0_OFFSET): Likewise.
28059         (LRV_BND1_OFFSET): Likewise.
28061 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28063         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
28064         to...
28065         * sysdeps/mach/hurd/i386/tls.h: ... here.
28066         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
28067         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
28068         fields.
28070 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28072         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
28074 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
28076         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
28078 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
28080         [BZ #14770]
28081         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
28082         * sysdeps/s390/configure: Regenerate.
28084         [BZ #16824]
28085         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
28086         Set round-to-nearest internally to reduce error accumulation.
28088 2014-04-16  Alan Modra  <amodra@gmail.com>
28090         [BZ #16740]
28091         [BZ #16619]
28092         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
28093         * math/libm-test.inc (frexp_test_data): Add tests.
28094         * NEWS: Update fixed bug list.
28096 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28098         * benchtests/Makefile: Depend on libraries in build directory.
28099         (bench-math): Separate out math tests.
28100         (bench-pthread): Separate out pthread tests.
28101         (bench): Include math and pthread tests.
28103 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
28105         [BZ #16831]
28106         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
28107         _dl_debug_initialize.
28109         * configure.ac: Remove SELinux header check.
28110         * configure: Regenerate.
28111         * nscd/selinux.c (perms): Array of const char* to permission names.
28112         (nscd_request_avc_has_perm): Call security_deny_unknown to find
28113         default policy. Call string_to_security_class and string_to_av_perm to
28114         translate strings. Enforce default policy and call avs_has_perm with
28115         results of translated strings.
28117 2014-04-13  David S. Miller  <davem@davemloft.net>
28119         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28121 2014-04-12  Allan McRae  <allan@archlinux.org>
28123         [BZ #16838]
28124         * manual/string.texi (Collation Functions): Fix qsort argument
28125         order in example.
28126         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
28128 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
28130         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
28131         Make the test a no-op if there are no exceptions defined.
28133 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
28135         * elf/Makefile (tests): make tst-dlopen-aout conditional on
28136         enable-hardcoded-path-in-tests
28138 2014-04-11  Will Newton  <will.newton@linaro.org>
28140         * benchtests/Makefile (extra-objs): Add json-lib.o.
28141         (bench-func): Tidy up JSON output.
28142         * benchtests/bench-skeleton.c: Include json-lib.h.
28143         (main): Use JSON library functions to do output of
28144         benchmark results.
28145         * benchtests/bench-timing-type.c (main): Output the
28146         timing type simply, leaving formatting to the user.
28147         * benchtests/json-lib.c: New file.
28148         * benchtests/json-lib.h: Likewise.
28150 2014-04-11  Torvald Riegel  <triegel@redhat.com>
28152         [BZ #15215]
28153         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
28154         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
28155         memory barriers.  Add comments.
28156         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
28157         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
28158         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
28159         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
28160         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
28161         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
28163 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
28165         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
28166         * sysdeps/s390/s390-64/configure.ac: ... this ...
28167         * sysdeps/s390/configure.ac: ... to here.
28168         * sysdeps/s390/s390-32/configure: Delete file.
28169         * sysdeps/s390/s390-64/configure: Delete file.
28170         * sysdeps/s390/configure: Regenerate.
28172 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
28174         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
28176 2014-04-11  Will Newton  <will.newton@linaro.org>
28178         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
28179         to zero if it is not defined elsewhere.  (mtrim): Test
28180         the value of MALLOC_DEBUG with #if rather than #ifdef.
28182 2014-04-10 Torvald Riegel  <triegel@redhat.com>
28184         * benchtests/pthread_once-inputs: New file.
28185         * benchtests/pthread_once-source.c: New file.
28186         * benchtests/README: Update documentation.
28188 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
28189             H.J. Lu  <hongjiu.lu@intel.com>
28191         [BZ #16275]
28192         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
28193         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
28194         * sysdeps/x86_64/configure: Regenerated.
28195         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
28196         macro.
28197         (REGISTER_SAVE_RAX): Likewise.
28198         (REGISTER_SAVE_RCX): Likewise.
28199         (REGISTER_SAVE_RDX): Likewise.
28200         (REGISTER_SAVE_RSI): Likewise.
28201         (REGISTER_SAVE_RDI): Likewise.
28202         (REGISTER_SAVE_R8): Likewise.
28203         (REGISTER_SAVE_R9): Likewise.
28204         (REGISTER_SAVE_BND0): Likewise.
28205         (REGISTER_SAVE_BND1): Likewise.
28206         (REGISTER_SAVE_BND2): Likewise.
28207         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
28208         bound registers when calling _dl_fixup.
28210 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28212         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
28213         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
28214         of its definition.
28215         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
28216         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
28217         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
28218         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
28219         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
28220         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
28221         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
28223 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
28225         [BZ #15514]
28226         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
28227         pathconf(_PC_NAME_MAX).
28229 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28231         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
28232         Remove macro usage.
28233         (__PTHREAD_SPINS): Move definition to ...
28234         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
28235         (__PTHREAD_SPINS): ... here.
28236         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
28237         (__PTHREAD_SPIN): Likewise.
28238         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
28239         (__PTHREAD_SPIN): Likewise.
28240         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
28241         (__PTHREAD_SPIN): Likewise.
28242         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
28243         (__PTHREAD_SPIN): Likewise.
28244         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
28245         (__PTHREAD_SPIN): Likewise.
28246         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
28247         (__PTHREAD_SPIN): Likewise.
28248         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
28249         (__PTHREAD_SPIN): Likewise.
28250         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
28251         (__PTHREAD_SPIN): Likewise.
28252         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
28253         (__PTHREAD_SPIN): Likewise.
28254         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
28255         (__PTHREAD_SPIN): Likewise.
28256         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
28257         (__PTHREAD_SPIN): Likewise.
28258         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
28259         (__PTHREAD_SPIN): Likewise.
28261         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
28262         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
28263         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
28264         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
28265         imply folder.
28266         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
28267         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
28268         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
28269         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
28270         correct imply path.
28271         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
28272         strlen symbol for non multi-arch builds.
28273         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
28274         missing hidden_def and weak_alias.
28276 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
28278         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
28280 2014-04-07  Will Newton  <will.newton@linaro.org>
28282         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
28283         and contents.  [!_LIBC] Remove #ifndef and contents.
28284         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
28285         * string/memccpy.c (__memccpy): Use ANSI prototype.
28286         * string/memfrob.c (memfrob): Likewise.
28287         * string/strcoll.c (STRCOLL): Likewise.
28288         * string/strlen.c (strlen): Likewise.
28289         * string/strtok.c (STRTOK): Likewise.
28290         * string/strcat.c: Remove unused #include of memcopy.h.
28291         (strcat): Use ANSI prototype.
28292         * string/strchr.c: Remove unused #include of memcopy.h.
28293         (strchr): Use ANSI prototype.
28294         * string/strcmp.c: Remove unused #include of memcopy.h.
28295         (strcmp): Use ANSI prototype.
28296         * string/strcpy.c: Remove unused #include of memcopy.h.
28297         (strcpy): Use ANSI prototype.
28299 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28301         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
28302         * config.make.in (config-extra-cppflags): Set it from
28303         libc_extra_cppflags.
28304         * configure.ac (libc_extra_cflags): Make it accumulate over
28305         configure fragments.
28306         (libc_extra_cppflags): New flag.
28307         * configure. Regenerate.
28308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
28309         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
28310         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
28311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
28313         [BZ #16815]
28314         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
28315         result for FE_DOWNWARD rounding mode.
28316         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
28317         Likewise.
28318         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28320 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
28322         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
28323         in function argument name.
28325 2014-04-03  David Svoboda  <svoboda@cert.org>
28327         [BZ #5666]
28328         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
28329         explicitly.
28331 2014-04-03  Roland McGrath  <roland@hack.frob.com>
28333         * elf/dl-unmap-segments.h: New file.
28334         * sysdeps/generic/ldsodefs.h
28335         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
28336         * elf/dl-close.c: Include <dl-unmap-segments.h>.
28337         * elf/dl-fptr.c: Likewise.
28338         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
28339         * sysdeps/aarch64/tlsdesc.c: Likewise.
28340         * sysdeps/arm/tlsdesc.c: Likewise.
28341         * sysdeps/i386/tlsdesc.c: Likewise.
28342         * sysdeps/tile/dl-runtime.c: Likewise.
28343         * sysdeps/x86_64/tlsdesc.c: Likewise.
28344         * elf/dl-load.h: New file.
28345         * elf/dl-load.c: Include it.
28346         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
28347         Macros moved to dl-load.h.
28348         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
28349         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
28350         Use _dl_unmap_segments in place of __munmap.
28351         Break out segment-mapping loop into ...
28352         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
28354 2014-04-03  Will Newton  <will.newton@linaro.org>
28356         * elf/dl-lookup.c (do_lookup_x): Remove comment
28357         referring to nested function and move variable
28358         declarations down to before first use.
28360 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
28362         [BZ #16799]
28363         [BZ #16800]
28364         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
28365         with 0 numerator.
28366         * math/s_catanf.c (__catanf): Likewise.
28367         * math/s_catanh.c (__catanh): Likewise.
28368         * math/s_catanhf.c (__catanhf): Likewise.
28369         * math/s_catanhl.c (__catanhl): Likewise.
28370         * math/s_catanl.c (__catanl): Likewise.
28371         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
28372         by positive zero when computing -Inf result.
28373         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
28374         (catanh_test): Likewise.
28375         * sysdeps/i386/fpu/libm-test-ulps: Update.
28376         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28378         [BZ #16789]
28379         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
28380         instead of using underflowing value in computing result.
28381         * math/s_clog10.c (__clog10): Likewise.
28382         * math/s_clog10f.c (__clog10f): Likewise.
28383         * math/s_clog10l.c (__clog10l): Likewise.
28384         * math/s_clogf.c (__clogf): Likewise.
28385         * math/s_clogl.c (__clogl): Likewise.
28386         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
28387         (clog10_test): Likewise.
28388         * sysdeps/i386/fpu/libm-test-ulps: Update.
28389         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28391 2014-04-02  Alan Modra  <amodra@gmail.com>
28393         [BZ #16739]
28394         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
28395         output when value is near a power of two.  Use int64_t for lx and
28396         remove casts.  Use decimal rather than hex exponent constants.
28397         Don't use long double multiplication when double will suffice.
28398         * math/libm-test.inc (nextafter_test_data): Add tests.
28399         * NEWS: Add 16739 and 16786 to bug list.
28401         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
28403         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
28405 2014-04-01  Will Newton  <will.newton@linaro.org>
28407         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
28408         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
28410 2014-04-01  Florian Weimer  <fweimer@redhat.com>
28412         [BZ #13347]
28413         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
28414         * nptl/tst-setuid2.c: New file.
28415         * nptl/Makefile (xtests): Add tst-setuid2.
28417 2014-04-01  Alan Modra  <amodra@gmail.com>
28419         [BZ #16786]
28420         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
28422 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
28424         [BZ #6803]
28425         [BZ #6804]
28426         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
28427         set errno as appropriate.
28428         * math/w_scalbf.c (__scalbf): Likewise.
28429         * math/w_scalbl.c (__scalbl): Likewise.
28430         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
28431         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
28432         * math/libm-test.inc (scalb_test_data): Add errno expectations.
28433         Add more NaN tests.
28435         [BZ #16349]
28436         * math/w_atan2.c: Include <errno.h>.
28437         (__atan2): Set errno for result underflowing to zero.
28438         * math/w_atan2f.c: Include <errno.h>.
28439         (__atan2f): Set errno for result underflowing to zero.
28440         * math/w_atan2l.c: Include <errno.h>.
28441         (__atan2l): Set errno for result underflowing to zero.
28442         * math/auto-libm-test-in: Don't allow missing errno for some atan2
28443         tests.
28444         * math/auto-libm-test-out: Regenerated.
28446 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28448         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
28449         Encode instruction correctly in little endian.
28450         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
28451         Likewise.
28452         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
28453         Likewise.
28454         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
28455         Likewise.
28456         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
28457         Likewise.
28459 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
28461         [BZ #9894]
28462         * sysdeps/unix/sysv/linux/kernel-features.h
28463         [__sparc__ && !__arch64__ && !__sparc_v9__]
28464         (__ASSUME_SET_ROBUST_LIST): Do not define.
28465         [__sparc__ && !__arch64__ && !__sparc_v9__]
28466         (__ASSUME_FUTEX_LOCK_PI): Likewise.
28467         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
28468         Likewise.
28469         * sysdeps/unix/sysv/linux/arm/kernel-features.h
28470         (__ASSUME_FUTEX_LOCK_PI): Undefine.
28471         (__ASSUME_REQUEUE_PI): Likewise.
28472         (__ASSUME_SET_ROBUST_LIST): Likewise.
28473         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
28474         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
28475         Undefine.
28476         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28477         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
28478         Likewise.
28479         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
28480         Likewise.
28481         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
28482         Likewise.
28483         * sysdeps/unix/sysv/linux/mips/kernel-features.h
28484         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
28485         Undefine.
28486         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
28487         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
28488         Likewise.
28490         [BZ #16648]
28491         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28492         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
28493         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
28495 2014-03-31  Will Newton  <will.newton@linaro.org>
28497         * benchtests/Makefile (bench): Add ffs and ffsll to list
28498         of tests.
28499         * benchtests/ffs-inputs: New file.
28500         * benchtests/ffsll-inputs: Likewise.
28502 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
28504         [BZ #16770]
28505         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
28506         too large before casting to int.
28507         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
28508         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
28509         * math/libm-test.inc (scalb_test_data): Add more tests.
28511 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
28513         * benchtests/Makefile (DETAILED_OPT): New make option.
28514         (bench-func): Run benchmark program with -d if DETAILED_OPT is
28515         set.
28516         * benchtests/bench-skeleton.c: Include stdbool.h.
28517         (main): Store and print timings per input.
28518         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
28519         member to each argument value.
28520         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
28521         (_print_arg_data): Initialize per-input timing to 0.
28523         * benchtests/Makefile (timing-type): New binary.
28524         (bench-clean): Also remove bench-timing-type.
28525         (bench): New target for timing-type.
28526         (bench-func): Print output in JSON format.
28527         * benchtests/bench-skeleton.c (main): Print output in JSON
28528         format.
28529         * benchtests/bench-timing-type.c: New file.
28530         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
28531         (TIMING_PRINT_STATS): Remove.
28532         * benchtests/scripts/bench.py (_print_arg_data): Store variant
28533         name separately.
28535         * benchtests/bench-modf.c: Remove.
28536         * benchtests/modf-inputs: New inputs file.
28538 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
28540         [BZ #16362]
28541         * math/s_clog10.c (M_PI_LOG10E): New macro.
28542         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
28543         imaginary parts are 0.
28544         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
28545         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
28546         imaginary parts are 0.
28547         * math/s_clog10l.c (M_PI_LOG10El): New macro.
28548         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
28549         imaginary parts are 0.
28550         * math/libm-test.inc (clog10_test_data): Update expected results
28551         for when real and imaginary parts are 0.
28553 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
28555         * elf/dl-load.c: Finish conversion of __builtin_expect into
28556         __glibc_{un}likely.
28558 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
28560         [BZ #16348]
28561         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
28562         1+x for argument with exponent below -67.
28563         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
28564         Likewise.
28565         * math/auto-libm-test-in: Add more tests of exp.
28566         * math/auto-libm-test-out: Regenerated.
28568 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
28570         [BZ #16759]
28571         * inet/getnetgrent_r.c (get_nonempty_val): New function.
28572         (nscd_getnetgrent): Use it.
28574         [BZ #16760]
28575         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
28576         of stpcpy.
28578 2014-03-27  Andi Kleen  <ak@linux.intel.com>
28580         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
28581         (lll_robust_lock, lll_cond_lock, lll_timedlock)
28582         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
28583         (lll_robust_unlock): Remove out of line section. Use cfi
28584         intrinsics.
28585         (LLL_STUB_UNWIND_INFO*): Remove.
28586         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
28587         (lll_robust_lock, lll_cond_lock, lll_timedlock)
28588         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
28589         (lll_robust_unlock): Remove out of line section. Use cfi
28590         intrinsics.
28591         (LLL_STUB_UNWIND_INFO*): Remove.
28593 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
28595         [BZ #16758]
28596         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
28597         blank values.
28599 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
28601         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
28603 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
28605         [BZ #16198]
28606         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
28607         fnstenv.
28608         * math/test-fenv-preserve.c: New file.
28609         * math/Makefile (tests): Add test-fenv-preserve.
28611 2014-03-26  Will Newton <will.newton@linaro.org>
28613         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
28615 2014-03-25  Roland McGrath  <roland@hack.frob.com>
28617         * scripts/versionlist.awk: Partition the version sets and emit all
28618         GLIBC_* (sorted) before all others (sorted).
28620 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
28622         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
28623         GLIBC_2.2.5 version.
28625 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28627         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
28628         calls.
28630         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
28631         previous change.
28633         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28635 2014-03-25  Andreas Schwab  <schwab@suse.de>
28637         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
28638         label to be used after in6ailist is initialized.
28640 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28642         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
28643         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
28645 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
28647         [BZ #16357]
28648         [BZ #16599]
28649         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
28650         min_plus_half.
28651         (fp_formats): Update initializers.
28652         (init_fp_formats): Initialize new field.
28653         (output_for_one_input_case): Allow underflow for results up to
28654         min_plus_half.
28655         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
28656         * math/auto-libm-test-in: Don't mark some underflows from asin and
28657         atanh as spurious.
28658         * math/auto-libm-test-out: Regenerated.
28659         * sysdeps/i386/fpu/libm-test-ulps: Update.
28660         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28662 2014-03-25  Andreas Schwab  <schwab@suse.de>
28664         * libio/Makefile (tst-ftell-partial-wide-ENV)
28665         (tst-ftell-active-handler-ENV): Define.
28667 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
28669         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
28671 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
28673         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
28675 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
28677         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
28678         * sysdeps/x86_64/fpu/multiarch/e_exp.c
28679         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
28681 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
28683         [BZ #16634]
28684         * elf/dl-load.c (open_verify): Add mode parameter.
28685         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
28686         (open_path): Change from boolean 'secure' to complete flag 'mode'
28687         (_dl_map_object): Adjust.
28688         * elf/Makefile (tests): Add tst-dlopen-aout.
28689         * elf/tst-dlopen-aout.c: New test.
28691 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
28693         [BZ #16714]
28694         * sysdeps/unix/sysv/linux/s390/bits/stat.h
28695         (struct stat): Rename member pad0 to __glibc_reserved0.
28697         [BZ #16712]
28698         * sysdeps/s390/s390-32/bits/wordsize.h
28699         (__WORDSIZE32_SIZE_ULONG): New define.
28700         * sysdeps/s390/s390-64/bits/wordsize.h
28701         (__WORDSIZE32_SIZE_ULONG): Likewise.
28702         * sysdeps/generic/stdint.h (SIZE_MAX):
28703         Define as UL if __WORDSIZE32_SIZE_ULONG.
28705         [BZ #16713]
28706         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
28707         (__glibc_reserved0): New variable.
28708         (sa_flags): Change type to int.
28710         * posix/Makefile (before-compile): Use += before-compile instead
28711         of a :=.
28713         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
28714         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
28716 2014-03-20  Andreas Schwab  <schwab@suse.de>
28718         [BZ #16743]
28719         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
28720         non-matching result from nscd.
28722 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
28724         * scripts/bench.py: Moved to ...
28725         * benchtests/scripts/bench.py: ... here.
28726         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
28728 2014-03-24  Andreas Schwab  <schwab@suse.de>
28730         [BZ #16002]
28731         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
28732         alloca_account and account alloca use for struct in6ailist.
28734 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
28736         [BZ #16284]
28737         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
28738         rounding mode to recompute results that overflow to infinity or
28739         underflow to zero.
28740         * math/auto-libm-test-in: Don't mark tests as expected to fail for
28741         bug 16284.
28742         * math/auto-libm-test-out: Regenerated.
28743         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
28744         (ccosh_test): Likewise.
28745         (csin_test_data): Use plus_oflow.
28746         (csin_test): Use ALL_RM_TEST.
28747         (csinh_test_data): Use plus_oflow.
28748         (csinh_test): Use ALL_RM_TEST.
28749         * sysdeps/i386/fpu/libm-test-ulps: Update.
28750         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28752 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
28754         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
28755         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
28756         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
28758         [BZ #16731]
28759         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
28760         when x - 1 is zero.
28761         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
28762         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
28763         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
28764         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
28765         argument is 1.
28766         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
28767         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
28768         zero.
28769         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
28770         * sysdeps/i386/fpu/libm-test-ulps: Update.
28771         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28773 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28775         * scripts/bench.pl: Remove file.
28776         * scripts/bench.py: New benchmark script.
28777         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
28778         * benchtests/README: Mention python dependency.
28779         * scripts/pylintrc: New file.
28780         * scripts/pylint: New file.
28782         * bits/mathdef.h: Use #ifdef instead of #if.
28783         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
28784         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
28785         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
28786         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
28787         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
28788         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
28790 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28791             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
28793         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
28794         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
28795         and strpbrk-ppc64 objects.
28796         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28797         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
28798         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
28799         multiarch strpbrk for POWER7.
28800         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
28801         multiarch strpbrk for PPC64.
28802         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
28803         ifunc selector.
28804         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
28805         strpbrk for POWER7.
28807 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
28809         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
28810         (atan_test): Likewise.
28811         (atanh_test_data): Use NO_TEST_INLINE for two tests.
28812         (atanh_test): Use ALL_RM_TEST.
28813         (atan2_test_data): Likewise.
28814         (cabs_test): Likewise.
28815         (cacosh_test): Likewise.
28816         (carg_test): Likewise.
28817         (casin_test): Likewise.
28818         (casinh_test): Likewise.
28819         (cbrt_test): Likewise.
28820         (csqrt_test): Likewise.
28821         (erf_test): Likewise.
28822         (erfc_test): Likewise.
28823         (pow10_test): Likewise.
28824         (exp2_test): Likewise.
28825         (hypot_test): Likewise.
28826         (j0_test): Likewise.
28827         (j1_test): Likewise.
28828         (lgamma_test): Likewise.
28829         (gamma_test): Likewise.
28830         (sincos_test): Likewise.
28831         (tanh_test): Likewise.
28832         (y0_test): Likewise.
28833         (y1_test): Likewise.
28834         * sysdeps/i386/fpu/libm-test-ulps: Update.
28835         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28837 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28839         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
28840         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
28841         and strcspn-ppc64 objects.
28842         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28843         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
28844         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
28845         multiarch strcspn for POWER7.
28846         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
28847         multiarch strcspn for PPC64.
28848         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
28849         ifunc selector.
28850         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
28851         strcspn for POWER7.
28853 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
28855         * math/gen-libm-test.pl (generate_testfile): Expect only function
28856         name as argument to AUTO_TESTS_* and pass results for all rounding
28857         modes to parse_args.
28858         (parse_auto_input): Separate inputs of automatic tests from
28859         outputs before storing in %auto_tests.
28860         * math/libm-test.inc (acos_test_data): Update call to
28861         AUTO_TESTS_f_f.
28862         (acos_test): Use ALL_RM_TEST.
28863         (acos_tonearest_test_data): Remove.
28864         (acos_test_tonearest): Likewise.
28865         (acos_towardzero_test_data): Likewise.
28866         (acos_test_towardzero): Likewise.
28867         (acos_downward_test_data): Likewise.
28868         (acos_test_downward): Likewise.
28869         (acos_upward_test_data): Likewise.
28870         (acos_test_upward): Likewise.
28871         (acosh_test_data): Update call to AUTO_TESTS_f_f.
28872         (asin_test_data): Likewise.
28873         (asin_test): Use ALL_RM_TEST.
28874         (asin_tonearest_test_data): Remove.
28875         (asin_test_tonearest): Likewise.
28876         (asin_towardzero_test_data): Likewise.
28877         (asin_test_towardzero): Likewise.
28878         (asin_downward_test_data): Likewise.
28879         (asin_test_downward): Likewise.
28880         (asin_upward_test_data): Likewise.
28881         (asin_test_upward): Likewise.
28882         (asinh_test_data): Update call to AUTO_TESTS_f_f.
28883         (atan_test_data): Likewise.
28884         (atanh_test_data): Likewise.
28885         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
28886         (cabs_test_data): Update call to AUTO_TESTS_c_f.
28887         (carg_test_data): Likewise.
28888         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
28889         (ccos_test_data): Update call to AUTO_TESTS_c_c.
28890         (ccosh_test_data): Likewise.
28891         (cexp_test_data): Likewise.
28892         (clog_test_data): Likewise.
28893         (clog10_test_data): Likewise.
28894         (cos_test_data): Update call to AUTO_TESTS_f_f.
28895         (cos_test): Use ALL_RM_TEST.
28896         (cos_tonearest_test_data): Remove.
28897         (cos_test_tonearest): Likewise.
28898         (cos_towardzero_test_data): Likewise.
28899         (cos_test_towardzero): Likewise.
28900         (cos_downward_test_data): Likewise.
28901         (cos_test_downward): Likewise.
28902         (cos_upward_test_data): Likewise.
28903         (cos_test_upward): Likewise.
28904         (cosh_test_data): Update call to AUTO_TESTS_f_f.
28905         (cosh_test): Use ALL_RM_TEST.
28906         (cosh_tonearest_test_data): Remove.
28907         (cosh_test_tonearest): Likewise.
28908         (cosh_towardzero_test_data): Likewise.
28909         (cosh_test_towardzero): Likewise.
28910         (cosh_downward_test_data): Likewise.
28911         (cosh_test_downward): Likewise.
28912         (cosh_upward_test_data): Likewise.
28913         (cosh_test_upward): Likewise.
28914         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
28915         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
28916         (ctan_test_data): Likewise.
28917         (ctan_test): Use ALL_RM_TEST.
28918         (ctan_tonearest_test_data): Remove.
28919         (ctan_test_tonearest): Likewise.
28920         (ctan_towardzero_test_data): Likewise.
28921         (ctan_test_towardzero): Likewise.
28922         (ctan_downward_test_data): Likewise.
28923         (ctan_test_downward): Likewise.
28924         (ctan_upward_test_data): Likewise.
28925         (ctan_test_upward): Likewise.
28926         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
28927         (ctanh_test): Use ALL_RM_TEST.
28928         (ctanh_tonearest_test_data): Remove.
28929         (ctanh_test_tonearest): Likewise.
28930         (ctanh_towardzero_test_data): Likewise.
28931         (ctanh_test_towardzero): Likewise.
28932         (ctanh_downward_test_data): Likewise.
28933         (ctanh_test_downward): Likewise.
28934         (ctanh_upward_test_data): Likewise.
28935         (ctanh_test_upward): Likewise.
28936         (erf_test_data): Update call to AUTO_TESTS_f_f.
28937         (erfc_test_data): Likewise.
28938         (exp_test_data): Likewise.
28939         (exp_test): Use ALL_RM_TEST.
28940         (exp_tonearest_test_data): Remove.
28941         (exp_test_tonearest): Likewise.
28942         (exp_towardzero_test_data): Likewise.
28943         (exp_test_towardzero): Likewise.
28944         (exp_downward_test_data): Likewise.
28945         (exp_test_downward): Likewise.
28946         (exp_upward_test_data): Likewise.
28947         (exp_test_upward): Likewise.
28948         (exp10_test_data): Update call to AUTO_TESTS_f_f.
28949         (exp10_test): Use ALL_RM_TEST.
28950         (exp10_tonearest_test_data): Remove.
28951         (exp10_test_tonearest): Likewise.
28952         (exp10_towardzero_test_data): Likewise.
28953         (exp10_test_towardzero): Likewise.
28954         (exp10_downward_test_data): Likewise.
28955         (exp10_test_downward): Likewise.
28956         (exp10_upward_test_data): Likewise.
28957         (exp10_test_upward): Likewise.
28958         (exp2_test_data): Update call to AUTO_TESTS_f_f.
28959         (expm1_test_data): Likewise.
28960         (expm1_test): Use ALL_RM_TEST.
28961         (expm1_tonearest_test_data): Remove.
28962         (expm1_test_tonearest): Likewise.
28963         (expm1_towardzero_test_data): Likewise.
28964         (expm1_test_towardzero): Likewise.
28965         (expm1_downward_test_data): Likewise.
28966         (expm1_test_downward): Likewise.
28967         (expm1_upward_test_data): Likewise.
28968         (expm1_test_upward): Likewise.
28969         (fma_test_data): Update call to AUTO_TESTS_fff_f.
28970         (fma_test): Use ALL_RM_TEST.
28971         (fma_towardzero_test_data): Remove.
28972         (fma_test_towardzero): Likewise.
28973         (fma_downward_test_data): Likewise.
28974         (fma_test_downward): Likewise.
28975         (fma_upward_test_data): Likewise.
28976         (fma_test_upward): Likewise.
28977         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
28978         (j0_test_data): Update call to AUTO_TESTS_f_f.
28979         (j1_test_data): Likewise.
28980         (jn_test_data): Update call to AUTO_TESTS_if_f.
28981         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
28982         (log_test_data): Update call to AUTO_TESTS_f_f.
28983         (log10_test_data): Likewise.
28984         (log1p_test_data): Likewise.
28985         (log2_test_data): Likewise.
28986         (pow_test_data): Update call to AUTO_TESTS_ff_f.
28987         (pow_tonearest_test_data): Likewise.
28988         (sin_test_data): Update call to AUTO_TESTS_f_f.
28989         (sin_test): Use ALL_RM_TEST.
28990         (sin_tonearest_test_data): Remove.
28991         (sin_test_tonearest): Likewise.
28992         (sin_towardzero_test_data): Likewise.
28993         (sin_test_towardzero): Likewise.
28994         (sin_downward_test_data): Likewise.
28995         (sin_test_downward): Likewise.
28996         (sin_upward_test_data): Likewise.
28997         (sin_test_upward): Likewise.
28998         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
28999         (sinh_test_data): Update call to AUTO_TESTS_f_f.
29000         (sinh_test): Use ALL_RM_TEST.
29001         (sinh_tonearest_test_data): Remove.
29002         (sinh_test_tonearest): Likewise.
29003         (sinh_towardzero_test_data): Likewise.
29004         (sinh_test_towardzero): Likewise.
29005         (sinh_downward_test_data): Likewise.
29006         (sinh_test_downward): Likewise.
29007         (sinh_upward_test_data): Likewise.
29008         (sinh_test_upward): Likewise.
29009         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
29010         (sqrt_test): Use ALL_RM_TEST.
29011         (sqrt_tonearest_test_data): Remove.
29012         (sqrt_test_tonearest): Likewise.
29013         (sqrt_towardzero_test_data): Likewise.
29014         (sqrt_test_towardzero): Likewise.
29015         (sqrt_downward_test_data): Likewise.
29016         (sqrt_test_downward): Likewise.
29017         (sqrt_upward_test_data): Likewise.
29018         (sqrt_test_upward): Likewise.
29019         (tan_test_data): Update call to AUTO_TESTS_f_f.
29020         (tan_test): Use ALL_RM_TEST.
29021         (tan_tonearest_test_data): Remove.
29022         (tan_test_tonearest): Likewise.
29023         (tan_towardzero_test_data): Likewise.
29024         (tan_test_towardzero): Likewise.
29025         (tan_downward_test_data): Likewise.
29026         (tan_test_downward): Likewise.
29027         (tan_upward_test_data): Likewise.
29028         (tan_test_upward): Likewise.
29029         (tanh_test_data): Update call to AUTO_TESTS_f_f.
29030         (tgamma_test_data): Likewise.
29031         (y0_test_data): Likewise.
29032         (y1_test_data): Likewise.
29033         (yn_test_data): Update call to AUTO_TESTS_if_f.
29034         (main): Do not call removed functions.
29036 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
29038         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
29039         (ldexp_test_data): Remove.
29040         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
29041         scalbn_test_data.
29042         (scalb_test): Use ALL_RM_TEST.
29044 2014-03-19  Andreas Schwab  <schwab@suse.de>
29046         * nscd/nscd.service: Also invalidate netgroup cache on reload.
29048 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
29050         [BZ #16649]
29051         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
29052         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
29053         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
29054         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29055         (__ASSUME_PREADV): Undefine.
29056         (__ASSUME_PWRITEV): Likewise.
29058 2014-03-18  Roland McGrath  <roland@hack.frob.com>
29060         * bits/mman-linux.h: Add comment about non-Linux use.
29061         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
29062         bits/mman-linux.h resting place.
29064         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
29065         * bits/mman-linux.h: ... here.
29067 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29069         * conform/conformtest.pl: Add standard definition when calling C
29070         preprocessor on data files.
29071         (checknamespace): Remove unused variable.
29073 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
29075         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
29076         minus_oflow, plus_uflow and minus_uflow in expected results.
29077         * math/libm-test.inc (scalbn_test_data): Add more tests of
29078         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
29079         minus_uflow.
29080         (scalbn_test): Use ALL_RM_TEST.
29081         (scalbln_test_data): Add more tests of negative arguments.  Use
29082         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
29083         (scalbln_test): Use ALL_RM_TEST.
29085 2014-03-18  Roland McGrath  <roland@hack.frob.com>
29087         * scripts/abilist.awk: Ignore symbols marked with .hidden.
29089 2014-03-18  Will Newton  <will.newton@linaro.org>
29091         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
29092         inaccurate comment.
29094 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
29096         * Makerules [!subdir] (check-abi): Exit with error status if a
29097         test failed.
29099 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
29101         * math/libm-test.inc (nearbyint_test_data): Include all tests used
29102         for rint.  Include results for all rounding modes.
29103         (nearbyint_test): Use ALL_RM_TEST.
29104         (rint_test_data): Include all tests used for nearbyint.
29106 2014-03-17  Will Newton  <will.newton@linaro.org>
29108         * nptl/sysdeps/pthread/pthread.h: Revert previous
29109         change.
29111         * sysdeps/generic/ldsodefs.h: Revert previous
29112         change.
29114         * libio/genops.c: Revert previous change.
29115         * libio/libioP.h: Likewise.
29116         * stdio-common/vfprintf.c: Likewise.
29118         * sysdeps/generic/math_private.h: Revert previous
29119         change.
29121         * sysdeps/generic/math_private.h: Check whether
29122         HAVE_RM_CTX is defined with #ifdef rather
29123         than #if.
29125         * argp/argp-fmtstream.h: Check whether
29126         __STRICT_ANSI__ is defined with #ifdef rather
29127         than #if.
29128         * argp/argp.h: Likewise.
29130         * libio/genops.c: Check whether
29131         _IO_JUMPS_OFFSET is defined with #ifdef rather
29132         than #if.
29133         * libio/libioP.h: Likewise.
29134         * stdio-common/vfprintf.c: Likewise.
29136         * sysdeps/generic/ldsodefs.h: Check whether
29137         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
29138         than #if.
29140         * nptl/sysdeps/pthread/pthread.h: Check
29141         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
29142         its value.
29144 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
29146         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
29147         setting O_APPEND.
29148         * libio/tst-ftell-active-handler.c (do_append_test): Add a
29149         test case.
29151         [BZ #16680]
29152         * libio/fileops.c (_IO_file_open): Seek to end of file but
29153         don't cache the offset.
29154         (get_file_offset): Remove function.
29155         (do_ftell): Use cached offset when available.
29156         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
29157         don't cache the offset.
29158         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
29159         case.
29160         (do_one_test): Call it.
29161         (do_ftell_test): Fix up expected old offset for a+ mode.
29162         * libio/wfileops.c (do_ftell_wide): Used cached offset when
29163         available.
29165         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
29166         up test status with function return status.
29167         (do_write_test): Likewise.
29168         (do_append_test): Likewise.
29170         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
29171         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
29172         Remove.
29174 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
29176         * math/gen-libm-test.pl (parse_args): Handle results specified for
29177         each rounding mode separately.
29178         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
29179         tests and results from lrint_tonearest_test_data,
29180         lrint_towardzero_test_data, lrint_downward_test_data and
29181         lrint_upward_test_data.
29182         (lrint_test): Use ALL_RM_TEST.
29183         (lrint_tonearest_test_data): Remove.
29184         (lrint_test_tonearest): Likewise.
29185         (lrint_towardzero_test_data): Likewise.
29186         (lrint_test_towardzero): Likewise.
29187         (lrint_downward_test_data): Likewise.
29188         (lrint_test_downward): Likewise.
29189         (lrint_upward_test_data): Likewise.
29190         (lrint_test_upward): Likewise.
29191         (llrint_test_data): Merge in per-rounding-mode tests and results
29192         from llrint_tonearest_test_data, llrint_towardzero_test_data,
29193         llrint_downward_test_data and llrint_upward_test_data.
29194         (llrint_test): Use ALL_RM_TEST.
29195         (llrint_tonearest_test_data): Remove.
29196         (llrint_test_tonearest): Likewise.
29197         (llrint_towardzero_test_data): Likewise.
29198         (llrint_test_towardzero): Likewise.
29199         (llrint_downward_test_data): Likewise.
29200         (llrint_test_downward): Likewise.
29201         (llrint_upward_test_data): Likewise.
29202         (llrint_test_upward): Likewise.
29203         (rint_test_data): Merge in per-rounding-mode tests and results
29204         from rint_tonearest_test_data, rint_towardzero_test_data,
29205         rint_downward_test_data and rint_upward_test_data.  Add
29206         per-rounding-mode results for tests not in those arrays.
29207         (rint_test): Use ALL_RM_TEST.
29208         (rint_tonearest_test_data): Remove.
29209         (rint_test_tonearest): Likewise.
29210         (rint_towardzero_test_data): Likewise.
29211         (rint_test_towardzero): Likewise.
29212         (rint_downward_test_data): Likewise.
29213         (rint_test_downward): Likewise.
29214         (rint_upward_test_data): Likewise.
29215         (rint_test_upward): Likewise.
29216         (main): Don't call removed functions.
29218 2014-03-14  Roland McGrath  <roland@hack.frob.com>
29220         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
29221         "Compiled on ..." crapola.  It is anti-useful.
29223 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
29225         * scripts/evaluate-test.sh: Handle fourth argument to determine
29226         whether test run should stop on failure.
29227         * Makeconfig (stop-on-test-failure): New variable.
29228         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
29229         $(stop-on-test-failure).
29230         * Makefile (tests): Give a summary of results from testing and
29231         exit with failure status if they include an ERROR or FAIL.
29232         (xtests): Likewise.
29233         * manual/install.texi (Configuring and compiling): Mention
29234         stop-on-test-failure=y.
29235         * INSTALL: Regenerated.
29237 2014-03-14  Roland McGrath  <roland@hack.frob.com>
29239         * scripts/versionlist.awk: New file.
29240         * Makerules [$(build-shared) = yes]
29241         (postclean-generated): Add Versions.def, not Versions.def.v and
29242         Versions.def.v.i.
29243         ($(common-objpfx)Versions.def.v.i): Target removed.
29244         ($(common-objpfx)Versions.def): New target.
29245         ($(common-objpfx)Versions.all): Depend on that rather that
29246         $(common-objpfx)Versions.def.v.
29247         * Versions.def: File removed.
29249         * Makeconfig (+gccwarn): Add -Wundef.
29250         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
29251         a dl-sysdep.h breaking its contract.
29252         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
29253         * include/stackinfo.h: New file.
29254         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
29255         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
29256         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
29257         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
29258         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
29259         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
29260         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
29261         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
29262         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
29263         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
29264         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
29265         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
29266         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
29267         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
29268         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
29270 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29272         [BZ #16707]
29273         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
29274         implementation.
29275         * math/libm-test.inc (round_test_data): Add more tests.
29277         [BZ #16706]
29278         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
29279         implementation.
29280         * math/libm-test.inc (nearbyint_test_data): Add more tests.
29282         [BZ #16701]
29283         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
29284         implementation.
29285         * math/libm-test.inc (ceil_test_data): Add more tests.
29287         * math/libm-test.inc (trunc_test_data): Add more tests related to
29288         BZ#16414.
29290 2014-03-14  Roland McGrath  <roland@hack.frob.com>
29292         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
29293         with #if rather than #ifdef.
29294         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
29296 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
29298         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
29299         first.  Disable AVX-512 GCC support if assembler doesn't support
29300         it.
29301         * sysdeps/x86_64/configure: Regenerated.
29303 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
29305         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
29306         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
29307         (__old_pthread_attr_setstack): Likewise.
29308         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
29309         [!_STACK_GROWS_DOWN]: Likewise.
29311 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
29313         * config.make.in (have-bash2): Delete.
29314         * configure.ac (libc_cv_have_bash2): Delete.
29315         * configure: Regenerate.
29316         * elf/Makefile (common-ldd-rewrite): Rename to ...
29317         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
29318         (sh-ldd-rewrite): Delete.
29319         (bash-ldd-rewrite): Delete.
29320         (have-bash2): Delete checks.
29321         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
29322         ldd-rewrite.
29324         * config.make.in (have-ksh): Delete.
29325         (KSH): Delete.
29326         * configure.ac (libc_cv_have_ksh): Delete.
29327         * configure: Regenerate.
29329         * elf/Makefile: Delete $(have-ksh) check.
29330         ($(objpfx)sotruss): Change KSH to BASH.
29331         * elf/sotruss.ksh: Rename to ...
29332         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
29333         function style to match POSIX.  Drop ksh vim mode setting.
29335         * manual/time.texi (Specifying the Time Zone with TZ): Change
29336         Tuesday to Thursday.
29338         * debug/tst-longjmp_chk2.c: Update header comment.
29339         (stackoverflow_handler): Add comment.  Call assert on pass value.
29341 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
29343         [BZ #16194]
29344         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
29345         (HAVE_AVX512_ASM_SUPPORT): Likewise.
29346         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
29347         (La_x86_64_vector): Add zmm.
29348         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
29349         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
29350         ($(objpfx)tst-audit10): New target.
29351         ($(objpfx)tst-audit10.out): Likewise.
29352         (tst-audit10-ENV): New.
29353         (AVX512-CFLAGS): Likewise.
29354         (CFLAGS-tst-audit10.c): Likewise.
29355         (CFLAGS-tst-auditmod10a.c): Likewise.
29356         (CFLAGS-tst-auditmod10b.c): Likewise.
29357         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
29358         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
29359         * sysdeps/x86_64/configure: Regenerated.
29360         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
29361         AVX-512 zmm register support.
29362         (_dl_x86_64_save_sse): Likewise.
29363         (_dl_x86_64_restore_sse): Likewise.
29364         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
29365         size vector registers.
29366         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
29367         (ZMM_SIZE): Likewise.
29368         * sysdeps/x86_64/tst-audit10.c: New file.
29369         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
29370         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
29372 2014-03-13  Roland McGrath  <roland@hack.frob.com>
29374         * configure.ac (HAVE_EHDR_START): New check.
29375         * configure: Regenerated.
29376         * config.h.in (HAVE_EHDR_START): New #undef.
29377         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
29378         assuming the lowest-addressed segment maps the start of the file.
29380 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
29382         * INSTALL: Regenerated.
29384 2014-03-13  Will Newton  <will.newton@linaro.org>
29386         * manual/setjmp.texi (System V contexts): Improve
29387         clarity and grammar of documentation.
29389 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
29391         [BZ #16381]
29392         * elf/Makefile (tests): Add tst-pie2.
29393         (tests-pie): Add tst-pie2.
29394         * elf/tst-pie2.c: New file.
29395         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
29396         for ET_EXEC.
29397         * elf/rtld.c (map_doit): Load executable as lt_executable.
29398         (dl_main): Likewise.
29400 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
29402         [BZ #16642]
29403         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29404         (__ASSUME_PSELECT): Undefine.
29406 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29408         [BZ #16689]
29409         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
29410         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
29411         static build.
29412         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
29413         selector for static builds.
29415 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
29417         [BZ #16695]
29418         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
29419         key in the buffer.
29421 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29423         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
29424         IFUNC selector for static builds.
29426 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
29428         * sysdeps/mips/math_private.h [__mips_hard_float]
29429         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
29430         libc_feresetround_mips_ctx.
29431         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
29432         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
29433         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
29435         [BZ #16677]
29436         * math/s_nextafter.c (__nextafter): Do not return value from
29437         overflowing computation.
29438         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
29439         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
29440         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
29441         Likewise.
29442         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
29443         Likewise.
29444         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
29445         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
29447 2014-03-11  Roland McGrath  <roland@hack.frob.com>
29449         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
29450         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
29451         Move sfi_sp use from the load-multiple (that no longer sets sp) to
29452         the new mov targetting sp.
29454 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29456         [BZ #16683]
29457         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
29458         Define it for static builds as well.
29459         (NO_BZERO_IMPL): Likewise.
29461 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
29463         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
29464         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
29465         multiarch strspn for PPC64.
29466         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
29467         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
29468         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
29469         (__libc_ifunc_impl_list): Likewise.
29470         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
29471         multiarch optimizations
29472         * string/strspn.c (strspn): Using macro to redefine symbol name.
29474 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
29475             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29477         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
29478         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
29479         multiarch strncat for PPC64.
29480         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
29481         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
29482         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
29483         (__libc_ifunc_impl_list): Likewise.
29484         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
29485         multiarch optimizations
29487 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
29489         [BZ #16639]
29490         * nscd/nscd.service: Make service type forking.
29492 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29494         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
29495         sign in non default rounding modes.
29496         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
29498 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
29500         * math/libm-test.inc (ALL_RM_TEST): New macro.
29501         (ceil_test): Use ALL_RM_TEST.
29502         (cimag_test): Likewise.
29503         (conj_test): Likewise.
29504         (copysign_test): Likewise.
29505         (cproj_test): Likewise.
29506         (creal_test): Likewise.
29507         (fabs_test): Likewise.
29508         (floor_test): Likewise.
29509         (fmax_test): Likewise.
29510         (fmin_test): Likewise.
29511         (fmod_test): Likewise.
29512         (fpclassify_test): Likewise.
29513         (frexp_test): Likewise.
29514         (ilogb_test): Likewise.
29515         (isfinite_test): Likewise.
29516         (finite_test): Likewise.
29517         (isgreater_test): Likewise.
29518         (isgreaterequal_test): Likewise.
29519         (isinf_test): Likewise.
29520         (isless_test): Likewise.
29521         (islessequal_test): Likewise.
29522         (islessgreater_test): Likewise.
29523         (isnan_test): Likewise.
29524         (isnormal_test): Likewise.
29525         (issignaling_test): Likewise.
29526         (isunordered_test): Likewise.
29527         (logb_test): Likewise.
29528         (logb_downward_test_data): Remove.
29529         (logb_test_downward): Likewise.
29530         (lround_test): Use ALL_RM_TEST.
29531         (llround_test): Likewise.
29532         (modf_test): Likewise.
29533         (nexttoward_test): Likewise.
29534         (remainder_test): Likewise.
29535         (drem_test): Likewise.
29536         (remainder_tonearest_test_data): Likewise.
29537         (remainder_test_tonearest): Likewise.
29538         (drem_test_tonearest): Likewise.
29539         (remainder_towardzero_test_data): Likewise.
29540         (remainder_test_towardzero): Likewise.
29541         (drem_test_towardzero): Likewise.
29542         (remainder_downward_test_data): Likewise.
29543         (remainder_test_downward): Likewise.
29544         (drem_test_downward): Likewise.
29545         (remainder_upward_test_data): Likewise.
29546         (remainder_test_upward): Likewise.
29547         (drem_test_upward): Likewise.
29548         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
29549         (round_test): Use ALL_RM_TEST.
29550         (signbit_test): Likewise.
29551         (trunc_test): Likewise.
29552         (significand_test): Likewise.
29553         (main): Don't call removed functions.
29555 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
29557         [BZ #16674]
29558         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
29559         || __USE_XOPEN2K8].
29560         (ILL_ILLOPN): Likewise.
29561         (ILL_ILLADR): Likewise.
29562         (ILL_ILLTRP): Likewise.
29563         (ILL_PRVOPC): Likewise.
29564         (ILL_PRVREG): Likewise.
29565         (ILL_COPROC): Likewise.
29566         (ILL_BADSTK): Likewise.
29567         (FPE_INTDIV): Likewise.
29568         (FPE_INTOVF): Likewise.
29569         (FPE_FLTDIV): Likewise.
29570         (FPE_FLTOVF): Likewise.
29571         (FPE_FLTUND): Likewise.
29572         (FPE_FLTRES): Likewise.
29573         (FPE_FLTINV): Likewise.
29574         (FPE_FLTSUB): Likewise.
29575         (SEGV_MAPERR): Likewise.
29576         (SEGV_ACCERR): Likewise.
29577         (BUS_ADRALN): Likewise.
29578         (BUS_ADRERR): Likewise.
29579         (BUS_OBJERR): Likewise.
29580         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29581         (TRAP_TRACE): Likewise.
29582         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29583         __USE_XOPEN2K8].
29584         (CLD_KILLED): Likewise.
29585         (CLD_DUMPED): Likewise.
29586         (CLD_TRAPPED): Likewise.
29587         (CLD_STOPPED): Likewise.
29588         (CLD_CONTINUED): Likewise.
29589         (POLL_IN): Likewise.
29590         (POLL_OUT): Likewise.
29591         (POLL_MSG): Likewise.
29592         (POLL_ERR): Likewise.
29593         (POLL_PRI): Likewise.
29594         (POLL_HUP): Likewise.
29595         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
29596         Likewise.
29597         (ILL_ILLOPN): Likewise.
29598         (ILL_ILLADR): Likewise.
29599         (ILL_ILLTRP): Likewise.
29600         (ILL_PRVOPC): Likewise.
29601         (ILL_PRVREG): Likewise.
29602         (ILL_COPROC): Likewise.
29603         (ILL_BADSTK): Likewise.
29604         (FPE_INTDIV): Likewise.
29605         (FPE_INTOVF): Likewise.
29606         (FPE_FLTDIV): Likewise.
29607         (FPE_FLTOVF): Likewise.
29608         (FPE_FLTUND): Likewise.
29609         (FPE_FLTRES): Likewise.
29610         (FPE_FLTINV): Likewise.
29611         (FPE_FLTSUB): Likewise.
29612         (SEGV_MAPERR): Likewise.
29613         (SEGV_ACCERR): Likewise.
29614         (BUS_ADRALN): Likewise.
29615         (BUS_ADRERR): Likewise.
29616         (BUS_OBJERR): Likewise.
29617         (BUS_MCEERR_AR): Likewise.
29618         (BUS_MCEERR_AO): Likewise.
29619         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29620         (TRAP_TRACE): Likewise.
29621         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29622         __USE_XOPEN2K8].
29623         (CLD_KILLED): Likewise.
29624         (CLD_DUMPED): Likewise.
29625         (CLD_TRAPPED): Likewise.
29626         (CLD_STOPPED): Likewise.
29627         (CLD_CONTINUED): Likewise.
29628         (POLL_IN): Likewise.
29629         (POLL_OUT): Likewise.
29630         (POLL_MSG): Likewise.
29631         (POLL_ERR): Likewise.
29632         (POLL_PRI): Likewise.
29633         (POLL_HUP): Likewise.
29634         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
29635         (ILL_ILLOPN): Likewise.
29636         (ILL_ILLADR): Likewise.
29637         (ILL_ILLTRP): Likewise.
29638         (ILL_PRVOPC): Likewise.
29639         (ILL_PRVREG): Likewise.
29640         (ILL_COPROC): Likewise.
29641         (ILL_BADSTK): Likewise.
29642         (FPE_INTDIV): Likewise.
29643         (FPE_INTOVF): Likewise.
29644         (FPE_FLTDIV): Likewise.
29645         (FPE_FLTOVF): Likewise.
29646         (FPE_FLTUND): Likewise.
29647         (FPE_FLTRES): Likewise.
29648         (FPE_FLTINV): Likewise.
29649         (FPE_FLTSUB): Likewise.
29650         (SEGV_MAPERR): Likewise.
29651         (SEGV_ACCERR): Likewise.
29652         (BUS_ADRALN): Likewise.
29653         (BUS_ADRERR): Likewise.
29654         (BUS_OBJERR): Likewise.
29655         (BUS_MCEERR_AR): Likewise.
29656         (BUS_MCEERR_AO): Likewise.
29657         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29658         (TRAP_TRACE): Likewise.
29659         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29660         __USE_XOPEN2K8].
29661         (CLD_KILLED): Likewise.
29662         (CLD_DUMPED): Likewise.
29663         (CLD_TRAPPED): Likewise.
29664         (CLD_STOPPED): Likewise.
29665         (CLD_CONTINUED): Likewise.
29666         (POLL_IN): Likewise.
29667         (POLL_OUT): Likewise.
29668         (POLL_MSG): Likewise.
29669         (POLL_ERR): Likewise.
29670         (POLL_PRI): Likewise.
29671         (POLL_HUP): Likewise.
29672         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
29673         Likewise.
29674         (ILL_ILLOPN): Likewise.
29675         (ILL_ILLADR): Likewise.
29676         (ILL_ILLTRP): Likewise.
29677         (ILL_PRVOPC): Likewise.
29678         (ILL_PRVREG): Likewise.
29679         (ILL_COPROC): Likewise.
29680         (ILL_BADSTK): Likewise.
29681         (ILL_BADIADDR): Likewise.
29682         (ILL_BREAK): Likewise.
29683         (FPE_INTDIV): Likewise.
29684         (FPE_INTOVF): Likewise.
29685         (FPE_FLTDIV): Likewise.
29686         (FPE_FLTOVF): Likewise.
29687         (FPE_FLTUND): Likewise.
29688         (FPE_FLTRES): Likewise.
29689         (FPE_FLTINV): Likewise.
29690         (FPE_FLTSUB): Likewise.
29691         (FPE_DECOVF): Likewise.
29692         (FPE_DECDIV): Likewise.
29693         (FPE_DECERR): Likewise.
29694         (FPE_INVASC): Likewise.
29695         (FPE_INVDEC): Likewise.
29696         (SEGV_MAPERR): Likewise.
29697         (SEGV_ACCERR): Likewise.
29698         (SEGV_PSTKOVF): Likewise.
29699         (BUS_ADRALN): Likewise.
29700         (BUS_ADRERR): Likewise.
29701         (BUS_OBJERR): Likewise.
29702         (BUS_MCEERR_AR): Likewise.
29703         (BUS_MCEERR_AO): Likewise.
29704         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29705         (TRAP_TRACE): Likewise.
29706         (TRAP_BRANCH): Likewise.
29707         (TRAP_HWBKPT): Likewise.
29708         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29709         __USE_XOPEN2K8].
29710         (CLD_KILLED): Likewise.
29711         (CLD_DUMPED): Likewise.
29712         (CLD_TRAPPED): Likewise.
29713         (CLD_STOPPED): Likewise.
29714         (CLD_CONTINUED): Likewise.
29715         (POLL_IN): Likewise.
29716         (POLL_OUT): Likewise.
29717         (POLL_MSG): Likewise.
29718         (POLL_ERR): Likewise.
29719         (POLL_PRI): Likewise.
29720         (POLL_HUP): Likewise.
29721         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
29722         (ILL_ILLOPN): Likewise.
29723         (ILL_ILLADR): Likewise.
29724         (ILL_ILLTRP): Likewise.
29725         (ILL_PRVOPC): Likewise.
29726         (ILL_PRVREG): Likewise.
29727         (ILL_COPROC): Likewise.
29728         (ILL_BADSTK): Likewise.
29729         (FPE_INTDIV): Likewise.
29730         (FPE_INTOVF): Likewise.
29731         (FPE_FLTDIV): Likewise.
29732         (FPE_FLTOVF): Likewise.
29733         (FPE_FLTUND): Likewise.
29734         (FPE_FLTRES): Likewise.
29735         (FPE_FLTINV): Likewise.
29736         (FPE_FLTSUB): Likewise.
29737         (SEGV_MAPERR): Likewise.
29738         (SEGV_ACCERR): Likewise.
29739         (BUS_ADRALN): Likewise.
29740         (BUS_ADRERR): Likewise.
29741         (BUS_OBJERR): Likewise.
29742         (BUS_MCEERR_AR): Likewise.
29743         (BUS_MCEERR_AO): Likewise.
29744         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29745         (TRAP_TRACE): Likewise.
29746         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29747         __USE_XOPEN2K8].
29748         (CLD_KILLED): Likewise.
29749         (CLD_DUMPED): Likewise.
29750         (CLD_TRAPPED): Likewise.
29751         (CLD_STOPPED): Likewise.
29752         (CLD_CONTINUED): Likewise.
29753         (POLL_IN): Likewise.
29754         (POLL_OUT): Likewise.
29755         (POLL_MSG): Likewise.
29756         (POLL_ERR): Likewise.
29757         (POLL_PRI): Likewise.
29758         (POLL_HUP): Likewise.
29759         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
29760         (ILL_ILLOPN): Likewise.
29761         (ILL_ILLADR): Likewise.
29762         (ILL_ILLTRP): Likewise.
29763         (ILL_PRVOPC): Likewise.
29764         (ILL_PRVREG): Likewise.
29765         (ILL_COPROC): Likewise.
29766         (ILL_BADSTK): Likewise.
29767         (FPE_INTDIV): Likewise.
29768         (FPE_INTOVF): Likewise.
29769         (FPE_FLTDIV): Likewise.
29770         (FPE_FLTOVF): Likewise.
29771         (FPE_FLTUND): Likewise.
29772         (FPE_FLTRES): Likewise.
29773         (FPE_FLTINV): Likewise.
29774         (FPE_FLTSUB): Likewise.
29775         (SEGV_MAPERR): Likewise.
29776         (SEGV_ACCERR): Likewise.
29777         (BUS_ADRALN): Likewise.
29778         (BUS_ADRERR): Likewise.
29779         (BUS_OBJERR): Likewise.
29780         (BUS_MCEERR_AR): Likewise.
29781         (BUS_MCEERR_AO): Likewise.
29782         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29783         (TRAP_TRACE): Likewise.
29784         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29785         __USE_XOPEN2K8].
29786         (CLD_KILLED): Likewise.
29787         (CLD_DUMPED): Likewise.
29788         (CLD_TRAPPED): Likewise.
29789         (CLD_STOPPED): Likewise.
29790         (CLD_CONTINUED): Likewise.
29791         (POLL_IN): Likewise.
29792         (POLL_OUT): Likewise.
29793         (POLL_MSG): Likewise.
29794         (POLL_ERR): Likewise.
29795         (POLL_PRI): Likewise.
29796         (POLL_HUP): Likewise.
29797         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
29798         (ILL_ILLOPN): Likewise.
29799         (ILL_ILLADR): Likewise.
29800         (ILL_ILLTRP): Likewise.
29801         (ILL_PRVOPC): Likewise.
29802         (ILL_PRVREG): Likewise.
29803         (ILL_COPROC): Likewise.
29804         (ILL_BADSTK): Likewise.
29805         (FPE_INTDIV): Likewise.
29806         (FPE_INTOVF): Likewise.
29807         (FPE_FLTDIV): Likewise.
29808         (FPE_FLTOVF): Likewise.
29809         (FPE_FLTUND): Likewise.
29810         (FPE_FLTRES): Likewise.
29811         (FPE_FLTINV): Likewise.
29812         (FPE_FLTSUB): Likewise.
29813         (SEGV_MAPERR): Likewise.
29814         (SEGV_ACCERR): Likewise.
29815         (BUS_ADRALN): Likewise.
29816         (BUS_ADRERR): Likewise.
29817         (BUS_OBJERR): Likewise.
29818         (BUS_MCEERR_AR): Likewise.
29819         (BUS_MCEERR_AO): Likewise.
29820         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29821         (TRAP_TRACE): Likewise.
29822         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29823         __USE_XOPEN2K8].
29824         (CLD_KILLED): Likewise.
29825         (CLD_DUMPED): Likewise.
29826         (CLD_TRAPPED): Likewise.
29827         (CLD_STOPPED): Likewise.
29828         (CLD_CONTINUED): Likewise.
29829         (POLL_IN): Likewise.
29830         (POLL_OUT): Likewise.
29831         (POLL_MSG): Likewise.
29832         (POLL_ERR): Likewise.
29833         (POLL_PRI): Likewise.
29834         (POLL_HUP): Likewise.
29835         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
29836         (ILL_ILLOPN): Likewise.
29837         (ILL_ILLADR): Likewise.
29838         (ILL_ILLTRP): Likewise.
29839         (ILL_PRVOPC): Likewise.
29840         (ILL_PRVREG): Likewise.
29841         (ILL_COPROC): Likewise.
29842         (ILL_BADSTK): Likewise.
29843         (ILL_DBLFLT): Likewise.
29844         (ILL_HARDWALL): Likewise.
29845         (FPE_INTDIV): Likewise.
29846         (FPE_INTOVF): Likewise.
29847         (FPE_FLTDIV): Likewise.
29848         (FPE_FLTOVF): Likewise.
29849         (FPE_FLTUND): Likewise.
29850         (FPE_FLTRES): Likewise.
29851         (FPE_FLTINV): Likewise.
29852         (FPE_FLTSUB): Likewise.
29853         (SEGV_MAPERR): Likewise.
29854         (SEGV_ACCERR): Likewise.
29855         (BUS_ADRALN): Likewise.
29856         (BUS_ADRERR): Likewise.
29857         (BUS_OBJERR): Likewise.
29858         (BUS_MCEERR_AR): Likewise.
29859         (BUS_MCEERR_AO): Likewise.
29860         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29861         (TRAP_TRACE): Likewise.
29862         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29863         __USE_XOPEN2K8].
29864         (CLD_KILLED): Likewise.
29865         (CLD_DUMPED): Likewise.
29866         (CLD_TRAPPED): Likewise.
29867         (CLD_STOPPED): Likewise.
29868         (CLD_CONTINUED): Likewise.
29869         (POLL_IN): Likewise.
29870         (POLL_OUT): Likewise.
29871         (POLL_MSG): Likewise.
29872         (POLL_ERR): Likewise.
29873         (POLL_PRI): Likewise.
29874         (POLL_HUP): Likewise.
29875         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
29876         (ILL_ILLOPN): Likewise.
29877         (ILL_ILLADR): Likewise.
29878         (ILL_ILLTRP): Likewise.
29879         (ILL_PRVOPC): Likewise.
29880         (ILL_PRVREG): Likewise.
29881         (ILL_COPROC): Likewise.
29882         (ILL_BADSTK): Likewise.
29883         (FPE_INTDIV): Likewise.
29884         (FPE_INTOVF): Likewise.
29885         (FPE_FLTDIV): Likewise.
29886         (FPE_FLTOVF): Likewise.
29887         (FPE_FLTUND): Likewise.
29888         (FPE_FLTRES): Likewise.
29889         (FPE_FLTINV): Likewise.
29890         (FPE_FLTSUB): Likewise.
29891         (SEGV_MAPERR): Likewise.
29892         (SEGV_ACCERR): Likewise.
29893         (BUS_ADRALN): Likewise.
29894         (BUS_ADRERR): Likewise.
29895         (BUS_OBJERR): Likewise.
29896         (BUS_MCEERR_AR): Likewise.
29897         (BUS_MCEERR_AO): Likewise.
29898         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29899         (TRAP_TRACE): Likewise.
29900         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29901         __USE_XOPEN2K8].
29902         (CLD_KILLED): Likewise.
29903         (CLD_DUMPED): Likewise.
29904         (CLD_TRAPPED): Likewise.
29905         (CLD_STOPPED): Likewise.
29906         (CLD_CONTINUED): Likewise.
29907         (POLL_IN): Likewise.
29908         (POLL_OUT): Likewise.
29909         (POLL_MSG): Likewise.
29910         (POLL_ERR): Likewise.
29911         (POLL_PRI): Likewise.
29912         (POLL_HUP): Likewise.
29913         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
29914         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
29916         [BZ #16670]
29917         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
29918         before #include of <time.h>.
29919         [!__USE_XOPEN2K] (__need_timespec): Likewise.
29920         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
29921         (test-xfail-UNIX98/sched.h/conform): Likewise.
29923 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
29925         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
29926         error absence of trapping exception support.
29927         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
29929 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
29931         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
29932         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
29933         * timezone/Makefile (testdata): Move definition above include of
29934         Rules.
29935         (test-zones): New variable.
29936         (tests-special): Add zone files.
29937         (build-testdata): Use $(evaluate-test).
29939         * elf/Makefile (tests-special): Rename tests to end with .out.
29940         ($(objpfx)noload-mem): Likewise.
29941         ($(objpfx)tst-leaks1-mem): Likewise.
29942         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
29943         * iconv/Makefile (xtests-special): Change test-iconvconfig to
29944         $(objpfx)test-iconvconfig.out.
29945         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
29946         set -e inside subshell and redirect output to file.
29947         * iconvdata/Makefile (generated): Rename tests to end with .out.
29948         Correct type.
29949         (tests-special): Rename tests to end with .out.
29950         ($(objpfx)mtrace-tst-loading): Likewise.
29951         * intl/Makefile (generated): Likewise.
29952         (tests-special): Likewise.
29953         ($(objpfx)mtrace-tst-gettext): Likewise.
29954         * misc/Makefile (generated): Likewise.
29955         (tests-special): Likewise.
29956         ($(objpfx)tst-error1-mem): Likewise.
29957         * nptl/Makefile (tests-special): Likewise.
29958         ($(objpfx)tst-stack3-mem): Likewise.
29959         (generated): Likewise.
29960         * posix/Makefile (generated): Likewise.
29961         (tests-special): Likewise.
29962         (xtests-special): Likewise.
29963         ($(objpfx)tst-fnmatch-mem): Likewise.
29964         ($(objpfx)bug-regex2-mem): Likewise.
29965         ($(objpfx)bug-regex14-mem): Likewise.
29966         ($(objpfx)bug-regex21-mem): Likewise.
29967         ($(objpfx)bug-regex31-mem): Likewise.
29968         ($(objpfx)tst-vfork3-mem): Likewise.
29969         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
29970         ($(objpfx)tst-pcre-mem): Likewise.
29971         ($(objpfx)tst-boost-mem): Likewise.
29972         ($(objpfx)bug-ga2-mem): Likewise.
29973         ($(objpfx)bug-glob2-mem): Likewise.
29974         * resolv/Makefile (generate): Likewise.
29975         (tests-special): Likewise.
29976         (xtests-special): Likewise.
29977         (generated): Likewise.
29978         ($(objpfx)mtrace-tst-leaks): Likewise.
29979         ($(objpfx)mtrace-tst-leaks2): Likewise.
29981         * scripts/merge-test-results.sh: New file.
29982         * Makefile (tests-special-notdir): New variable.
29983         (tests): Run merge-test-results.sh.
29984         (xtests): Likewise.
29985         * Rules (tests-special-notdir): New variable.
29986         (xtests-special-notdir): Likewise.
29987         (tests): Run merge-test-results.sh
29988         (xtests): Likewise.
29990         * Makeconfig (test-xfail-name): New variable.
29991         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
29992         compute variable name for expected failures.
29993         * conform/Makefile (conformtest-headers-data): New variable.
29994         (conformtest-standards): Likewise.
29995         (conformtest-headers-ISO): Likewise.
29996         (conformtest-headers-ISO99): Likewise.
29997         (conformtest-headers-ISO11): Likewise.
29998         (conformtest-headers-POSIX): Likewise.
29999         (conformtest-headers-XPG3): Likewise.
30000         (conformtest-headers-XPG4): Likewise.
30001         (conformtest-headers-UNIX98): Likewise.
30002         (conformtest-headers-XOPEN2K): Likewise.
30003         (conformtest-headers-POSIX2008): Likewise.
30004         (conformtest-headers-XOPEN2K8): Likewise.
30005         (conformtest-header-list-base): Likewise.
30006         (conformtest-header-list-tests): Likewise.
30007         (conformtest-header-base): Likewise.
30008         (conformtest-header-tests): Likewise.
30009         (tests-special): Add $(conformtest-header-list-tests).  If
30010         [$(fast-check) && !$(cross-compiling)], add
30011         $(conformtest-header-tests) instead of
30012         $(objpfx)run-conformtest.out.
30013         (generated): Add $(conformtest-header-list-base).  If
30014         [$(fast-check) && !$(cross-compiling)], add
30015         $(conformtest-header-base).  Remove previous setting.
30016         ($(conformtest-header-list-tests)): New target.
30017         (test-xfail-run-conformtest): Remove variable.
30018         ($(objpfx)run-conformtest.out): Remove target.
30019         (test-xfail-ISO11/complex.h/conform): New variable.
30020         (test-xfail-ISO11/stdalign.h/conform): Likewise.
30021         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
30022         (test-xfail-XPG3/varargs.h/conform): Likewise.
30023         (test-xfail-XPG4/varargs.h/conform): Likewise.
30024         (test-xfail-UNIX98/varargs.h/conform): Likewise.
30025         (test-xfail-XPG4/ndbm.h/conform): Likewise.
30026         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
30027         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
30028         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
30029         (test-xfail-XPG3/fcntl.h/conform): Likewise.
30030         (test-xfail-XPG3/ftw.h/conform): Likewise.
30031         (test-xfail-XPG3/grp.h/conform): Likewise.
30032         (test-xfail-XPG3/langinfo.h/conform): Likewise.
30033         (test-xfail-XPG3/limits.h/conform): Likewise.
30034         (test-xfail-XPG3/pwd.h/conform): Likewise.
30035         (test-xfail-XPG3/search.h/conform): Likewise.
30036         (test-xfail-XPG3/signal.h/conform): Likewise.
30037         (test-xfail-XPG3/stdio.h/conform): Likewise.
30038         (test-xfail-XPG3/stdlib.h/conform): Likewise.
30039         (test-xfail-XPG3/string.h/conform): Likewise.
30040         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
30041         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
30042         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
30043         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
30044         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
30045         (test-xfail-XPG3/sys/types.h/conform): Likewise.
30046         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
30047         (test-xfail-XPG3/termios.h/conform): Likewise.
30048         (test-xfail-XPG3/time.h/conform): Likewise.
30049         (test-xfail-XPG3/unistd.h/conform): Likewise.
30050         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
30051         (test-xfail-XPG4/fcntl.h/conform): Likewise.
30052         (test-xfail-XPG4/langinfo.h/conform): Likewise.
30053         (test-xfail-XPG4/netdb.h/conform): Likewise.
30054         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
30055         (test-xfail-XPG4/signal.h/conform): Likewise.
30056         (test-xfail-XPG4/stdio.h/conform): Likewise.
30057         (test-xfail-XPG4/stdlib.h/conform): Likewise.
30058         (test-xfail-XPG4/stropts.h/conform): Likewise.
30059         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
30060         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
30061         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
30062         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
30063         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
30064         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
30065         (test-xfail-XPG4/sys/time.h/conform): Likewise.
30066         (test-xfail-XPG4/sys/types.h/conform): Likewise.
30067         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
30068         (test-xfail-XPG4/termios.h/conform): Likewise.
30069         (test-xfail-XPG4/ucontext.h/conform): Likewise.
30070         (test-xfail-XPG4/unistd.h/conform): Likewise.
30071         (test-xfail-XPG4/utmpx.h/conform): Likewise.
30072         (test-xfail-POSIX/sched.h/conform): Likewise.
30073         (test-xfail-POSIX/signal.h/conform): Likewise.
30074         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
30075         (test-xfail-POSIX/tar.h/conform): Likewise.
30076         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
30077         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
30078         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
30079         (test-xfail-UNIX98/netdb.h/conform): Likewise.
30080         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
30081         (test-xfail-UNIX98/sched.h/conform): Likewise.
30082         (test-xfail-UNIX98/signal.h/conform): Likewise.
30083         (test-xfail-UNIX98/stdio.h/conform): Likewise.
30084         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
30085         (test-xfail-UNIX98/stropts.h/conform): Likewise.
30086         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
30087         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
30088         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
30089         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
30090         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
30091         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
30092         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
30093         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
30094         (test-xfail-UNIX98/unistd.h/conform): Likewise.
30095         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
30096         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
30097         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
30098         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
30099         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
30100         (test-xfail-XOPEN2K/math.h/conform): Likewise.
30101         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
30102         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
30103         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
30104         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
30105         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
30106         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
30107         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
30108         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
30109         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
30110         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
30111         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
30112         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
30113         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
30114         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
30115         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
30116         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
30117         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
30118         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
30119         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
30120         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
30121         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
30122         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
30123         (test-xfail-POSIX2008/signal.h/conform): Likewise.
30124         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
30125         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
30126         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
30127         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
30128         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
30129         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
30130         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
30131         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
30132         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
30133         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
30134         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
30135         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
30136         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
30137         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
30138         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
30139         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
30140         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
30141         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
30142         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
30143         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
30144         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
30145         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
30146         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
30147         (conformtest-cc-flags): Likewise.
30148         ($(conformtest-header-tests): New target.
30149         * conform/check-header-lists.sh: New file.
30150         * conform/run-conformtest.sh: Remove.
30152         * conform/conformtest.pl: Allow ' and \ in values given for
30153         constants.
30154         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
30155         inclusion.
30156         [POSIX] (sys/types.h): Likewise.
30157         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
30158         inclusion.
30159         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
30160         inclusion.
30161         * conform/data/signal.h-data (SIGIO): Remove expectation.
30162         [XPG3] (SIGBUS): Do not expect.
30163         [POSIX || XPG3] (SIGPOLL): Likewise.
30164         [POSIX || XPG3] (SIGPROF): Likewise.
30165         [POSIX || XPG3] (SIGSYS): Likewise.
30166         [XPG3] (SIGTRAP): Likewise.
30167         [POSIX || XPG3] (SIGURG): Likewise.
30168         [POSIX || XPG3] (SIGVTALRM): Likewise.
30169         [POSIX || XPG3] (SIGXCPU): Likewise.
30170         [POSIX || XPG3] (SIGXFSZ): Likewise.
30171         [POSIX] (SA_SIGINFO): Expect.
30172         [XPG3] (siginfo_t): Do not expect type or contents.
30173         [POSIX] (si_pid): Do not expect element.
30174         [POSIX] (si_uid): Likewise.
30175         [POSIX] (si_addr): Likewise.
30176         [POSIX] (si_status): Likewise.
30177         [POSIX] (si_band): Likewise.
30178         [XPG4] (si_value): Likewise.
30179         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
30180         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
30181         [POSIX || XPG3] (ILL_ILLADR): Likewise.
30182         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
30183         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
30184         [POSIX || XPG3] (ILL_PRVREG): Likewise.
30185         [POSIX || XPG3] (ILL_COPROC): Likewise.
30186         [POSIX || XPG3] (ILL_BADSTK): Likewise.
30187         [POSIX || XPG3] (FPE_INTDIV): Likewise.
30188         [POSIX || XPG3] (FPE_INTOVF): Likewise.
30189         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
30190         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
30191         [POSIX || XPG3] (FPE_FLTUND): Likewise.
30192         [POSIX || XPG3] (FPE_FLTRES): Likewise.
30193         [POSIX || XPG3] (FPE_FLTINV): Likewise.
30194         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
30195         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
30196         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
30197         [POSIX || XPG3] (BUS_ADRALN): Likewise.
30198         [POSIX || XPG3] (BUS_ADRERR): Likewise.
30199         [POSIX || XPG3] (BUS_OBJERR): Likewise.
30200         [POSIX || XPG3] (CLD_EXITED): Likewise.
30201         [POSIX || XPG3] (CLD_KILLED): Likewise.
30202         [POSIX || XPG3] (CLD_DUMPED): Likewise.
30203         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
30204         [POSIX || XPG3] (CLD_STOPPED): Likewise.
30205         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
30206         [POSIX || XPG3] (POLL_IN): Likewise.
30207         [POSIX || XPG3] (POLL_OUT): Likewise.
30208         [POSIX || XPG3] (POLL_MSG): Likewise.
30209         [POSIX || XPG3] (POLL_ERR): Likewise.
30210         [POSIX || XPG3] (POLL_PRI): Likewise.
30211         [POSIX || XPG3] (POLL_HUP): Likewise.
30212         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
30213         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
30214         (SIG*): Do not allow.
30215         [XPG3] (si_*): Likewise.
30216         [XPG3] (SI_*): Likewise.
30217         [XPG3 || XPG4] (sigev_*): Likewise.
30218         [XPG3 || XPG4] (SIGEV_*): Likewise.
30219         [XPG3 || XPG4] (sival_*): Likewise.
30220         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
30221         [POSIX || XPG3] (BUS_*): Likewise.
30222         [POSIX || XPG3] (CLD_*): Likewise.
30223         [POSIX || XPG3] (FPE_*): Likewise.
30224         [POSIX || XPG3] (ILL_*): Likewise.
30225         [POSIX || XPG3] (POLL_*): Likewise.
30226         [POSIX || XPG3] (SEGV_*): Likewise.
30227         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
30228         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
30229         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
30230         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
30231         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
30232         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
30233         Specify type and value.
30234         (TVERSLEN): Likewise.
30235         (REGTYPE): Likewise.
30236         (AREGTYPE): Likewise.
30237         (LNKTYPE): Likewise.
30238         (SYMTYPE): Likewise.
30239         (CHRTYPE): Likewise.
30240         (BLKTYPE): Likewise.
30241         (DIRTYPE): Likewise.
30242         (FIFOTYPE): Likewise.
30243         (CONTTYPE): Likewise.
30244         (TSUID): Likewise.
30245         (TSGID): Likewise.
30246         (TSVTX): Likewise.
30247         (TUREAD): Likewise.
30248         (TUWRITE): Likewise.
30249         (TUEXEC): Likewise.
30250         (TGREAD): Likewise.
30251         (TGWRITE): Likewise.
30252         (TGEXEC): Likewise.
30253         (TOREAD): Likewise.
30254         (TOWRITE): Likewise.
30255         (TOEXEC): Likewise.
30256         [POSIX] (TSVTX): Expect constant.
30258 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
30260         * Makefile (tests): Change dependencies to ....
30261         (tests-special): ... additions to this variable.
30262         (tests): Depend on $(tests-special).
30263         * Makerules (check-abi-list): New variable.
30264         (check-abi): Depend on $(check-abi-list).
30265         [$(subdir) = elf] (tests-special): Add
30266         $(objpfx)check-abi-libc.out.
30267         [$(build-shared) = yes && subdir] (tests-special): Add
30268         $(check-abi-list).
30269         [$(build-shared) = yes && subdir] (tests): Do not depend on
30270         check-abi.
30271         * Rules (tests): Depend on $(tests-special).
30272         (xtests): Depend on $(xtests-special).
30273         * catgets/Makefile (tests): Change dependencies to ....
30274         (tests-special): ... additions to this variable.
30275         * conform/Makefile (tests): Change dependencies to ....
30276         (tests-special): ... additions to this variable.
30277         * elf/Makefile (tests): Change dependencies to ....
30278         (tests-special): ... additions to this variable.
30279         * grp/Makefile (tests): Change dependencies to ....
30280         (tests-special): ... additions to this variable.
30281         * iconv/Makefile (xtests): Change dependencies to ....
30282         (xtests-special): ... additions to this variable.
30283         * iconvdata/Makefile (tests): Change dependencies to ....
30284         (tests-special): ... additions to this variable.
30285         * intl/Makefile (tests): Change dependencies to ....
30286         (tests-special): ... additions to this variable.  Also add
30287         $(objpfx)tst-gettext.out.
30288         * io/Makefile (tests): Change dependencies to ....
30289         (tests-special): ... additions to this variable.
30290         * libio/Makefile (tests): Change dependencies to ....
30291         (tests-special): ... additions to this variable.
30292         * malloc/Makefile (tests): Change dependencies to ....
30293         (tests-special): ... additions to this variable.
30294         * misc/Makefile (tests): Change dependencies to ....
30295         (tests-special): ... additions to this variable.
30296         * nptl/Makefile (tests): Change dependencies to ....
30297         (tests-special): ... additions to this variable.
30298         * nptl_db/Makefile (tests): Change dependencies to ....
30299         (tests-special): ... additions to this variable.
30300         * posix/Makefile (tests): Change dependencies to ....
30301         (tests-special): ... additions to this variable.
30302         (xtests): Change dependencies to ....
30303         (xtests-special): ... additions to this variable.
30304         * resolv/Makefile (tests): Change dependencies to ....
30305         (tests-special): ... additions to this variable.
30306         (xtests): Change dependencies to ....
30307         (xtests-special): ... additions to this variable.
30308         * stdio-common/Makefile (tests): Change dependencies to ....
30309         (tests-special): ... additions to this variable.
30310         (do-tst-unbputc): Remove target.
30311         (do-tst-printf): Likewise.
30312         * stdlib/Makefile (tests): Change dependencies to ....
30313         (tests-special): ... additions to this variable.
30314         * string/Makefile (tests): Change dependencies to ....
30315         (tests-special): ... additions to this variable.
30316         * sysdeps/x86/Makefile (tests): Change dependencies to ....
30317         (tests-special): ... additions to this variable.
30319         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
30320         whole file.
30321         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
30322         whole file.
30323         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
30324         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
30326         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
30327         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
30328         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
30329         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
30330         * conform/data/libgen.h-data [XPG3]: Likewise.
30331         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
30332         * conform/data/ndbm.h-data [XPG3]: Likewise.
30333         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
30334         * conform/data/netdb.h-data [XPG3]: Likewise.
30335         * conform/data/netinet/in.h-data [XPG3]: Likewise.
30336         * conform/data/poll.h-data [XPG3]: Likewise.
30337         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
30338         * conform/data/strings.h-data [XPG3]: Likewise.
30339         * conform/data/stropts.h-data [XPG3]: Likewise.
30340         * conform/data/sys/mman.h-data [XPG3]: Likewise.
30341         * conform/data/sys/resource.h-data [XPG3]: Likewise.
30342         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
30343         Likewise.
30344         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
30345         * conform/data/sys/time.h-data [XPG3]: Likewise.
30346         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
30347         * conform/data/sys/uio.h-data [XPG3]: Likewise.
30348         * conform/data/sys/un.h-data [XPG3]: Likewise.
30349         * conform/data/syslog.h-data [XPG3]: Likewise.
30350         * conform/data/ucontext.h-data [XPG3]: Likewise.
30351         * conform/data/utmpx.h-data [XPG3]: Likewise.
30352         * conform/data/varargs.h-data [UNIX98]: Enable file.
30354         * manual/Makefile (INSTALL_INFO): Remove variable setting.
30356         * math/libm-test.inc (struct test_f_f_data): Move expected results
30357         into structure for each rounding mode.
30358         (struct test_ff_f_data): Likewise.
30359         (struct test_ff_f_data_nexttoward): Likewise.
30360         (struct test_fi_f_data): Likewise.
30361         (struct test_fl_f_data): Likewise.
30362         (struct test_if_f_data): Likewise.
30363         (struct test_fff_f_data): Likewise.
30364         (struct test_c_f_data): Likewise.
30365         (struct test_f_f1_data): Likewise.
30366         (struct test_fF_f1_data): Likewise.
30367         (struct test_ffI_f1_data): Likewise.
30368         (struct test_c_c_data): Likewise.
30369         (struct test_cc_c_data): Likewise.
30370         (struct test_f_i_data): Likewise.
30371         (struct test_ff_i_data): Likewise.
30372         (struct test_f_l_data): Likewise.
30373         (struct test_f_L_data): Likewise.
30374         (struct test_fFF_11_data): Likewise.
30375         (RM_): New macro.
30376         (RM_FE_DOWNWARD): Likewise.
30377         (RM_FE_TONEAREST): Likewise.
30378         (RM_FE_TOWARDZERO): Likewise.
30379         (RM_FE_UPWARD): Likewise.
30380         (RUN_TEST_LOOP_f_f): Update references to expected results.
30381         (RUN_TEST_LOOP_2_f): Likewise.
30382         (RUN_TEST_LOOP_fff_f): Likewise.
30383         (RUN_TEST_LOOP_c_f): Likewise.
30384         (RUN_TEST_LOOP_f_f1): Likewise.
30385         (RUN_TEST_LOOP_fF_f1): Likewise.
30386         (RUN_TEST_LOOP_fI_f1): Likewise.
30387         (RUN_TEST_LOOP_ffI_f1): Likewise.
30388         (RUN_TEST_LOOP_c_c): Likewise.
30389         (RUN_TEST_LOOP_cc_c): Likewise.
30390         (RUN_TEST_LOOP_f_i): Likewise.
30391         (RUN_TEST_LOOP_f_i_tg): Likewise.
30392         (RUN_TEST_LOOP_ff_i_tg): Likewise.
30393         (RUN_TEST_LOOP_f_b): Likewise.
30394         (RUN_TEST_LOOP_f_b_tg): Likewise.
30395         (RUN_TEST_LOOP_f_l): Likewise.
30396         (RUN_TEST_LOOP_f_L): Likewise.
30397         (RUN_TEST_LOOP_fFF_11): Likewise.
30398         * math/gen-libm-test.pl (parse_args): Output four copies of
30399         expected results for each test.
30401         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
30402         (__ASSUME_UTIMES): Remove.
30403         * sysdeps/unix/sysv/linux/tile/kernel-features.h
30404         (__ASSUME_UTIMES): Likewise.
30406         * math/gen-auto-libm-tests.c: Update comment on output format.
30407         (output_for_one_input_case): Generate before-rounding and
30408         after-rounding information as conditions on output flags not
30409         floating-point format.
30410         * math/auto-libm-test-out: Regenerated.
30411         * math/gen-libm-test.pl (cond_value): New function.
30412         (or_cond_value): Use cond_value.
30413         (generate_testfile): Handle conditional exceptions.
30415 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
30417         * math/libm-test.inc (max_valid_error): New variable.
30418         (init_max_error): Take new argument specifying whether function
30419         results are exactly determined.  Set max_valid_error and bound
30420         other variables for errors based on this argument.
30421         (set_max_error): Do not record results above max_valid_error.
30422         (check_float_internal): Only accept errors of up to 0.5ulps if
30423         also at most max_valid_error.
30424         (START): Take new argument EXACT and pass it to init_max_error.
30425         (acos_test): Update call to START.
30426         (acos_test_tonearest): Likewise.
30427         (acos_test_towardzero): Likewise.
30428         (acos_test_downward): Likewise.
30429         (acos_test_upward): Likewise.
30430         (acosh_test): Likewise.
30431         (asin_test): Likewise.
30432         (asin_test_tonearest): Likewise.
30433         (asin_test_towardzero): Likewise.
30434         (asin_test_downward): Likewise.
30435         (asin_test_upward): Likewise.
30436         (asinh_test): Likewise.
30437         (atan_test): Likewise.
30438         (atanh_test): Likewise.
30439         (atan2_test): Likewise.
30440         (cabs_test): Likewise.
30441         (cacos_test): Likewise.
30442         (cacosh_test): Likewise.
30443         (carg_test): Likewise.
30444         (casin_test): Likewise.
30445         (casinh_test): Likewise.
30446         (catan_test): Likewise.
30447         (catanh_test): Likewise.
30448         (cbrt_test): Likewise.
30449         (ccos_test): Likewise.
30450         (ccosh_test): Likewise.
30451         (ceil_test): Likewise.
30452         (cexp_test): Likewise.
30453         (cimag_test): Likewise.
30454         (clog_test): Likewise.
30455         (clog10_test): Likewise.
30456         (conj_test): Likewise.
30457         (copysign_test): Likewise.
30458         (cos_test): Likewise.
30459         (cos_test_tonearest): Likewise.
30460         (cos_test_towardzero): Likewise.
30461         (cos_test_downward): Likewise.
30462         (cos_test_upward): Likewise.
30463         (cosh_test): Likewise.
30464         (cosh_test_tonearest): Likewise.
30465         (cosh_test_towardzero): Likewise.
30466         (cosh_test_downward): Likewise.
30467         (cosh_test_upward): Likewise.
30468         (cpow_test): Likewise.
30469         (cproj_test): Likewise.
30470         (creal_test): Likewise.
30471         (csin_test): Likewise.
30472         (csinh_test): Likewise.
30473         (csqrt_test): Likewise.
30474         (ctan_test): Likewise.
30475         (ctan_test_tonearest): Likewise.
30476         (ctan_test_towardzero): Likewise.
30477         (ctan_test_downward): Likewise.
30478         (ctan_test_upward): Likewise.
30479         (ctanh_test): Likewise.
30480         (ctanh_test_tonearest): Likewise.
30481         (ctanh_test_towardzero): Likewise.
30482         (ctanh_test_downward): Likewise.
30483         (ctanh_test_upward): Likewise.
30484         (erf_test): Likewise.
30485         (erfc_test): Likewise.
30486         (exp_test): Likewise.
30487         (exp_test_tonearest): Likewise.
30488         (exp_test_towardzero): Likewise.
30489         (exp_test_downward): Likewise.
30490         (exp_test_upward): Likewise.
30491         (exp10_test): Likewise.
30492         (exp10_test_tonearest): Likewise.
30493         (exp10_test_towardzero): Likewise.
30494         (exp10_test_downward): Likewise.
30495         (exp10_test_upward): Likewise.
30496         (pow10_test): Likewise.
30497         (exp2_test): Likewise.
30498         (expm1_test): Likewise.
30499         (expm1_test_tonearest): Likewise.
30500         (expm1_test_towardzero): Likewise.
30501         (expm1_test_downward): Likewise.
30502         (expm1_test_upward): Likewise.
30503         (fabs_test): Likewise.
30504         (fdim_test): Likewise.
30505         (floor_test): Likewise.
30506         (fma_test): Likewise.
30507         (fma_test_towardzero): Likewise.
30508         (fma_test_downward): Likewise.
30509         (fma_test_upward): Likewise.
30510         (fmax_test): Likewise.
30511         (fmin_test): Likewise.
30512         (fmod_test): Likewise.
30513         (fpclassify_test): Likewise.
30514         (frexp_test): Likewise.
30515         (hypot_test): Likewise.
30516         (ilogb_test): Likewise.
30517         (isfinite_test): Likewise.
30518         (finite_test): Likewise.
30519         (isgreater_test): Likewise.
30520         (isgreaterequal_test): Likewise.
30521         (isinf_test): Likewise.
30522         (isless_test): Likewise.
30523         (islessequal_test): Likewise.
30524         (islessgreater_test): Likewise.
30525         (isnan_test): Likewise.
30526         (isnormal_test): Likewise.
30527         (issignaling_test): Likewise.
30528         (isunordered_test): Likewise.
30529         (j0_test): Likewise.
30530         (j1_test): Likewise.
30531         (jn_test): Likewise.
30532         (ldexp_test): Likewise.
30533         (lgamma_test): Likewise.
30534         (gamma_test): Likewise.
30535         (lrint_test): Likewise.
30536         (lrint_test_tonearest): Likewise.
30537         (lrint_test_towardzero): Likewise.
30538         (lrint_test_downward): Likewise.
30539         (lrint_test_upward): Likewise.
30540         (llrint_test): Likewise.
30541         (llrint_test_tonearest): Likewise.
30542         (llrint_test_towardzero): Likewise.
30543         (llrint_test_downward): Likewise.
30544         (llrint_test_upward): Likewise.
30545         (log_test): Likewise.
30546         (log10_test): Likewise.
30547         (log1p_test): Likewise.
30548         (log2_test): Likewise.
30549         (logb_test): Likewise.
30550         (logb_test_downward): Likewise.
30551         (lround_test): Likewise.
30552         (llround_test): Likewise.
30553         (modf_test): Likewise.
30554         (nearbyint_test): Likewise.
30555         (nextafter_test): Likewise.
30556         (nexttoward_test): Likewise.
30557         (pow_test): Likewise.
30558         (pow_test_tonearest): Likewise.
30559         (pow_test_towardzero): Likewise.
30560         (pow_test_downward): Likewise.
30561         (pow_test_upward): Likewise.
30562         (remainder_test): Likewise.
30563         (drem_test): Likewise.
30564         (remainder_test_tonearest): Likewise.
30565         (drem_test_tonearest): Likewise.
30566         (remainder_test_towardzero): Likewise.
30567         (drem_test_towardzero): Likewise.
30568         (remainder_test_downward): Likewise.
30569         (drem_test_downward): Likewise.
30570         (remainder_test_upward): Likewise.
30571         (drem_test_upward): Likewise.
30572         (remquo_test): Likewise.
30573         (rint_test): Likewise.
30574         (rint_test_tonearest): Likewise.
30575         (rint_test_towardzero): Likewise.
30576         (rint_test_downward): Likewise.
30577         (rint_test_upward): Likewise.
30578         (round_test): Likewise.
30579         (scalb_test): Likewise.
30580         (scalbn_test): Likewise.
30581         (scalbln_test): Likewise.
30582         (signbit_test): Likewise.
30583         (sin_test): Likewise.
30584         (sin_test_tonearest): Likewise.
30585         (sin_test_towardzero): Likewise.
30586         (sin_test_downward): Likewise.
30587         (sin_test_upward): Likewise.
30588         (sincos_test): Likewise.
30589         (sinh_test): Likewise.
30590         (sinh_test_tonearest): Likewise.
30591         (sinh_test_towardzero): Likewise.
30592         (sinh_test_downward): Likewise.
30593         (sinh_test_upward): Likewise.
30594         (sqrt_test): Likewise.
30595         (sqrt_test_tonearest): Likewise.
30596         (sqrt_test_towardzero): Likewise.
30597         (sqrt_test_downward): Likewise.
30598         (sqrt_test_upward): Likewise.
30599         (tan_test): Likewise.
30600         (tan_test_tonearest): Likewise.
30601         (tan_test_towardzero): Likewise.
30602         (tan_test_downward): Likewise.
30603         (tan_test_upward): Likewise.
30604         (tanh_test): Likewise.
30605         (tgamma_test): Likewise.
30606         (trunc_test): Likewise.
30607         (y0_test): Likewise.
30608         (y1_test): Likewise.
30609         (yn_test): Likewise.
30610         (significand_test): Likewise.
30612         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
30613         individual tests in comment.
30614         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
30615         (prev_max_error): New variable.
30616         (prev_real_max_error): Likewise.
30617         (prev_imag_max_error): Likewise.
30618         (compare_ulp_data): Don't refer to test names in comment.
30619         (find_test_ulps): Remove function.
30620         (find_function_ulps): Likewise.
30621         (find_complex_function_ulps): Likewise.
30622         (init_max_error): Take function name as argument.  Look up ulps
30623         for that function.
30624         (print_ulps): Remove function.
30625         (print_max_error): Use prev_max_error instead of calling
30626         find_function_ulps.
30627         (print_complex_max_error): Use prev_real_max_error and
30628         prev_imag_max_error instead of calling find_complex_function_ulps.
30629         (check_float_internal): Take max_ulp parameter instead of calling
30630         find_test_ulps.  Don't call print_ulps.
30631         (check_float): Update call to check_float_internal.
30632         (check_complex): Update calls to check_float_internal.
30633         (START): Pass argument to init_max_error.
30634         * math/gen-libm-test.pl (%results): Don't include "kind"
30635         information.
30636         (parse_ulps): Don't handle ulps of individual tests.
30637         (print_ulps_file): Likewise.
30638         (output_ulps): Likewise.
30639         * math/README.libm-test: Update.
30640         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
30641         individual tests.
30642         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
30643         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
30644         * sysdeps/arm/libm-test-ulps: Likewise.
30645         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
30646         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
30647         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
30648         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
30649         * sysdeps/microblaze/libm-test-ulps: Likewise.
30650         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
30651         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
30652         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30653         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
30654         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
30655         * sysdeps/sh/libm-test-ulps: Likewise.
30656         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
30657         * sysdeps/tile/libm-test-ulps: Likewise.
30658         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30660 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
30662         * math/libm-test.inc (print_complex_max_error): Check separately
30663         whether real and imaginary errors are within allowed range and
30664         pass 0 to print_complex_function_ulps instead of value within
30665         allowed range.
30667 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30669         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
30670         formatting.
30671         (get_handles_fopen): Likewise.
30672         (do_write_test): Likewise.
30674         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
30676         * libio/fileops.c (do_ftell): Use cached offset when
30677         available.
30678         * libio/iofwide.c (do_ftell_wide): Likewise.
30679         * libio/iofdopen.c (_IO_new_fdopen): Don't use
30680         _IO_file_attach.
30681         * libio/wfileops.c (_IO_fwide): Don't cache offset.
30683         [BZ #16532]
30684         * libio/libioP.h (get_file_offset): New function.
30685         * libio/fileops.c (get_file_offset): Likewise.
30686         (do_ftell): Likewise.
30687         (_IO_new_file_seekoff): Split out ftell logic.
30688         * libio/wfileops.c (do_ftell_wide): Likewise.
30689         (_IO_wfile_seekoff): Split out ftell logic.
30690         * libio/tst-ftell-active-handler.c: New test case.
30691         * libio/Makefile (tests): Add it.
30693 2014-03-03  Roland McGrath  <roland@hack.frob.com>
30695         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
30696         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
30698 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
30700         [BZ #16639]
30701         * nscd/connections.c (nscd_init): Call do_exit.
30702         (start_threads): Call do_exit and notify_parent.
30703         (begin_drop_privileges): Call do_exit.
30704         (finish_drop_privileges): Likewise.
30705         * nscd/selinux.c (preserve_capabilities): Likewise.
30706         (install_real_capabilities): Likewise.
30707         (nscd_selinux_enabled): Likewise.
30708         (avc_create_thread): Likewise.
30709         (avc_alloc_lock): Likewise.
30710         (nscd_avc_init): Likewise.
30711         * nscd/nscd.c (parent_fd): New static variable.
30712         (main): Create a pipe between parent and child processes.
30713         Skip closing parent_fd.
30714         (monitor_child): New function.
30715         (do_exit): Likewise.
30716         (notify_parent): Likewise.
30717         * nscd/nscd.h (notify_parent): Likewise.
30718         (do_exit): Likewise.
30720 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
30722         * malloc/malloc.c (__libc_calloc): Revert last change.
30724 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30726         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30728 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30730         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
30731         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
30732         implementation.
30733         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
30734         (__libc_ifunc_impl_list): Likewise.
30735         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
30736         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
30737         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
30738         * string/strrchr.c: Define STRRCHR.
30740 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
30742         * benchtest/bench-strtok.c (simple_strtok): Delete.
30743         (strtok_string): Use as benchmark.
30744         * string/strtok (STRTOK): New macro.
30746 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
30748         * manual/threads.texi: Add header and standard comments to all
30749         functions.
30751         * elf/dl-lookup.c (check_match): New function.
30752         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
30753         (do_lookup_x): Remove nested function check_match. Use non-nested
30754         function check_match.
30756 2014-02-28  Roland McGrath  <roland@hack.frob.com>
30758         * csu/Makefile (generated, before-compile): Use += rather than =.
30759         * catgets/Makefile (generated, generated-dirs): Likewise.
30760         * debug/Makefile (generated): Likewise.
30761         * dlfcn/Makefile (generated): Likewise.
30762         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
30763         * iconvdata/Makefile (before-compile, generated): Likewise.
30764         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
30765         * libio/Makefile (generated): Likewise.
30766         * malloc/Makefile (generated): Likewise.
30767         * manual/Makefile (generated, generated-dirs): Likewise.
30768         * misc/Makefile (generated): Likewise.
30769         * posix/Makefile (generated): Likewise.
30770         * resolv/Makefile (generated): Likewise.
30771         * sunrpc/Makefile (generated, generated-dirs): Likewise.
30772         * timezone/Makefile (generated, generated-dirs): Likewise.
30774         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
30776 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30778         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
30779         power8 implementation.
30780         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
30781         file: POWER8 llround ifunc implementation.
30782         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
30783         (__lllround): Add POWER8 implementation.
30784         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
30785         POWER8 llround implementation.
30787         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
30788         power8 implementation.
30789         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
30790         file: POWER8 llrint ifunc implementation.
30791         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
30792         Add POWER8 implementation.
30793         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
30794         POWER8 llrint implementation.
30796         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
30797         power8 implementation.
30798         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
30799         file: POWER8 finite ifunc implementation.
30800         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
30801         Add POWER8 implementation.
30802         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
30803         Likewise.
30804         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
30805         POWER8 finite implementation.
30806         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
30808         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
30809         power8 implementation.
30810         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
30811         file: POWER8 isinf ifunc implementation.
30812         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
30813         POWER8 implementation.
30814         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
30815         Likewise.
30816         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
30817         isinf implementation.
30818         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
30820         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
30821         (INIT_ARCH): Add hwcap2 initialization.
30822         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
30823         power8 implementation.
30824         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
30825         file: POWER8 isnan ifunc implementation.
30826         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
30827         POWER8 implementation.
30828         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
30829         Likewise.
30830         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
30831         isnan implementation.
30832         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
30834 2014-02-27  Joey Ye  <joey.ye@arm.com>
30836         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
30837         (_FP_NANFRAC_Q): Set to zero.
30839 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
30841         [BZ #16623]
30842         * math/auto-libm-test-in: New test inputs.
30843         * math/auto-libm-test-out: Regenerate.
30844         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
30845         and DA.
30846         (__cos): Likewise.
30847         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
30849 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
30851         * scripts/evaluate-test.sh: Take new argument indicating whether
30852         failure is expected.
30853         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
30854         indicating whether failure is expected.
30855         * conform/Makefile (test-xfail-run-conformtest): New variable.
30856         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
30857         level.
30858         * posix/Makefile (test-xfail-annexc): New variable.
30859         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
30861 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
30863         * argp/Makefile: Include Makeconfig immediately after defining
30864         subdir.
30865         * assert/Makefile: Likewise.
30866         * benchtests/Makefile: Likewise.
30867         * catgets/Makefile: Likewise.
30868         * conform/Makefile: Likewise.
30869         * crypt/Makefile: Likewise.
30870         * csu/Makefile: Likewise.
30871         (all): Remove target.
30872         * ctype/Makefile: Include Makeconfig immediately after defining
30873         subdir.
30874         * debug/Makefile: Likewise.
30875         * dirent/Makefile: Likewise.
30876         * dlfcn/Makefile: Likewise.
30877         * gmon/Makefile: Likewise.
30878         * gnulib/Makefile: Likewise.
30879         * grp/Makefile: Likewise.
30880         * gshadow/Makefile: Likewise.
30881         * hesiod/Makefile: Likewise.
30882         * hurd/Makefile: Likewise.
30883         (all): Remove target.
30884         * iconvdata/Makefile: Include Makeconfig immediately after
30885         defining subdir.
30886         * inet/Makefile: Likewise.
30887         * intl/Makefile: Likewise.
30888         * io/Makefile: Likewise.
30889         * libio/Makefile: Likewise.
30890         (all): Remove target.
30891         * locale/Makefile: Include Makeconfig immediately after defining
30892         subdir.
30893         * login/Makefile: Likewise.
30894         * mach/Makefile: Likewise.
30895         (all): Remove target.
30896         * malloc/Makefile: Include Makeconfig immediately after defining
30897         subdir.
30898         (all): Remove target.
30899         * manual/Makefile: Include Makeconfig immediately after defining
30900         subdir.
30901         * math/Makefile: Likewise.
30902         * misc/Makefile: Likewise.
30903         * nis/Makefile: Likewise.
30904         * nss/Makefile: Likewise.
30905         * po/Makefile: Likewise.
30906         (all): Remove target.
30907         * posix/Makefile: Include Makeconfig immediately after defining
30908         subdir.
30909         * pwd/Makefile: Likewise.
30910         * resolv/Makefile: Likewise.
30911         * resource/Makefile: Likewise.
30912         * rt/Makefile: Likewise.
30913         * setjmp/Makefile: Likewise.
30914         * shadow/Makefile: Likewise.
30915         * signal/Makefile: Likewise.
30916         * socket/Makefile: Likewise.
30917         * soft-fp/Makefile: Likewise.
30918         * stdio-common/Makefile: Likewise.
30919         * stdlib/Makefile: Likewise.
30920         * streams/Makefile: Likewise.
30921         * string/Makefile: Likewise.
30922         * sunrpc/Makefile: Likewise.
30923         (all): Remove target.
30924         * sysvipc/Makefile: Include Makeconfig immediately after defining
30925         subdir.
30926         * termios/Makefile: Likewise.
30927         * time/Makefile: Likewise.
30928         * timezone/Makefile: Likewise.
30929         (all): Remove target.
30930         * wcsmbs/Makefile: Include Makeconfig immediately after defining
30931         subdir.
30932         * wctype/Makefile: Likewise.
30934 2014-02-26  Steve Ellcey  <sellcey@mips.com>
30936         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
30937         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
30938         (libc_feholdexcept_setround_mips): Ditto.
30939         (libc_feholdsetround): New.
30940         (libc_feholdsetroundf): New.
30941         (libc_feholdsetroundl): New.
30942         (libc_feupdateenv_test_mips): New.
30943         (libc_feupdateenv_test): New.
30944         (libc_feupdateenv_testf): New.
30945         (libc_feupdateenv_testl): New.
30946         (libc_feresetround): New.
30947         (libc_feresetroundf): New.
30948         (libc_feresetroundl): New.
30949         (libc_fetestexcept_mips): New.
30950         (libc_fetestexcept): New.
30951         (libc_fetestexceptf): New.
30952         (libc_fetestexceptl): New.
30953         (HAVE_RM_CTX): New.
30954         (libc_feholdexcept_setround_mips_ctx): New.
30955         (libc_feholdexcept_setround_ctx): New.
30956         (libc_feholdexcept_setroundf_ctx): New.
30957         (libc_feholdexcept_setroundl_ctx): New.
30958         (libc_fesetenv_mips_ctx): New.
30959         (libc_fesetenv_ctx): New.
30960         (libc_fesetenv_ctxf): New.
30961         (libc_fesetenv_ctxl): New.
30962         (libc_feupdateenv_mips_ctx): New.
30963         (libc_feupdateenv_ctx): New.
30964         (libc_feupdateenvf_ctx): New.
30965         (libc_feupdateenvl_ctx): New.
30966         (libc_feholdsetround_mips_ctx): New.
30967         (libc_feholdsetround_ctx): New.
30968         (libc_feholdsetroundf_ctx): New.
30969         (libc_feholdsetroundl_ctx): New.
30970         (libc_feresetround_mips_ctx): New.
30971         (libc_feresetround_ctx): New.
30972         (libc_feresetroundf_ctx): New.
30973         (libc_feresetroundl_ctx): New.
30975 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
30977         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
30979         * manual/ipc.texi: New file.
30980         * manual/Makefile (chapters): Add ipc.
30981         * manual/job.texi: Add "Inter-Process Communication" to next.
30982         * manual/process.texi: Add "Inter-Process Communication" to prev.
30984 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30986         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30988 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
30990         * malloc/malloc.c (__libc_calloc): Simplify implementation.
30992         * manual/arith.texi: Fix spaces after sentences.
30993         * manual/charset.texi: Likewise.
30994         * manual/errno.texi: Likewise.
30995         * manual/install.texi: Likewise.
30996         * manual/llio.texi: Likewise.
30997         * manual/locale.texi: Likewise.
30998         * manual/maint.texi: Likewise.
30999         * manual/math.texi: Likewise.
31000         * manual/memory.texi: Likewise.
31001         * manual/message.texi: Likewise.
31002         * manual/probes.texi: Likewise.
31003         * manual/resource.texi: Likewise.
31004         * manual/signal.texi: Likewise.
31005         * manual/socket.texi: Likewise.
31006         * manual/stdio.texi: Likewise.
31007         * manual/string.texi: Likewise.
31008         * manual/time.texi: Likewise.
31009         * manual/users.texi: Likewise.
31011 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
31013         [BZ #16632]
31014         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
31015         _DEFAULT_SOURCE is defined.
31017 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
31018             Carlos O'Donell  <carlos@redhat.com>
31020         [BZ #16613]
31021         * elf/dl-tls.c (_dl_count_modids): New function.
31022         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
31023         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
31024         audit library and increment generation counter.
31025         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
31026         * elf/tst-audit9.c: New file.
31027         * elf/tst-auditmod9a.c: New file.
31028         * elf/tst-auditmod9b.c: New file.
31029         * elf/Makefile: Add rules to build and run tst-audit9.
31031 2014-02-25  Florian Weimer  <fweimer@redhat.com>
31033         [BZ #15347]
31034         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
31036 2014-02-25  Will Newton  <will.newton@linaro.org>
31038         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
31039         (__longjmp): Restore sp and lr before restoring callee
31040         saved registers.  Add longjmp and longjmp_target
31041         SystemTap probe point.
31042         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
31043         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
31044         Define to zero to match jmpbuf layout.
31045         * sysdeps/arm/setjmp.S: Include stap-probe.h.
31046         (__sigsetjmp): Save sp and lr before saving callee
31047         saved registers.  Add setjmp SystemTap probe point.
31049 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
31051         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
31053 2014-02-24  Andreas Schwab  <schwab@suse.de>
31055         [BZ #15804]
31056         * elf/pldd.c (wait_for_ptrace_stop): New function.
31057         (main): Call it after attaching.
31059 2014-02-22  Roland McGrath  <roland@hack.frob.com>
31061         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
31062         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
31063         Versions files is now verboten.
31064         * hurd/Versions (libc: GLIBC_2.0):
31065         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
31066         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
31067         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
31068         * mach/Versions: Likewise.
31070         * csu/Versions: Remove unused %include.
31071         * resolv/Versions: Likewise.
31073 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
31075         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
31076         ($(objpfx)check-local-headers.out): Likewise.
31077         ($(objpfx)begin-end-check.out): Likewise.
31078         * Makerules (check-abi-%.out): Likewise.
31079         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
31080         ($(objpfx)test2.cat): Likewise.
31081         ($(objpfx)de/libc.cat): Likewise.
31082         ($(objpfx)test-gencat.out): Likewise.
31083         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
31084         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
31085         ($(objpfx)noload-mem): Likewise.
31086         ($(objpfx)tst-pathopt.out): Likewise.
31087         ($(objpfx)tst-rtld-load-self.out): Likewise.
31088         ($(objpfx)tst-array1-cmp.out): Likewise.
31089         ($(objpfx)tst-array1-static-cmp.out): Likewise.
31090         ($(objpfx)tst-array2-cmp.out): Likewise.
31091         ($(objpfx)tst-array3-cmp.out): Likewise.
31092         ($(objpfx)tst-array4-cmp.out): Likewise.
31093         ($(objpfx)tst-array5-cmp.out): Likewise.
31094         ($(objpfx)tst-array5-static-cmp.out): Likewise.
31095         ($(objpfx)check-textrel.out): Likewise.
31096         ($(objpfx)check-execstack.out): Likewise.
31097         ($(objpfx)check-localplt.out): Likewise.
31098         ($(objpfx)order2-cmp.out): Likewise.
31099         ($(objpfx)tst-leaks1-mem): Likewise.
31100         ($(objpfx)tst-leaks1-static-mem): Likewise.
31101         ($(objpfx)tst-initorder-cmp.out): Likewise.
31102         ($(objpfx)tst-initorder2-cmp.out): Likewise.
31103         ($(objpfx)tst-unused-dep.out): Likewise.
31104         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
31105         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
31106         * iconv/Makefile (test-iconvconfig): Likewise.
31107         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
31108         ($(objpfx)iconv-test.out): Likewise.
31109         ($(objpfx)tst-tables.out): Likewise.
31110         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
31111         ($(objpfx)tst-gettext.out): Likewise.
31112         ($(objpfx)tst-translit.out): Likewise.
31113         ($(objpfx)tst-gettext2.out): Likewise.
31114         ($(objpfx)tst-gettext4.out): Likewise.
31115         ($(objpfx)tst-gettext6.out): Likewise.
31116         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
31117         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
31118         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
31119         ($(objpfx)tst-fopenloc-mem.out): Likewise.
31120         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
31121         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
31122         * posix/Makefile ($(objpfx)globtest.out): Likewise.
31123         ($(objpfx)wordexp-tst.out): Likewise.
31124         ($(objpfx)annexc.out): Likewise.
31125         ($(objpfx)tst-fnmatch-mem): Likewise.
31126         ($(objpfx)bug-regex2-mem): Likewise.
31127         ($(objpfx)bug-regex14-mem): Likewise.
31128         ($(objpfx)bug-regex21-mem): Likewise.
31129         ($(objpfx)bug-regex31-mem): Likewise.
31130         ($(objpfx)tst-vfork3-mem): Likewise.
31131         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
31132         ($(objpfx)tst-pcre-mem): Likewise.
31133         ($(objpfx)tst-boost-mem): Likewise.
31134         ($(objpfx)tst-getconf.out): Likewise.
31135         ($(objpfx)bug-ga2-mem): Likewise.
31136         ($(objpfx)bug-glob2-mem): Likewise.
31137         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
31138         ($(objpfx)mtrace-tst-leaks2): Likewise.
31139         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
31140         ($(objpfx)tst-printf.out): Likewise.
31141         ($(objpfx)tst-setvbuf1.out): Likewise.
31142         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
31143         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
31144         ($(objpfx)tst-fmtmsg.out): Likewise.
31145         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
31146         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
31148         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
31149         * bits/sigaction.h [__USE_MISC]: Likewise.
31150         * bits/waitstatus.h: Update #endif comments.
31151         * ctype/ctype.h: Likewise.
31152         * dirent/dirent.h: Likewise.
31153         [__USE_MISC]: Remove redundant conditionals.
31154         * grp/grp.h: Update #endif comments.
31155         [__USE_GNU]: Remove redundant conditionals.
31156         [__USE_MISC]: Likewise.
31157         * inet/netinet/in.h [__USE_GNU]: Likewise.
31158         * io/sys/stat.h [__USE_MISC]: Likewise.
31159         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
31160         * libio/bits/stdio.h: Update #endif comments.
31161         [__USE_MISC]: Remove redundant conditionals.
31162         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
31163         * libio/stdio.h: Update #endif comments.
31164         [__USE_MISC]: Remove redundant conditionals.
31165         * math/bits/math-finite.h [__USE_MISC]: Likewise.
31166         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
31167         * math/math.h: Update #else and #endif comments.
31168         [__USE_MISC]: Remove redundant conditionals.
31169         * misc/sys/uio.h: Update #endif comments.
31170         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
31171         * posix/glob.h [__USE_MISC]: Likewise.
31172         * posix/sys/types.h: Update #endif comments.
31173         [__USE_MISC]: Remove redundant conditionals.
31174         * posix/sys/wait.h: Update #endif comments.
31175         [__USE_MISC]: Remove redundant conditionals.
31176         * posix/unistd.h: Update #endif comments.
31177         [__USE_MISC]: Remove redundant conditionals.
31178         * pwd/pwd.h [__USE_GNU]: Likewise.
31179         [__USE_MISC]: Likewise.
31180         * resolv/netdb.h [__USE_GNU]: Likewise.
31181         * signal/signal.h: Update #endif comments.
31182         [__USE_MISC]: Remove redundant conditionals.
31183         * stdlib/stdlib.h: Update #else and #endif comments.
31184         [__USE_MISC]: Remove redundant conditionals.
31185         [__USE_GNU]: Likewise.
31186         * string/bits/string2.h [__USE_MISC]: Likewise.
31187         * string/string.h: Update #endif comments.
31188         [__USE_MISC]: Remove redundant conditionals.
31189         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
31190         Likewise.
31191         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
31192         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
31193         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
31194         Likewise.
31195         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
31196         Likewise.
31197         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
31198         comments.
31199         [__USE_MISC]: Remove redundant conditionals.
31200         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
31201         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
31202         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
31203         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
31204         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
31205         Likewise.
31206         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
31207         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
31208         Likewise.
31209         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
31210         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
31211         Likewise.
31212         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
31213         Likewise.
31214         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
31215         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
31216         Likewise.
31217         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
31218         Likewise.
31219         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
31220         * sysdeps/x86/bits/string.h: Update #endif comments.
31221         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
31222         conditionals.
31223         * time/sys/time.h: Update #endif comments.
31224         * time/time.h: Likewise.
31225         [__USE_MISC]: Remove redundant conditionals.
31227 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
31229         [BZ #16600]
31230         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
31232 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
31234         * Versions.def (librt): Add GLIBC_2.17.
31236 2014-02-21  Adam Conrad  <adconrad@0c3.net>
31238         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
31239         synonym for _SYS_AUXV_H to allow direct inclusion.
31240         * sysdeps/sparc/bits/hwcap.h: Likewise.
31241         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
31242         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
31243         * sysdeps/sparc/sysdep.h: Likewise.
31245 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
31247         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
31249 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
31251         * benchtests/bench-strrchr.c: Print length instead of position.
31253 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
31255         [BZ #16611]
31256         * sysdeps/unix/sysv/linux/kernel-features.h
31257         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
31258         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
31259         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
31260         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
31261         Likewise.
31262         [__i386__ || __powerpc__ || __sh__ || __sparc__]
31263         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31264         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
31265         (__ASSUME_SENDMMSG): Define instead of using previous
31266         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
31267         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
31268         (__ASSUME_SENDMMSG_SYSCALL): Define.
31269         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
31270         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
31271         Likewise.
31272         * sysdeps/unix/sysv/linux/arm/kernel-features.h
31273         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
31274         Likewise.
31275         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
31276         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
31277         Likewise.
31278         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
31279         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
31280         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
31281         [__ASSUME_SENDMMSG]: Change conditionals to
31282         [__ASSUME_SENDMMSG_SOCKETCALL].
31283         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31284         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
31285         Define.
31286         * sysdeps/unix/sysv/linux/mips/kernel-features.h
31287         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
31288         Likewise.
31289         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
31290         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
31291         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
31292         [!__ASSUME_SENDMMSG]: Change conditional to
31293         [!__ASSUME_SENDMMSG_SOCKETCALL].
31294         * sysdeps/unix/sysv/linux/tile/kernel-features.h
31295         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
31296         Define.
31298         [BZ #16610]
31299         * sysdeps/unix/sysv/linux/kernel-features.h
31300         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
31301         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
31302         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
31303         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
31304         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
31305         [__i386__ || __sparc__]
31306         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31307         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
31308         (__ASSUME_RECVMMSG): Define instead of using previous
31309         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
31310         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
31311         (__ASSUME_RECVMMSG_SYSCALL): Define.
31312         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
31313         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
31314         Likewise.
31315         * sysdeps/unix/sysv/linux/arm/kernel-features.h
31316         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
31317         Likewise.
31318         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
31319         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
31320         Likewise.
31321         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
31322         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
31323         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
31324         [__ASSUME_RECVMMSG]: Change condition to
31325         [__ASSUME_RECVMMSG_SOCKETCALL].
31326         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31327         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
31328         Define.
31329         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31330         * sysdeps/unix/sysv/linux/mips/kernel-features.h
31331         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
31332         Likewise.
31333         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
31334         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
31335         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
31336         [!__ASSUME_RECVMMSG]: Change condition to
31337         [!__ASSUME_RECVMMSG_SOCKETCALL].
31338         * sysdeps/unix/sysv/linux/tile/kernel-features.h
31339         (__ASSUME_RECVMMSG_SYSCALL): Define.
31341         [BZ #16609]
31342         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
31343         __powerpc__ || __s390__ || __sh__ || __sparc__]
31344         (__ASSUME_SOCKETCALL): Define.
31345         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
31346         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
31347         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
31348         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
31349         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
31350         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
31351         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
31352         (__ASSUME_ACCEPT4): Define instead of using previous
31353         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
31354         __powerpc__ || __sparc__ || __s390__)] condition.
31355         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
31356         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
31357         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
31358         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
31359         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
31360         [!__ASSUME_ACCEPT4]: Change condition to
31361         [!__ASSUME_ACCEPT4_SOCKETCALL].
31362         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
31363         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
31364         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
31365         * sysdeps/unix/sysv/linux/arm/kernel-features.h
31366         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
31367         __ASSUME_ACCEPT4_SYSCALL.
31368         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
31369         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
31370         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
31371         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
31372         __ASSUME_ACCEPT4_SYSCALL.
31373         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
31374         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
31375         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
31376         [__ASSUME_ACCEPT4]: Change condition to
31377         [__ASSUME_ACCEPT4_SOCKETCALL].
31378         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
31379         (__ASSUME_SOCKETCALL): Define.
31380         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
31381         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31382         (__ASSUME_SOCKETCALL): Define.
31383         (__ASSUME_ACCEPT4): Remove.
31384         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
31385         Define.
31386         * sysdeps/unix/sysv/linux/mips/kernel-features.h
31387         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
31388         Likewise.
31389         * sysdeps/unix/sysv/linux/tile/kernel-features.h
31390         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
31392         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
31393         macro.
31394         (HWCAP_ARM_LPAE): Likewise.
31395         (HWCAP_ARM_EVTSTRM): Likewise.
31396         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
31397         Add vpfd32, lpae and evtstrm.
31398         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
31399         Increase to 22.
31401 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
31403         * math/auto-libm-test-in: Add tests of clog10.
31404         * math/auto-libm-test-out: Regenerated.
31405         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
31406         * sysdeps/i386/fpu/libm-test-ulps: Update.
31407         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31409 2014-02-18  Andreas Schwab  <schwab@suse.de>
31411         [BZ #16574]
31412         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
31413         Store non-zero if the second buffer was newly allocated.
31414         (send_dg): Likewise.
31415         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
31416         to send_vc and send_dg.
31417         (res_nsend): Pass NULL for ansp2_malloced.
31418         * resolv/res_query.c (__libc_res_nquery): Add parameter
31419         answerp2_malloced and pass it down to __libc_res_nsend.
31420         (res_nquery): Pass additional NULL to __libc_res_nquery.
31421         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
31422         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
31423         second answer buffer if answerp2_malloced was set.
31424         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
31425         (__libc_res_nquerydomain): Add parameter
31426         answerp2_malloced and pass it down to __libc_res_nquery.
31427         (res_nquerydomain): Pass additional NULL to
31428         __libc_res_nquerydomain.
31429         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
31430         additional NULL to __libc_res_nsend and __libc_res_nquery.
31431         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
31432         additional NULL to __libc_res_nsearch.
31433         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
31434         parameter of __libc_res_nsearch to check for separately allocated
31435         second buffer.
31436         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
31437         __libc_res_nquery.
31438         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
31439         additional NULL to __libc_res_nquery.
31440         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
31441         __libc_res_nsearch.
31442         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
31443         * include/resolv.h: Update prototypes of __libc_res_nquery,
31444         __libc_res_nsearch, __libc_res_nsend.
31446 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
31448         * math/auto-libm-test-in: Add tests of fma.
31449         * math/auto-libm-test-out: Regenerated.
31450         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
31451         (fma_towardzero_test_data): Likewise.
31452         (fma_downward_test_data): Likewise.
31453         (fma_upward_test_data): Likewise.
31454         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
31455         mpc_mode.
31456         (rounding_modes): Add values for new field.
31457         (func_calc_method): Add value mpfr_fff_f.
31458         (func_calc_desc): Add mpfr_fff_f union field.
31459         (test_function): Add field exact_args.
31460         (FUNC): Add macro argument EXACT_ARGS.
31461         (FUNC_mpfr_f_f): Update call to FUNC.
31462         (FUNC_mpfr_f_f): Likewise.
31463         (FUNC_mpfr_ff_f): Likewise.
31464         (FUNC_mpfr_if_f): Likewise.
31465         (FUNC_mpc_c_f): Likewise.
31466         (FUNC_mpc_c_c): Likewise.
31467         (test_functions): Add fma.  Update calls to FUNC.
31468         (handle_input_arg): Add argument exact_args.
31469         (add_test): Update call to handle_input_arg.
31470         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
31471         (output_for_one_input_case): Update call to calc_generic_results.
31472         Recalculate exact zero results in each rounding mode.
31474         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
31475         non-negative before setting low bit.
31476         * math/auto-libm-test-in: Mark one asin test possibly having
31477         spurious underflow.
31478         * math/auto-libm-test-out: Regenerated.
31479         * sysdeps/i386/fpu/libm-test-ulps: Update.
31480         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31482 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
31484         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
31485         * sysdeps/unix/sysv/linux/microblaze: Move directory from
31486         ports/sysdeps/unix/sysv/linux/microblaze.
31487         * README: Add missing listing for microblaze*-*-linux-gnu.
31489 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
31491         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
31492         duplicate code
31494 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
31496         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
31497         * sysdeps/unix/sysv/linux/ia64: Move directory from
31498         ports/sysdeps/unix/sysv/linux/ia64.
31499         * README: Update listing for ia64-*-linux-gnu.
31501 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
31502             Joseph Myers  <joseph@codesourcery.com>
31504         * Makeconfig (test-name): New variable.
31505         (evaluate-test): Likewise.
31506         * Makerules (do-test-clean): Remove .test-result files.
31507         (common-mostlyclean): Likewise.
31508         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
31509         * scripts/evaluate-test.sh: New file.
31511 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
31513         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
31514         separate $(objpfx)tst-fopenloc-cmp.out and
31515         $(objpfx)tst-fopenloc-mem.out targets.
31516         (tests): Update dependencies.
31517         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
31518         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
31519         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
31520         (tst-rxspencer-no-utf8-ARGS): New variable.
31521         (tst-rxspencer-no-utf8-ENV): Likewise.
31522         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
31523         instead of $(objpfx)tst-rxspencer-mem.
31524         ($(objpfx)tst-rxspencer-mem): Change target to
31525         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
31526         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
31527         * posix/tst-rxspencer-no-utf8.c: New file.
31529         * elf/Makefile ($(objpfx)order.out): Remove rule.
31530         [$(run-built-tests) = yes] (tests): Depend on
31531         $(objpfx)order-cmp.out.
31532         ($(objpfx)order-cmp.out): New rule.
31533         [$(run-built-tests) = yes] (tests): Depend on
31534         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
31535         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
31536         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
31537         $(objpfx)tst-array5-static-cmp.out.
31538         ($(objpfx)tst-array1.out): Remove rule.
31539         ($(objpfx)tst-array1-cmp.out): New rule.
31540         ($(objpfx)tst-array1-static.out): Remove rule.
31541         ($(objpfx)tst-array1-static-cmp.out): New rule.
31542         ($(objpfx)tst-array2.out): Remove rule.
31543         ($(objpfx)tst-array2-cmp.out): New rule.
31544         ($(objpfx)tst-array3.out): Remove rule.
31545         ($(objpfx)tst-array3-cmp.out): New rule.
31546         ($(objpfx)tst-array4.out): Remove rule.
31547         ($(objpfx)tst-array4-cmp.out): New rule.
31548         ($(objpfx)tst-array5.out): Remove rule.
31549         ($(objpfx)tst-array5-cmp.out): New rule.
31550         ($(objpfx)tst-array5-static.out): Remove rule.
31551         ($(objpfx)tst-array5-static-cmp.out): New rule.
31552         [$(run-built-tests) = yes] (tests): Depend on
31553         $(objpfx)order2-cmp.out.
31554         ($(objpfx)order2.out): Remove rule.
31555         ($(objpfx)order2-cmp.out): New rule.
31556         ($(objpfx)tst-initorder.out): Remove rule.
31557         [$(run-built-tests) = yes] (tests): Depend on
31558         $(objpfx)tst-initorder-cmp.out.
31559         ($(objpfx)tst-initorder-cmp.out): New rule.
31560         ($(objpfx)tst-initorder2.out): Remove rule.
31561         [$(run-built-tests) = yes] (tests): Depend on
31562         $(objpfx)tst-initorder2-cmp.out.
31563         ($(objpfx)tst-initorder2-cmp.out): New rule.
31564         [$(run-built-tests) = yes] (tests): Depend on
31565         $(objpfx)tst-unused-dep-cmp.out.
31566         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
31567         ($(objpfx)tst-unused-dep-cmp.out): New rule.
31568         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
31569         on $(objpfx)tst-setvbuf1-cmp.out.
31570         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
31571         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
31572         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
31573         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
31574         ($(objpfx)tst-svc.out): Remove rule.
31575         ($(objpfx)tst-svc-cmp.out): New rule.
31577 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
31579         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
31580         * ctype/ctype.h [__USE_MISC]: Likewise.
31581         * dirent/dirent.h [__USE_MISC]: Likewise.
31582         * grp/grp.h [__USE_MISC]: Likewise.
31583         * io/fcntl.h [__USE_MISC]: Likewise.
31584         * io/sys/stat.h [__USE_MISC]: Likewise.
31585         * libio/stdio.h [__USE_MISC]: Likewise.
31586         * posix/unistd.h [__USE_MISC]: Likewise.
31587         * pwd/pwd.h [__USE_MISC]: Likewise.
31588         * stdlib.h [__USE_MISC]: Likewise.
31589         * string/bits/string2.h [__USE_MISC]: Likewise.
31590         * string/string.h [__USE_MISC]: Likewise.
31591         * time/time.h [__USE_MISC]: Likewise.
31593 2014-02-13  Andreas Schwab  <schwab@suse.de>
31595         [BZ #16574]
31596         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
31597         second answer buffer if it was separately allocated.
31599 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
31601         * sysdeps/mips/math-tests.h: Include <features.h>.
31602         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
31603         (ROUNDING_TESTS_long_double): Do not define.
31604         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
31605         (EXCEPTION_TESTS_long_double): Likewise.
31606         * sysdeps/mips/mips64/libm-test-ulps: Update.
31608         * include/features.h (__USE_BSD): Remove macro definitions.
31609         (__USE_SVID): Likewise.
31610         (_BSD_SOURCE): Likewise.
31611         (_SVID_SOURCE): Likewise.
31612         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
31613         from definition of _DEFAULT_SOURCE.
31614         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
31615         [_DEFAULT_SOURCE].
31616         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
31617         * bits/mman.h [__USE_BSD]: Likewise.
31618         * bits/termios.h [__USE_BSD]: Likewise.
31619         * bits/waitstatus.h [__USE_BSD]: Likewise.
31620         * ctype/ctype.h [__USE_SVID]: Likewise.
31621         * dirent/dirent.h [__USE_BSD]: Likewise.
31622         * grp/grp.h [__USE_SVID]: Likewise.
31623         [__USE_BSD]: Likewise.
31624         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
31625         * io/fcntl.h [__USE_BSD]: Likewise.
31626         * io/ftw.h [__USE_BSD]: Likewise.
31627         * io/sys/stat.h [__USE_BSD]: Likewise.
31628         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
31629         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
31630         * libio/stdio.h [__USE_SVID]: Likewise.
31631         [__USE_BSD]: Likewise.
31632         * math/math.h [__USE_SVID]: Likewise.
31633         [__USE_BSD]: Likewise.
31634         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
31635         * misc/bits/syslog.h [__USE_BSD]: Likewise.
31636         * misc/search.h [__USE_SVID]: Likewise.
31637         * misc/sys/mman.h [__USE_BSD]: Likewise.
31638         * misc/sys/syslog.h [__USE_BSD]: Likewise.
31639         * misc/sys/uio.h [__USE_BSD]: Likewise.
31640         * posix/bits/unistd.h [__USE_BSD]: Likewise.
31641         * posix/glob.h [__USE_BSD]: Likewise.
31642         * posix/regex.h [__USE_BSD]: Likewise.
31643         * posix/sys/types.h [__USE_BSD]: Likewise.
31644         [__USE_SVID]: Likewise.
31645         * posix/sys/utsname.h [__USE_SVID]: Likewise.
31646         * posix/sys/wait.h [__USE_BSD]: Likewise.
31647         [__USE_SVID]: Likewise.
31648         * posix/unistd.h [__USE_BSD]: Likewise.
31649         [__USE_SVID]: Likewise.
31650         * pwd/pwd.h [__USE_SVID]: Likewise.
31651         * resolv/netdb.h [__USE_BSD]: Likewise.
31652         * setjmp/setjmp.h [__USE_BSD]: Likewise.
31653         * signal/signal.h [__USE_BSD]: Likewise.
31654         [__USE_SVID]: Likewise.
31655         * socket/sys/socket.h [__USE_BSD]: Likewise.
31656         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
31657         * stdlib/stdlib.h [__USE_BSD]: Likewise.
31658         [__USE_SVID]: Likewise.
31659         * string/bits/string2.h [__USE_BSD]: Likewise.
31660         [__USE_SVID]: Likewise.
31661         * string/bits/string3.h [__USE_BSD]: Likewise.
31662         * string/endian.h [__USE_BSD]: Likewise.
31663         * string/string.h [__USE_SVID]: Likewise.
31664         [__USE_BSD]: Likewise.
31665         * string/strings.h [__USE_BSD]: Likewise.
31666         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
31667         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
31668         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
31669         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
31670         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
31671         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
31672         Likewise.
31673         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
31674         Likewise.
31675         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
31676         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
31677         Likewise.
31678         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
31679         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
31680         Likewise.
31681         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
31682         Likewise.
31683         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
31684         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
31685         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
31686         Likewise.
31687         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
31688         Likewise.
31689         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
31690         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
31691         * termios/termios.h [__USE_BSD]: Likewise.
31692         * time/sys/time.h [__USE_BSD]: Likewise.
31693         * time/time.h [__USE_BSD]: Likewise.
31694         [__USE_SVID]: Likewise.
31696         * Makefile (subdir_targets): Remove subdir_lint.out.
31698         * stdio-common/Makefile (do-tst-unbputc): Remove target.
31699         (do-tst-printf): Likewise.
31700         (tests): Depend directly on $(objpfx)tst-unbputc.out and
31701         $(objpfx)tst-printf.out.
31703         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
31705         * Makerules (check-abi-%): Change target to
31706         $(objpfx)check-abi-%.out.
31707         (check-abi target): Update dependencies.
31708         (check-abi-pattern variable): Redirect output of diff to $@.
31709         (check-abi variable): Likewise.
31710         * elf/Makefile (check-abi): Update dependencies.
31712         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
31713         unused.
31714         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
31715         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
31716         subnormal range.
31717         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
31718         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
31719         value has largest subnormal exponent.
31720         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
31721         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
31722         * sysdeps/aarch64/soft-fp/sfp-machine.h
31723         (_FP_TININESS_AFTER_ROUNDING): New macro.
31724         * sysdeps/alpha/soft-fp/sfp-machine.h
31725         (_FP_TININESS_AFTER_ROUNDING): Likewise.
31726         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
31727         Likewise.
31728         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
31729         (_FP_TININESS_AFTER_ROUNDING): Likewise.
31730         * sysdeps/mips/soft-fp/sfp-machine.h
31731         (_FP_TININESS_AFTER_ROUNDING): Likewise.
31732         * sysdeps/powerpc/soft-fp/sfp-machine.h
31733         (_FP_TININESS_AFTER_ROUNDING): Likewise.
31734         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
31735         Likewise.
31736         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
31737         (_FP_TININESS_AFTER_ROUNDING): Likewise.
31738         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
31739         (_FP_TININESS_AFTER_ROUNDING): Likewise.
31740         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
31741         Likewise.
31743 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
31745         [BZ #16545]
31746         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
31747         model 1.
31749 2014-02-12  Richard Henderson  <rth@redhat.com>
31751         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
31752         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
31753         * sysdeps/unix/sysv/linux/alpha: Move directory from
31754         ports/sysdeps/unix/sysv/linux/alpha.
31755         * README: Update listing for alpha-*-linux-gnu.
31757 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
31759         * include/features.h: Update comment documenting feature test
31760         macros.
31761         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
31762         _DEFAULT_SOURCE.
31763         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
31764         (_SVID_SOURCE): Likewise.
31765         (_DEFAULT_SOURCE): Update description of default features.
31766         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
31767         with _GNU_SOURCE.
31768         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
31769         (S_ISVTX): Likewise.
31770         * manual/math.texi (Mathematical Constants): Likewise.
31771         * manual/signal.texi (Interrupted Primitives): Likewise.
31772         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
31773         * math/test-matherr.c (_SVID_SOURCE): Do not define.
31774         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
31775         Don't refer to _SVID_SOURCE in warning text.
31777         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31779         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
31780         already defined.
31781         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
31782         * sysdeps/mips/dl-lookup.c: Remove.
31783         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
31785 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
31787         [BZ #16447]
31788         * math/auto-libm-test-in: Add testcase for expl.
31789         * math/auto-libm-test-out: Regenerate.
31790         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
31791         calculation of unsafe.
31792         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
31794 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
31796         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
31797         * sysdeps/unix/sysv/linux/aarch64: Move directory from
31798         ports/sysdeps/unix/sysv/linux/aarch64.
31799         * README: Update listing for aarch64*-*-linux-gnu.
31801 2014-02-11  Will Newton  <will.newton@linaro.org>
31803         * manual/probes.texi (Mathematical Function Probes): Use
31804         "triggered" instead of "hit".
31806         * manual/probes.texi (Internal Probes): Add documentation
31807         of setjmp, longjmp and longjmp_target probes.
31809         * include/stap-probe.h: Add comment about probe argument
31810         format.
31812         * malloc/mtrace.c (attribute_hidden): Remove unused macro
31813         definition.  (tr_where, tr_freehook, tr_mallochook,
31814         tr_reallochook, tr_memalignhook): Use ANSI protoype.
31816 2014-02-11  David S. Miller  <davem@davemloft.net>
31818         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
31819         processing int_tests.
31821 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
31823         * sysdeps/mips: Move directory from ports/sysdeps/mips.
31824         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
31825         * sysdeps/unix/sysv/linux/mips: Move directory from
31826         ports/sysdeps/unix/sysv/linux/mips.
31827         * README: Update listing for mips-*-linux-gnu and
31828         mips64-*-linux-gnu.
31830 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
31832         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
31833         * sysdeps/unix/sysv/linux/m68k: Move directory from
31834         ports/sysdeps/unix/sysv/linux/m68k.
31835         * README: Update listing for m68k-*-linux-gnu.
31837 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
31839         * sysdeps/tile: Move directory from ports/sysdeps/tile.
31840         * sysdeps/unix/sysv/linux/generic: Move directory from
31841         ports/sysdeps/unix/sysv/linux/generic.
31842         * sysdeps/unix/sysv/linux/tile: Move directory from
31843         ports/sysdeps/unix/sysv/linux/tile.
31844         * README: Update listing for tile*-*-linux-gnu.
31846 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
31848         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
31849         __builtin_expect.
31850         * benchtests/bench-memmem.c (simple_memmem): Likewise.
31851         * catgets/open_catalog.c (__open_catalog): Likewise.
31852         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
31853         * debug/confstr_chk.c: Likewise.
31854         * debug/fread_chk.c (__fread_chk): Likewise.
31855         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
31856         * debug/getgroups_chk.c: Likewise.
31857         * debug/mbsnrtowcs_chk.c: Likewise.
31858         * debug/mbsrtowcs_chk.c: Likewise.
31859         * debug/mbstowcs_chk.c: Likewise.
31860         * debug/memcpy_chk.c: Likewise.
31861         * debug/memmove_chk.c: Likewise.
31862         * debug/mempcpy_chk.c: Likewise.
31863         * debug/memset_chk.c: Likewise.
31864         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
31865         * debug/strcat_chk.c (__strcat_chk): Likewise.
31866         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
31867         * debug/strncat_chk.c (__strncat_chk): Likewise.
31868         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
31869         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
31870         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
31871         * debug/wcpncpy_chk.c: Likewise.
31872         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
31873         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
31874         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
31875         * debug/wcsncpy_chk.c: Likewise.
31876         * debug/wcsnrtombs_chk.c: Likewise.
31877         * debug/wcsrtombs_chk.c: Likewise.
31878         * debug/wcstombs_chk.c: Likewise.
31879         * debug/wmemcpy_chk.c: Likewise.
31880         * debug/wmemmove_chk.c: Likewise.
31881         * debug/wmempcpy_chk.c: Likewise.
31882         * debug/wmemset_chk.c: Likewise.
31883         * dirent/scandirat.c (SCANDIRAT): Likewise.
31884         * dlfcn/dladdr1.c (dladdr1): Likewise.
31885         * dlfcn/dladdr.c (dladdr): Likewise.
31886         * dlfcn/dlclose.c (dlclose_doit): Likewise.
31887         * dlfcn/dlerror.c (__dlerror): Likewise.
31888         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
31889         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
31890         * dlfcn/dlopen.c (dlopen_doit): Likewise.
31891         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
31892         * dlfcn/dlsym.c (dlsym_doit): Likewise.
31893         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
31894         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
31895         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
31896         Likewise.
31897         * elf/dl-conflict.c: Likewise.
31898         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
31899         * elf/dl-dst.h: Likewise.
31900         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
31901         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
31902         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
31903         * elf/dl-init.c (call_init, _dl_init): Likewise.
31904         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
31905         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
31906         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
31907         Likewise.
31908         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
31909         Likewise.
31910         * elf/dl-minimal.c (__libc_memalign): Likewise.
31911         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
31912         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
31913         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
31914         * elf/dl-sym.c (do_sym): Likewise.
31915         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
31916         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
31917         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
31918         * elf/dl-writev.h (_dl_writev): Likewise.
31919         * elf/ldconfig.c (search_dir): Likewise.
31920         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
31921         (dl_main): Likewise.
31922         * elf/setup-vdso.h (setup_vdso): Likewise.
31923         * grp/compat-initgroups.c (compat_call): Likewise.
31924         * grp/fgetgrent.c (fgetgrent): Likewise.
31925         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
31926         * grp/putgrent.c (putgrent): Likewise.
31927         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
31928         Likewise.
31929         * hurd/hurdinit.c: Likewise.
31930         * iconvdata/8bit-gap.c (struct): Likewise.
31931         * iconvdata/ansi_x3.110.c : Likewise.
31932         * iconvdata/big5.c : Likewise.
31933         * iconvdata/big5hkscs.c : Likewise.
31934         * iconvdata/cp1255.c: Likewise.
31935         * iconvdata/cp1258.c : Likewise.
31936         * iconvdata/cp932.c : Likewise.
31937         * iconvdata/euc-cn.c: Likewise.
31938         * iconvdata/euc-jisx0213.c : Likewise.
31939         * iconvdata/euc-jp.c: Likewise.
31940         * iconvdata/euc-jp-ms.c : Likewise.
31941         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
31942         * iconvdata/gb18030.c : Likewise.
31943         * iconvdata/gbbig5.c (const): Likewise.
31944         * iconvdata/gbgbk.c: Likewise.
31945         * iconvdata/gbk.c : Likewise.
31946         * iconvdata/ibm1364.c : Likewise.
31947         * iconvdata/ibm930.c : Likewise.
31948         * iconvdata/ibm932.c: Likewise.
31949         * iconvdata/ibm933.c : Likewise.
31950         * iconvdata/ibm935.c : Likewise.
31951         * iconvdata/ibm937.c : Likewise.
31952         * iconvdata/ibm939.c : Likewise.
31953         * iconvdata/ibm943.c: Likewise.
31954         * iconvdata/iso_11548-1.c: Likewise.
31955         * iconvdata/iso-2022-cn.c : Likewise.
31956         * iconvdata/iso-2022-cn-ext.c : Likewise.
31957         * iconvdata/iso-2022-jp-3.c: Likewise.
31958         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
31959         * iconvdata/iso-2022-kr.c : Likewise.
31960         * iconvdata/iso646.c (gconv_end): Likewise.
31961         * iconvdata/iso_6937-2.c : Likewise.
31962         * iconvdata/iso_6937.c : Likewise.
31963         * iconvdata/iso8859-1.c: Likewise.
31964         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
31965         * iconvdata/shift_jisx0213.c : Likewise.
31966         * iconvdata/sjis.c : Likewise.
31967         * iconvdata/t.61.c : Likewise.
31968         * iconvdata/tcvn5712-1.c : Likewise.
31969         * iconvdata/tscii.c: Likewise.
31970         * iconvdata/uhc.c : Likewise.
31971         * iconvdata/unicode.c (gconv_end): Likewise.
31972         * iconvdata/utf-16.c (gconv_end): Likewise.
31973         * iconvdata/utf-32.c (gconv_end): Likewise.
31974         * iconvdata/utf-7.c (base64): Likewise.
31975         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
31976         * iconv/gconv_close.c (__gconv_close): Likewise.
31977         * iconv/gconv_open.c (__gconv_open): Likewise.
31978         * iconv/gconv_simple.c (internal_ucs4_loop_single)
31979         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
31980         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
31981         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
31982         (ucs4le_internal_loop_single): Likewise.
31983         * iconv/iconv.c (iconv): Likewise.
31984         * iconv/iconv_close.c: Likewise.
31985         * iconv/loop.c (SINGLE): Likewise.
31986         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
31987         * include/atomic.h: Likewise.
31988         * inet/inet6_option.c (option_alloc): Likewise.
31989         * intl/bindtextdom.c (set_binding_values): Likewise.
31990         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
31991         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
31992         * intl/localealias.c (read_alias_file): Likewise.
31993         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
31994         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
31995         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
31996         * libio/fmemopen.c (fmemopen): Likewise.
31997         * libio/iofgets.c (_IO_fgets): Likewise.
31998         * libio/iofgets_u.c (fgets_unlocked): Likewise.
31999         * libio/iofgetws.c (fgetws): Likewise.
32000         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
32001         * libio/iogetdelim.c (_IO_getdelim): Likewise.
32002         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
32003         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
32004         * locale/findlocale.c (_nl_find_locale): Likewise.
32005         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
32006         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
32007         Likewise.
32008         * locale/setlocale.c (setlocale): Likewise.
32009         * login/programs/pt_chown.c (main): Likewise.
32010         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
32011         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
32012         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
32013         (mmap, mmap64, mremap, munmap): Likewise.
32014         * math/e_exp2l.c: Likewise.
32015         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
32016         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
32017         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
32018         * math/s_catan.c (__catan): Likewise.
32019         * math/s_catanf.c (__catanf): Likewise.
32020         * math/s_catanh.c (__catanh): Likewise.
32021         * math/s_catanhf.c (__catanhf): Likewise.
32022         * math/s_catanhl.c (__catanhl): Likewise.
32023         * math/s_catanl.c (__catanl): Likewise.
32024         * math/s_ccosh.c (__ccosh): Likewise.
32025         * math/s_ccoshf.c (__ccoshf): Likewise.
32026         * math/s_ccoshl.c (__ccoshl): Likewise.
32027         * math/s_cexp.c (__cexp): Likewise.
32028         * math/s_cexpf.c (__cexpf): Likewise.
32029         * math/s_cexpl.c (__cexpl): Likewise.
32030         * math/s_clog10.c (__clog10): Likewise.
32031         * math/s_clog10f.c (__clog10f): Likewise.
32032         * math/s_clog10l.c (__clog10l): Likewise.
32033         * math/s_clog.c (__clog): Likewise.
32034         * math/s_clogf.c (__clogf): Likewise.
32035         * math/s_clogl.c (__clogl): Likewise.
32036         * math/s_csin.c (__csin): Likewise.
32037         * math/s_csinf.c (__csinf): Likewise.
32038         * math/s_csinh.c (__csinh): Likewise.
32039         * math/s_csinhf.c (__csinhf): Likewise.
32040         * math/s_csinhl.c (__csinhl): Likewise.
32041         * math/s_csinl.c (__csinl): Likewise.
32042         * math/s_csqrt.c (__csqrt): Likewise.
32043         * math/s_csqrtf.c (__csqrtf): Likewise.
32044         * math/s_csqrtl.c (__csqrtl): Likewise.
32045         * math/s_ctan.c (__ctan): Likewise.
32046         * math/s_ctanf.c (__ctanf): Likewise.
32047         * math/s_ctanh.c (__ctanh): Likewise.
32048         * math/s_ctanhf.c (__ctanhf): Likewise.
32049         * math/s_ctanhl.c (__ctanhl): Likewise.
32050         * math/s_ctanl.c (__ctanl): Likewise.
32051         * math/w_pow.c: Likewise.
32052         * math/w_powf.c: Likewise.
32053         * math/w_powl.c: Likewise.
32054         * math/w_scalb.c (sysv_scalb): Likewise.
32055         * math/w_scalbf.c (sysv_scalbf): Likewise.
32056         * math/w_scalbl.c (sysv_scalbl): Likewise.
32057         * misc/error.c (error_tail): Likewise.
32058         * misc/pselect.c (__pselect): Likewise.
32059         * nis/nis_callback.c (__nis_create_callback): Likewise.
32060         * nis/nis_call.c (__nisfind_server): Likewise.
32061         * nis/nis_creategroup.c (nis_creategroup): Likewise.
32062         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
32063         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
32064         * nis/nis_getservlist.c (nis_getservlist): Likewise.
32065         * nis/nis_lookup.c (nis_lookup): Likewise.
32066         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
32067         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
32068         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
32069         * nis/nis_xdr.c (xdr_endpoint): Likewise.
32070         * nis/nss_compat/compat-grp.c (getgrent_next_file)
32071         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
32072         * nis/nss_compat/compat-initgroups.c (add_group)
32073         (internal_getgrent_r): Likewise.
32074         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
32075         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
32076         * nis/nss_compat/compat-spwd.c (getspent_next_file)
32077         (internal_getspnam_r): Likewise.
32078         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
32079         (_nss_nis_getaliasbyname_r): Likewise.
32080         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
32081         (_nss_nis_getntohost_r): Likewise.
32082         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
32083         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
32084         (_nss_nis_getgrgid_r): Likewise.
32085         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
32086         (internal_nis_gethostent_r, internal_gethostbyname2_r)
32087         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
32088         (_nss_nis_gethostbyname4_r): Likewise.
32089         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
32090         (initgroups_netid): Likewise.
32091         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
32092         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
32093         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
32094         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
32095         (_nss_nis_getprotobynumber_r): Likewise.
32096         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
32097         (_nss_nis_getsecretkey): Likewise.
32098         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
32099         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
32100         (_nss_nis_getpwuid_r): Likewise.
32101         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
32102         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
32103         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
32104         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
32105         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
32106         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
32107         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
32108         Likewise.
32109         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
32110         (_nss_nisplus_getntohost_r): Likewise.
32111         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
32112         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
32113         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
32114         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
32115         Likewise.
32116         * nis/nss_nisplus/nisplus-initgroups.c
32117         (_nss_nisplus_initgroups_dyn): Likewise.
32118         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
32119         (_nss_nisplus_getnetbyaddr_r): Likewise.
32120         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
32121         (_nss_nisplus_getprotobynumber_r): Likewise.
32122         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
32123         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
32124         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
32125         Likewise.
32126         * nis/nss_nisplus/nisplus-service.c
32127         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
32128         (_nss_nisplus_getservbyport_r): Likewise.
32129         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
32130         (_nss_nisplus_getspnam_r): Likewise.
32131         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
32132         Likewise.
32133         * nscd/aicache.c (addhstaiX): Likewise.
32134         * nscd/cache.c (cache_search, prune_cache): Likewise.
32135         * nscd/connections.c (register_traced_file, send_ro_fd)
32136         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
32137         (main_loop_epoll): Likewise.
32138         * nscd/grpcache.c (addgrbyX): Likewise.
32139         * nscd/hstcache.c (addhstbyX): Likewise.
32140         * nscd/initgrcache.c (addinitgroupsX): Likewise.
32141         * nscd/mem.c (gc, mempool_alloc): Likewise.
32142         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
32143         (addinnetgrX): Likewise.
32144         * nscd/nscd-client.h (__nscd_acquire_maplock)
32145         (__nscd_drop_map_ref): Likewise.
32146         * nscd/nscd_getai.c (__nscd_getai): Likewise.
32147         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
32148         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
32149         Likewise.
32150         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
32151         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
32152         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
32153         (__nscd_get_map_ref): Likewise.
32154         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
32155         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
32156         Likewise.
32157         * nscd/pwdcache.c (addpwbyX): Likewise.
32158         * nscd/selinux.c (preserve_capabilities): Likewise.
32159         * nscd/servicescache.c (addservbyX): Likewise.
32160         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
32161         * posix/fnmatch.c (fnmatch): Likewise.
32162         * posix/getopt.c (_getopt_internal_r): Likewise.
32163         * posix/glob.c (glob, glob_in_dir): Likewise.
32164         * posix/wordexp.c (exec_comm_child): Likewise.
32165         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
32166         (getanswer_r, gaih_getanswer_slice): Likewise.
32167         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
32168         * resolv/res_init.c: Likewise.
32169         * resolv/res_mkquery.c (res_nmkquery): Likewise.
32170         * resolv/res_query.c (__libc_res_nquery): Likewise.
32171         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
32172         Likewise.
32173         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
32174         * stdio-common/perror.c (perror): Likewise.
32175         * stdio-common/printf_fp.c (___printf_fp): Likewise.
32176         * stdio-common/tmpnam.c (tmpnam): Likewise.
32177         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
32178         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
32179         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
32180         Likewise.
32181         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
32182         * stdlib/putenv.c (putenv): Likewise.
32183         * stdlib/setenv.c (__add_to_environ): Likewise.
32184         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
32185         * stdlib/strtol_l.c (INTERNAL): Likewise.
32186         * string/memmem.c (memmem): Likewise.
32187         * string/strerror.c (strerror): Likewise.
32188         * string/strnlen.c (__strnlen): Likewise.
32189         * string/test-memmem.c (simple_memmem): Likewise.
32190         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
32191         * sunrpc/pm_getport.c (__get_socket): Likewise.
32192         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
32193         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
32194         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
32195         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
32196         Likewise.
32197         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
32198         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
32199         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
32200         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
32201         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
32202         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
32203         Likewise.
32204         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
32205         Likewise.
32206         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
32207         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
32208         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
32209         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
32210         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
32211         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
32212         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
32213         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
32214         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
32215         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
32216         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
32217         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
32218         Likewise.
32219         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
32220         Likewise.
32221         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
32222         Likewise.
32223         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
32224         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
32225         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
32226         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
32227         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
32228         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
32229         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
32230         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
32231         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
32232         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
32233         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
32234         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32235         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
32236         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
32237         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32238         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
32239         Likewise.
32240         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
32241         Likewise.
32242         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
32243         Likewise.
32244         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
32245         Likewise.
32246         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
32247         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32248         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
32249         Likewise.
32250         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
32251         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
32252         * sysdeps/posix/opendir.c (__opendirat): Likewise.
32253         * sysdeps/posix/sleep.c: Likewise.
32254         * sysdeps/posix/tempname.c: Likewise.
32255         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
32256         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
32257         Likewise.
32258         * sysdeps/powerpc/powerpc32/dl-machine.h
32259         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
32260         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
32261         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
32262         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
32263         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
32264         Likewise.
32265         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
32266         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
32267         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
32268         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
32269         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
32270         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
32271         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
32272         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
32273         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
32274         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
32275         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
32276         (elf_machine_lazy_rel): Likewise.
32277         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
32278         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
32279         (elf_machine_lazy_rel): Likewise.
32280         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
32281         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
32282         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
32283         * sysdeps/unix/grantpt.c (grantpt): Likewise.
32284         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
32285         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
32286         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
32287         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32288         Likewise.
32289         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
32290         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
32291         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
32292         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
32293         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
32294         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
32295         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
32296         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
32297         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
32298         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
32299         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
32300         Likewise.
32301         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
32302         (__posix_fallocate64_l64): Likewise.
32303         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
32304         (posix_fallocate): Likewise.
32305         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
32306         Likewise.
32307         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
32308         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
32309         (getifaddrs_internal): Likewise.
32310         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
32311         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
32312         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
32313         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
32314         * sysdeps/unix/sysv/linux/posix_fallocate64.c
32315         (__posix_fallocate64_l64): Likewise.
32316         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
32317         Likewise.
32318         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
32319         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
32320         (__get_clockfreq): Likewise.
32321         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
32322         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
32323         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
32324         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
32325         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
32326         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
32327         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
32328         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
32329         Likewise.
32330         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
32331         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
32332         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
32333         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
32334         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
32335         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
32336         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
32337         Likewise.
32338         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
32339         (posix_fallocate): Likewise.
32340         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
32341         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
32342         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
32343         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
32344         (elf_machine_rela, elf_machine_rela_relative)
32345         (elf_machine_lazy_rel): Likewise.
32346         * time/asctime.c (asctime_internal): Likewise.
32347         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
32348         * time/tzset.c (__tzset_parse_tz): Likewise.
32349         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
32350         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
32351         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
32352         * wcsmbs/wcsmbsload.h: Likewise.
32354         [BZ #15894]
32355         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
32357         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
32358         (arena_get2): Remove THREAD_STATS conditionals.
32359         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
32360         (__malloc_stats, int): Likewise.
32362 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
32364         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
32365         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
32367         * manual/setjmp.texi: Fix typos/grammar errors.
32369         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
32370         Only return early when n is <= 0.  Delete unused return statement.
32372         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
32373         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
32374         * debug/tst-longjmp_chk3.c: New file.
32376         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
32377         (test_main): Replace code with set_fortify_handler call.
32378         * debug/test-strcpy_chk.c: Likewise.
32379         * debug/tst-chk1.c: Likewise.
32380         * debug/tst-longjmp_chk.c: Likewise.
32381         * test-skeleton.c: Include fcntl.h & paths.h
32382         (set_fortify_handler): Define.
32384         * debug/tst-longjmp_chk.c: Add header comment and include
32385         ../test-skeleton.c.
32386         (do_test): Mark static.
32387         (TEST_FUNCTION): Define.
32389         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
32390         (IP_PMTUDISC_INTERFACE): Likewise.
32391         (IP_MULTICAST_IF): Likewise.
32392         (IP_MULTICAST_TTL): Likewise.
32393         (IP_MULTICAST_LOOP): Likewise.
32394         (IP_ADD_MEMBERSHIP): Likewise.
32395         (IP_DROP_MEMBERSHIP): Likewise.
32396         (IP_UNBLOCK_SOURCE): Likewise.
32397         (IP_BLOCK_SOURCE): Likewise.
32398         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
32399         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
32400         (IP_MSFILTER): Likewise.
32401         (MCAST_JOIN_GROUP): Likewise.
32402         (MCAST_BLOCK_SOURCE): Likewise.
32403         (MCAST_UNBLOCK_SOURCE): Likewise.
32404         (MCAST_LEAVE_GROUP): Likewise.
32405         (MCAST_JOIN_SOURCE_GROUP): Likewise.
32406         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
32407         (MCAST_MSFILTER): Likewise.
32408         (IP_MULTICAST_ALL): Likewise.
32409         (IP_UNICAST_IF): Likewise.
32411         * timezone/Makefile: Delete $(have-ksh) check.
32412         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
32413         * timezone/tzselect.ksh: Add +x mode bits.
32415         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
32416         (ANON_INODE_FS_MAGIC): Likewise.
32417         (BDEVFS_MAGIC): Likewise.
32418         (BINFMTFS_MAGIC): Likewise.
32419         (BTRFS_TEST_MAGIC): Likewise.
32420         (CRAMFS_MAGIC_WEND): Likewise.
32421         (DEBUGFS_MAGIC): Likewise.
32422         (ECRYPTFS_SUPER_MAGIC): Likewise.
32423         (EXT3_SUPER_MAGIC): Likewise.
32424         (EXT4_SUPER_MAGIC): Likewise.
32425         (FUTEXFS_SUPER_MAGIC): Likewise.
32426         (HOSTFS_SUPER_MAGIC): Likewise.
32427         (HUGETLBFS_MAGIC): Likewise.
32428         (MINIX3_SUPER_MAGIC): Likewise.
32429         (MTD_INODE_FS_MAGIC): Likewise.
32430         (NILFS_SUPER_MAGIC): Likewise.
32431         (OPENPROM_SUPER_MAGIC): Likewise.
32432         (PIPEFS_MAGIC): Likewise.
32433         (PSTOREFS_MAGIC): Likewise.
32434         (QNX6_SUPER_MAGIC): Likewise.
32435         (RAMFS_MAGIC): Likewise.
32436         (REISERFS_SUPER_MAGIC_STRING): Likewise.
32437         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
32438         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
32439         (SECURITYFS_MAGIC): Likewise.
32440         (SELINUX_MAGIC): Likewise.
32441         (SMACK_MAGIC): Likewise.
32442         (SOCKFS_MAGIC): Likewise.
32443         (SQUASHFS_MAGIC): Likewise.
32444         (STACK_END_MAGIC): Likewise.
32445         (TMPFS_MAGIC): Likewise.
32446         (USBDEVICE_SUPER_MAGIC): Likewise.
32447         (V9FS_MAGIC): Likewise.
32448         (XENFS_SUPER_MAGIC): Likewise.
32449         (CRAMFS_MAGIC): Fix typo in comment.
32450         (EXT2_SUPER_MAGIC): Update comment.
32451         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
32453 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
32455         * sysdeps/arm: Move directory from ports/sysdeps/arm.
32456         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
32457         * sysdeps/unix/sysv/linux/arm: Move directory from
32458         ports/sysdeps/unix/sysv/linux/arm.
32459         * README: Update listing for arm-*-linux-gnueabi.
32461         * README: Remove mention of am33.
32463 2014-02-07  Roland McGrath  <roland@hack.frob.com>
32465         * bits/sigset.h (__sigemptyset): Use a statement expression rather
32466         than the comma operator, to avoid "rhs of comma has no effect"
32467         compiler warnings.
32468         (__sigfillset, __sigandset, __sigorset): Likewise.
32469         * include/signal.h (__sigemptyset): Likewise.
32470         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
32472 2014-02-07  Allan McRae  <allan@archlinux.org>
32474         * version.h (RELEASE): Set to "development".
32475         (VERSION): Set to "2.19.90"
32476         * NEWS: Add 2.20 section.
32478 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
32480         [BZ #16529]
32481         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
32483 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
32485         * manual/contrib.texi: Update entry for Carlos O'Donell,
32486         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
32488 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
32490         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
32492         * sysdeps/unix/sysv/linux/kernel-features.h
32493         [__LINUX_KERNEL_VERSION >= 0x020621]
32494         (__ASSUME_PROC_PID_TASK_COMM): Define.
32496 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
32498         [BZ #16398]
32499         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
32500         conversion when destination buffer does not have enough space.
32501         * libio/tst-ftell-partial-wide.c: New test case.
32502         * libio/Makefile (tests): Add tst-ftell-partial-wide.
32504         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
32505         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
32506         Leonard and Allan McRae.
32508 2014-02-04  David S. Miller  <davem@davemloft.net>
32510         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
32511         32-bit.
32513 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
32516         New file
32517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
32518         New file
32519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
32520         New file.
32521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
32522         New file.
32523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
32524         New file.
32525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
32526         New file.
32527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
32528         New file.
32529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
32530         New file.
32531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
32532         New file.
32533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
32534         New file.
32535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
32536         New file.
32537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
32538         New file.
32539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
32540         New file.
32542 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32544         * nptl/shlib-versions: Change powerpc*le start to 2.17.
32545         * shlib-versions: Likewise.
32547 2014-02-04  Roland McGrath  <roland@hack.frob.com>
32548             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32550         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
32551         (abilist-pattern): New variable, set to %-le.abilist.
32553         * Makerules (abilist-pattern): New variable.
32554         (vpath): Use $(abilist-pattern) in place of %.abilist.
32555         (check-abi-% pattern rule): Likewise.
32556         (check-abi, update-abi): Likewise.
32558 2014-02-04  Eric Wong  <normalperson@yhbt.net>
32560         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32562 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
32564         * manual/startup.texi: Add next, previous, and top entries for
32565         the `Program Arguments' and `Environment Variables' nodes.
32567 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
32569         * manual/macros.texi: Add comments before MTASC-safety macros.
32571         * manual/users.texi: Document MTASC-safety properties.
32573         * manual/threads.texi (pthread_key_create, pthread_key_delete)
32574         (pthread_getspecific, pthread_setspecific): Format with
32575         @deftypefun, and add @safety note.
32576         * manual/signal.texi: Move comments that analyze the above
32577         functions to their home place.
32579 2014-02-03  Allan McRae  <allan@archlinux.org>
32581         * po/sl.po: Update Slovenian translation from translation project.
32583 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
32585         * manual/time.texi (timegm): Add missing blank after @c.
32586         Reported by Joseph Myers <joseph@codesourcery.com>.
32588 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
32590         * manual/check-safety.sh: New.
32591         * manual/Makefile ($(objpfx)stamp-summary): Run it.
32593         * manual/terminal.texi: Document MTASC-safety properties.
32595         * manual/filesys.texi: Document MTASC-safety properties.
32597         * manual/errno.texi: Document MTASC-safety properties.
32599         * manual/intro.texi: Document safety identifiers and
32600         conditionals.
32602         * manual/string.texi (wcstok): Fix prototype.
32603         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
32605         * manual/time.texi: Document MTASC-safety properties.
32607         * manual/string.texi: Document MTASC-safety properties.
32609         * manual/threads.texi: Document MTASC-safety properties.
32611         * manual/stdio.texi: Document MTASC-safety properties.
32613         * manual/syslog.texi: Document MTASC-safety properties.
32615         * manual/sysinfo.texi: Document MTASC-safety properties.
32617         * manual/startup.texi: Document MTASC-safety properties.
32619         * manual/socket.texi: Document MTASC-safety properties.
32621         * manual/signal.texi: Document MTASC-safety properties.
32623 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
32625         * manual/setjmp.texi: Document MTASC-safety properties.
32627         * manual/search.texi: Document MTASC-safety properties.
32629         * manual/resource.texi: Document MTASC-safety properties.
32631         * manual/process.texi: Document MTASC-safety properties.
32633         * manual/platform.texi: Document MTASC-safety properties.
32635         * manual/pipe.texi: Document MTASC-safety properties.
32637         * manual/pattern.texi: Document MTASC-safety properties.
32639         * manual/message.texi: Document MTASC-safety properties.
32641         [BZ #12751]
32642         * manual/memory.texi: Document MTASC-safety properties.
32644         * manual/math.texi: Document MTASC-safety properties.
32646         * manual/locale.texi: Document MTASC-safety properties.
32648         * manual/llio.texi: Document MTASC-safety properties.
32650         * manual/libdl.texi: New.
32652         * manual/lang.texi: Document MTASC-safety properties.
32654         * manual/job.texi: Document MTASC-safety properties.
32656         * manual/getopt.texi: Document MTASC-safety properties.
32658         * manual/ctype.texi: Document MTASC-safety properties.
32660 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
32662         [BZ #16046]
32663         * csu/libc-tls.c (static_map): Remove variable.
32664         (__libc_setup_tls): Use main executable's link map for TLS data.
32665         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
32666         casing for LM_ID_BASE and GL(dl_nns).
32667         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
32668         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
32669         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
32670         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
32671         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
32672         member.
32673         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
32674         l_phnum members.
32676 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
32678         * manual/debug.texi: Document MTASC-safety properties.
32680 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
32682         [BZ #16510]
32683         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
32684         of __x86_64__ when disabling x87 inline functions.
32686 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
32688         * manual/charset.texi: Document MTASC-safety properties.
32690         * manual/crypt.texi: Document MTASC-safety properties.
32692         * manual/conf.texi: Document MTASC-safety properties.
32694         * manual/arith.texi: Document MTASC-safety properties.
32696         * manual/argp.texi: Document MTASC-safety properties.
32698         * manual/macros.texi: Introduce macros to document multi
32699         thread, asynchronous signal and asynchronous cancellation
32700         safety properties.
32701         * manual/intro.texi: Introduce the properties themselves.
32703 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32705         * sysdeps/sh/sh4/Makefile: New file.
32707 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
32709         * math/gen-libm-test.pl ($srcdir): New variable.
32710         ($auto_input): Use it.
32712 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
32714         [BZ #16506]
32715         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
32716         access beyond array bounds when parsing netgroups file.
32718         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
32719         the old buffer before realloc.
32721 2014-01-27  Allan McRae  <allan@archlinux.org>
32723         * po/fr.po: Update French translation from translation project.
32725 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32727         * sysdeps/sh/libm-test-ulps: Regenerate.
32729 2014-01-24  David S. Miller  <davem@davemloft.net>
32731         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
32733 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32735         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
32736         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
32738 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32740         [BZ #16474]
32741         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
32742         string pointers after reallocation.
32744 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32746         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
32747         __SH4A__ instead of __SH_FPU_ANY__.
32749 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32751         * sysdeps/sh/fpu_control.h: New file.
32752         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
32753         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
32754         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
32755         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
32756         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
32757         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
32758         * sysdeps/sh/sys/ucontext.h: Remove.
32759         * sysdeps/sh/sys: Remove directory.
32761 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32763         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
32764         s390/sys/ucontext.h.
32765         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
32766         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
32768 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
32770         [BZ #15605]
32771         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
32773 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32775         [BZ#16431]
32776         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
32777         Adjust the vDSO correctly for internal calls.
32778         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
32780 2014-01-20  Allan McRae  <allan@archlinux.org>
32782         * po/ca.po: Update Catalan translation from translation project.
32784 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
32786         * sysdeps/s390/sotruss-lib.c: New file.
32788 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32790         [BZ#16430]
32791         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
32792         (__GI___gettimeofday): Alias for a different internal symbol to avoid
32793         local calls issues by not having a PLT stub required for IFUNC calls.
32794         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
32796 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
32798         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
32799         * math/test-fpucw-static.c: Likewise.
32801 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
32803         [BZ #16453]
32804         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
32806 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32808         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
32809         implementation for powerpc.
32811 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
32813         [BZ #14782]
32814         * sysdeps/posix/system.c (__libc_system): Do not enable
32815         asynchronous cancellation.
32817 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32819         [BZ #16427]
32820         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
32821         handling only for numbers special also in the IEEE case.
32823 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32825         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
32827 2014-01-11  Allan McRae  <allan@archlinux.org>
32829         * po/bg.po: Update Bulgarian translation from translation project.
32831         * po/de.po: Update German translation from translation project.
32833 2014-01-10  Roland McGrath  <roland@hack.frob.com>
32835         * sysdeps/generic/gcc-compat.h: New file.
32837 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
32839         * benchtests/asin-inputs: Correct slow inputs.
32840         * benchtests/acos-inputs: Likewise.
32842 2014-01-10  Allan McRae  <allan@archlinux.org>
32844         * po:sv.po: Update Swedish translation from translation project.
32846         * po/vi.po: Update Vietnamese translation from translation project.
32848         * po/eo.po: Update Esperanto translation from translation project.
32850         * po/cs.po: Update Czech translation from translation project.
32852         * po/nl.po: Update Dutch translation from translation project.
32854         * po/pl.po: Update Polish translation from translation project.
32856         * po/ru.po: Update Russian translation from translation project.
32858         * po/uk.po: Update Ukrainian translation from translation project.
32860 2014-01-08  Brooks Moses  <bmoses@google.com>
32862         * elf/dl-load.c: Fix comment typo.
32864 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
32866         * po/header.pot: Rename to...
32867         * po/pot.header: ... this.
32868         * po/Makefile: Use pot.header.
32870 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
32871             Maxim Kuvyrkov  <maxim@kugelworks.com>
32873         [BZ #16394]
32874         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
32875         SRC and DEST against LEN.
32877 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32879         [BZ #16414]
32880         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
32881         implementation.
32882         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
32884 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32886         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32888 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
32890         [BZ #16408]
32891         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
32892         for large positive arguments.
32894 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
32896         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
32898         * math/auto-libm-test-in: Mark various tests with
32899         xfail-rounding:ldbl-128ibm.
32900         * math/auto-libm-test-out: Regenerated.
32902         [BZ #16407]
32903         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
32904         Increase overflow threshold.
32906 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
32908         [BZ #14286]
32909         * stdio-common/vfprintf.c: Check for integer overflow.
32911 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32913         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
32914         the first argument and return value of __tls_get_addr_internal.
32916 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32918         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
32919         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
32921 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32923         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
32924         * sysdeps/s390/rtld-global-offsets.sym: New file.
32925         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
32926         GLIBC_2.19 symbol.
32927         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
32928         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
32929         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
32930         ... this.
32931         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
32932         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
32933         ... this.
32934         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
32935         Regenerate.
32936         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
32937         Regenerate.
32938         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
32939         halfs of GPRs for high_gprs contexts.
32940         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
32941         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
32942         field.
32943         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
32944         uc_flags field.
32945         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
32946         64 bit versions:
32947         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
32948         for high GPRs (uc_high_gprs) and for future extensions
32949         (__reserved).
32950         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
32951         for future extensions (__reserved).
32952         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
32953         64 bit versions:
32954         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
32955         SC_HIGHGPRS offset definition.
32956         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
32957         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
32959         * Versions.def: Add GLIBC_2.19 for libpthread.
32960         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
32961         siglongjmp for libpthread with GLIBC_2.19 symver.
32962         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
32963         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
32964         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
32965         * sysdeps/s390/__longjmp.c: New file.
32966         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
32967         * sysdeps/s390/longjmp.c: New file.
32968         * sysdeps/s390/setjmp.S: New file.
32969         * sysdeps/s390/sigjmp.S: New file.
32970         * sysdeps/s390/v1-longjmp.c: New file.
32971         * sysdeps/s390/v1-setjmp.h: New file.
32972         * sysdeps/s390/v1-sigjmp.c: New file.
32973         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
32974         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
32975         GLIBC_2.19 version.
32976         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
32977         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
32978         versioned symbols for ____longjmp_chk.
32979         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
32980         Likewise.
32981         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
32982         Regenerate.
32983         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32984         Regenerate.
32985         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
32986         Regenerate.
32987         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32988         Regenerate.
32989         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
32990         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
32991         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
32992         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
32993         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
32994         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
32995         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
32996         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
32997         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
32998         * sysdeps/s390/rtld-__longjmp.c: New file.
32999         * sysdeps/s390/rtld-setjmp.S: New file.
33001 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
33003         [BZ #16400]
33004         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
33005         Return -__logl (x) for small positive arguments without evaluating
33006         a polynomial.
33008 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
33010         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
33011         Rename to ...
33012         (__ptrace_peeksiginfo_args): ... this.
33013         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33014         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33015         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33017 2014-01-06  Allan McRae  <allan@archlinux.org>
33019         * inet/netinet/in.h: Fix typo in comment.
33021 2014-01-05  Andreas Jaeger  <aj@suse.de>
33023         * sysdeps/i386/fpu/libm-test-ulps: Update.
33025 2014-01-05  Allan McRae  <allan@archlinux.org>
33027         * po/libc.pot: Regenerated.
33029         * malloc/memusagestat.c: Fix gettext call formatting.
33031 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
33033         * nscd/nscd.c: Improve usage() output.
33035 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
33037         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
33038         * sysdeps/unix/sysv/linux/configure: Regenerated.
33039         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
33040         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
33042 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
33044         [BZ #16390]
33045         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
33046         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
33048 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33050         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
33051         extra tokens at end of #undef directive.
33052         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
33053         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
33054         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
33056 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
33058         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
33060         * math/auto-libm-test-in: Mark various tests with
33061         xfail-rounding:ldbl-128ibm.
33062         * math/auto-libm-test-out: Regenerated.
33064 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
33066         [BZ #16386]
33067         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
33068         numbers with subnormal high part when calculating exponent.
33070         [BZ #16385]
33071         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
33072         fabs.
33074         [BZ #16384]
33075         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
33076         M_LN2l.
33077         (__ieee754_acoshl): Use __log1pl not __log1p.
33079 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
33081         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
33082         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
33083         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
33084         (grow_heap, heap_trim, _int_new_arena, get_free_list)
33085         (reused_arena, arena_get2): Convert to GNU style.
33086         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
33087         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
33088         (memalign_check, __malloc_set_state): Likewise.
33089         * malloc/mallocbug.c (main): Likewise.
33090         * malloc/malloc.c (__malloc_assert, malloc_init_state)
33091         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
33092         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
33093         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
33094         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
33095         (__posix_memalign, malloc_info): Likewise.
33096         * malloc/malloc.h: Likewise.
33097         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
33098         (mallochook, memalignhook, reallochook, mabort): Likewise.
33099         * malloc/mcheck.h: Likewise.
33100         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
33101         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
33102         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
33103         * malloc/morecore.c (__default_morecore): Likewise.
33104         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
33105         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
33106         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
33107         (print_and_abort): Likewise.
33108         * malloc/obstack.h: Likewise.
33109         * malloc/set-freeres.c (__libc_freeres): Likewise.
33110         * malloc/tst-mallocstate.c (main): Likewise.
33111         * malloc/tst-mtrace.c (main): Likewise.
33112         * malloc/tst-realloc.c (do_test): Likewise.
33114 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
33116         [BZ #16366]
33117         * nscd/netgroupcache.c (do_notfound): New function.
33118         (addgetnetgrentX): Use it.
33120         [BZ # 16365]
33121         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
33122         NSS_STATUS_NOTFOUND.
33124 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
33126         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
33127         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33129 2014-01-01  Allan McRae  <allan@archlinux.org>
33131         * scripts/update-copyrights: Update configure input file suffix.
33133         * NEWS: Update copyright year.
33134         * catgets/gencat.c: Likewise.
33135         * csu/version.c: Likewise.
33136         * debug/catchsegv.sh: Likewise.
33137         * debug/pcprofiledump.c: Likewise.
33138         * debug/xtrace.sh: Likewise.
33139         * elf/ldconfig.c: Likewise.
33140         * elf/ldd.bash.in: Likewise.
33141         * elf/pldd.c: Likewise.
33142         * elf/sotruss.ksh: Likewise.
33143         * elf/sprof.c: Likewise.
33144         * iconv/iconv_prog.c: Likewise.
33145         * iconv/iconvconfig.c: Likewise.
33146         * locale/programs/locale.c: Likewise.
33147         * locale/programs/localedef.c: Likewise.
33148         * login/programs/pt_chown.c: Likewise.
33149         * malloc/memusage.sh: Likewise.
33150         * malloc/memusagestat.c: Likewise.
33151         * malloc/mtrace.pl: Likewise.
33152         * manual/libc.texinfo: Likewise.
33153         * nscd/nscd.c: Likewise.
33154         * nss/getent.c: Likewise.
33155         * nss/makedb.c: Likewise.
33156         * posix/getconf.c: Likewise.
33157         * scripts/test-installation.pl: Likewise.
33159         * All files with FSF copyright notices: Update copyright dates
33160         using scripts/update-copyrights.
33161         * intl/plural.c: Regenerated.
33162         * locale/programs/charmap-kw.h: Likewise.
33163         * locale/programs/locfile-kw.h: Likewise.
33165 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
33167         * sysdeps/unix/sysv/linux/configure: Regenerated.
33168         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
33169         the linux/fanotify.h header.
33170         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
33171         HAVE_LINUX_FANOTIFY_H is defined.
33173 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
33175         * benchtests/cos-inputs: New inputs.
33176         * benchtests/sin-inputs: Likewise.
33178         * benchtests/atan-inputs: New inputs. Fix name of multiple
33179         precision fallback inputs.
33181         * benchtests/atanh-inputs: New inputs.
33182         * benchtests/tanh-inputs: Likewise.
33184         * benchtests/acosh-inputs: New inputs.
33185         * benchtests/asinh-inputs: Likewise.
33187         * benchtests/cosh-inputs: New inputs.
33188         * benchtests/sinh-inputs: Likewise.
33190         * benchtests/acos-inputs: Add more inputs.
33191         * benchtests/asin-inputs: Likewise.
33193 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
33195         [BZ #16375]
33196         * manual/arith.texi: Fix spelling.
33197         * manual/charset.texi: Likewise.
33198         * manual/errno.texi: Likewise.
33199         * manual/filesys.texi: Likewise.
33200         * manual/lang.texi: Likewise.
33201         * manual/llio.texi: Likewise.
33202         * manual/locale.texi: Likewise.
33203         * manual/message.texi: Likewise.
33204         * manual/resource.texi: Likewise.
33205         * manual/search.texi: Likewise.
33206         * manual/setjmp.texi: Likewise.
33207         * manual/stdio.texi: Likewise.
33208         * manual/string.texi: Likewise.
33209         * manual/sysinfo.texi: Likewise.
33210         * manual/time.texi: Likewise.
33212 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
33214         * po/sl.po: New file.
33216 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
33218         * .gitignore: Add core/.gdbinit/.gdb_history.
33220 2013-12-27  Allan McRae  <allan@archlinux.org>
33222         [BZ #16369]
33223         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
33224         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
33226 2013-12-24  Brooks Moses  <bmoses@google.com>
33228         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
33229         all compilers that claim C++98 compliance, not just GCC.
33230         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
33231         Likewise.
33233 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
33235         * NEWS: Restore accidentally deleted bug-fix entries.
33237 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
33238             Ondřej Bílka  <neleai@seznam.cz>
33240         [BZ #15073]
33241         * malloc/malloc.c (_int_free): Perform sanity check only if we
33242         have_lock.
33244 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
33246         [BZ #12986]
33247         * manual/stdio.texi (String Input Conversions): Clarify that character
33248         classes are not supported.
33250 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33252         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33254 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
33256         [BZ #16337]
33257         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
33258         Calculate results for small negative arguments directly rather
33259         than using reflection formula with special underflow handling.
33261         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
33262         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
33263         sysdeps/unix/bsd/bsd4.4/syscalls.list.
33264         (fchflags): Likewise.
33265         (revoke): Likewise.
33266         (setlogin): Likewise.
33267         (sigaltstack): Likewise.
33268         (wait4): Likewise.
33269         (sigblock): Remove.
33270         (sigsetmask): Likewise.
33271         (wait3): Likewise.
33272         (waitpid): Likewise.
33273         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
33274         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
33275         file.
33276         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
33277         * sysdeps/unix/bsd/Makefile: ... here.
33278         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
33279         * sysdeps/unix/bsd/Versions: ... here.
33280         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
33281         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
33282         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
33283         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
33284         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
33285         * sysdeps/unix/bsd/sigblock.c: ... here.
33286         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
33287         * sysdeps/unix/bsd/sigsetmask.c: ... here.
33288         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
33289         * sysdeps/unix/bsd/sigvec.c: ... here.
33290         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
33291         * sysdeps/unix/bsd/tcdrain.c: ... here.
33292         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
33293         * sysdeps/unix/bsd/tcgetattr.c: ... here.
33294         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
33295         * sysdeps/unix/bsd/tcsetattr.c: ... here.
33296         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
33297         * sysdeps/unix/bsd/wait.c: ... here.
33298         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
33299         * sysdeps/unix/bsd/wait3.c: ... here.
33300         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
33301         * sysdeps/unix/bsd/waitpid.c: ... here.
33303 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
33305         [BZ #16356]
33306         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
33307         round-to-nearest for [!USE_AS_EXPM1L].
33308         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
33309         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
33310         more tests of exp and exp10.  Expect some exp10 tests to miss
33311         exceptions or fail in directed rounding modes.
33312         * math/auto-libm-test-out: Regenerated.
33313         * math/libm-test.inc (exp10_tonearest_test_data): New array.
33314         (exp10_test_tonearest): New function.
33315         (exp10_towardzero_test_data): New array.
33316         (exp10_test_towardzero): New function.
33317         (exp10_downward_test_data): New array.
33318         (exp10_test_downward): New function.
33319         (exp10_upward_test_data): New array.
33320         (exp10_test_upward): New function.
33321         (main): Call the new functions.
33322         * sysdeps/i386/fpu/libm-test-ulps: Update.
33323         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33325 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
33327         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
33328         asinh, atan, atan2, atanh, cbrt, cos and cosh.
33329         * math/auto-libm-test-out: Regenerated.
33330         * math/libm-test.inc (acosh_test_data): Add more tests.
33331         (atanh_test_data): Likewise.
33332         (ceil_test_data): Likewise.
33333         (copysign_test_data): Likewise.
33334         * sysdeps/i386/fpu/libm-test-ulps: Update.
33335         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33337         * timezone/checktab.awk: Update from tzcode 2013i.
33338         * timezone/private.h: Likewise.
33339         * timezone/scheck.c: Likewise.
33340         * timezone/tzfile.h: Likewise.
33341         * timezone/tzselect.ksh: Likewise.
33342         * timezone/zdump.c: Likewise.
33343         * timezone/zic.c: Likewise.
33345         * math/auto-libm-test-in: Add tests of cpow.
33346         * math/auto-libm-test-out: Regenerated.
33347         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
33348         * math/gen-auto-libm-tests.c (func_calc_method): Add value
33349         mpc_cc_c.
33350         (func_calc_desc): Add mpc_cc_c union field.
33351         (test_functions): Add cpow.
33352         (special_fill_2pi): New function.
33353         (special_real_inputs): Add 2pi.
33354         (calc_generic_results): Handle mpc_cc_c.
33355         * sysdeps/i386/fpu/libm-test-ulps: Update.
33356         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33358         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
33359         csqrt, ctan and ctanh.
33360         * math/auto-libm-test-out: Regenerated.
33361         * math/libm-test.inc (TEST_COND_x86_64): New macro.
33362         (TEST_COND_x86): Likewise.
33363         (ccos_test_data): Use AUTO_TESTS_c_c.
33364         (ccosh_test_data): Likewise.
33365         (cexp_test_data): Likewise.
33366         (clog_test_data): Likewise.
33367         (csqrt_test_data): Likewise.
33368         (ctan_test_data): Likewise.
33369         (ctan_tonearest_test_data): Likewise.
33370         (ctan_towardzero_test_data): Likewise.
33371         (ctan_downward_test_data): Likewise.
33372         (ctan_upward_test_data): Likewise.
33373         (ctanh_test_data): Likewise.
33374         (ctanh_tonearest_test_data): Likewise.
33375         (ctanh_towardzero_test_data): Likewise.
33376         (ctanh_downward_test_data): Likewise.
33377         (ctanh_upward_test_data): Likewise.
33378         * math/gen-auto-libm-tests.c (func_calc_method): Add value
33379         mpc_c_c.
33380         (func_calc_desc): Add mpc_c_c union field.
33381         (FUNC_mpc_c_c): New macro.
33382         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
33383         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
33384         ctanh.
33385         (special_fill_min_subnorm_p120): New function.
33386         (special_real_inputs): Add min_subnorm_p120.
33387         (calc_generic_results): Handle mpc_c_c.
33388         * sysdeps/i386/fpu/libm-test-ulps: Update.
33389         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33391 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
33393         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
33394         (do_sin_slow): New functions.
33395         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
33396         (cslow2, csloww1, csloww2): Use the new functions.
33398         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
33399         Use M to change sign of result instead of X.  Assume X is
33400         positive.
33401         (csloww1): Likewise.
33402         (__sin): Adjust.
33403         (__cos): Adjust.
33405         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
33406         arguments A and DA.
33407         (__sin): Adjust.
33408         (__cos): Likewise.
33410         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
33411         (__cos): Likewise.
33412         (sloww1): Don't adjust sign of DX.
33413         (csloww1): Likewise.
33414         (sloww2): Use X directly and don't adjust sign of DX.
33415         (csloww2): Likewise.
33417 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
33419         * math/auto-libm-test-in: Add tests of cabs and carg.
33420         * math/auto-libm-test-out: Regenerated.
33421         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
33422         (carg_test_data): Likewise.
33423         * math/gen-auto-libm-tests.c (func_calc_method): Add value
33424         mpc_c_f.
33425         (func_calc_desc): Add mpc_c_f union field.
33426         (test_functions): Add cabs and carg.
33427         (calc_generic_results): Handle mpc_c_f.
33429         * sysdeps/powerpc/powerpc32/libgcc-compat.S
33430         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
33431         as a macro and a compat symbol.
33432         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
33433         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
33434         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
33435         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
33436         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
33437         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
33438         not use .hidden.
33439         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
33440         Likewise.
33441         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
33442         Likewise.
33443         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
33444         Likewise.
33445         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
33446         Likewise.
33447         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
33448         Likewise.
33449         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
33450         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
33451         from GLIBC_2.3.2.
33453 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33455         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33457 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
33459         * manual/texinfo.tex: Update to version 2013-11-26.10 with
33460         trailing whitespace removed.
33461         * scripts/config.guess: Update to version 2013-11-29.
33462         * scripts/config.sub: Update to version 2013-10-01.
33464         * math/auto-libm-test-in: Add tests of sincos.
33465         * math/auto-libm-test-out: Regenerated.
33466         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
33467         * math/gen-auto-libm-tests.c (func_calc_method): Add value
33468         mpfr_f_11.
33469         (func_calc_desc): Add mpfr_f_11 union field.
33470         (test_functions): Add sincos.
33471         (calc_generic_results): Handle mpfr_f_11.
33472         * sysdeps/i386/fpu/libm-test-ulps: Update.
33473         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33475 2013-12-19  Andreas Schwab  <schwab@suse.de>
33477         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
33478         CALL_MCOUNT.
33479         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
33480         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
33481         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
33483 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
33485         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
33486         * sysdeps/i386/fpu/libm-test-ulps: Update.
33487         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33489         [BZ #16293]
33490         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
33491         round-to-nearest mode when using frndint.
33492         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
33493         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
33494         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
33495         Likewise.
33496         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
33497         sinh test to fail.
33498         * math/auto-libm-test-out: Regenerated.
33499         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
33500         (TEST_COND_x86): Likewise.
33501         (expm1_tonearest_test_data): New array.
33502         (expm1_test_tonearest): New function.
33503         (expm1_towardzero_test_data): New array.
33504         (expm1_test_towardzero): New function.
33505         (expm1_downward_test_data): New array.
33506         (expm1_test_downward): New function.
33507         (expm1_upward_test_data): New array.
33508         (expm1_test_upward): New function.
33509         (main): Run the new test functions.
33510         * sysdeps/i386/fpu/libm-test-ulps: Update.
33511         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33513         * include/features.h: Update comment documenting feature test
33514         macros.  Mention _DEFAULT_SOURCE in comment.
33515         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
33516         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
33517         _BSD_SOURCE and _SVID_SOURCE.
33518         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
33519         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
33520         !_SVID_SOURCE]: Likewise.
33521         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
33522         (__USE_POSIX_IMPLICITLY): Define.
33523         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
33524         (_POSIX_SOURCE): Undefine and redefine.
33525         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
33526         (_POSIX_C_SOURCE): Likewise.
33527         * manual/creature.texi (_DEFAULT_SOURCE): Document.
33528         (Feature Test Macros): Update documentation of default features.
33530 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
33532         * benchtests/Makefile: Add bench-strtok.
33533         * benchtests/bench-strtok.c: New file: strtok benchtest.
33535 2013-12-19  Allan McRae  <allan@archlinux.org>
33537         * manual/install.texi: Suppress menu for plain text output.
33538         * INSTALL: Regenerated.
33540 2013-12-18  Brooks Moses  <bmoses@google.com>
33542         [BZ #15846]
33543         * misc/getauxval.c: Include errno.h.
33544         (__getauxval): Set errno to ENOENT if the requested type is not
33545         found.
33546         * misc/sys/auxv.h (getauxval): Document that it may set errno;
33547         don't declare with __attribute_const__.
33548         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
33549         * manual/startup.texi: Document that getauxval sets errno.
33551 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
33553         * math/auto-libm-test-in: Add tests of jn and yn.
33554         * math/auto-libm-test-out: Regenerated.
33555         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
33556         (yn_test_data): Likewise.
33557         * math/gen-auto-libm-tests.c (func_calc_method): Add value
33558         mpfr_if_f.
33559         (func_calc_desc): Add mpfr_if_f union field.
33560         (FUNC_mpfr_if_f): New macro.
33561         (test_functions): Add jn and yn.
33562         (calc_generic_results): Assert type of second input for
33563         mpfr_ff_f.  Handle mpfr_if_f.
33564         (output_for_one_input_case): Disable all checking for arguments
33565         fitting floating-point types in case of an integer argument.
33566         * sysdeps/i386/fpu/libm-test-ulps: Update.
33567         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
33570         Don't expect fegetround reference in libm.so.
33572 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
33574         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
33575         $(config-cflags-nofma).
33577 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
33579         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
33580         * math/auto-libm-test-out: Regenerated.
33582         [BZ #16338]
33583         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
33584         to determine exponent and adjust argument to have exponent of -1.
33585         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
33586         log2.
33587         * math/auto-libm-test-out: Regenerated.
33588         * sysdeps/i386/fpu/libm-test-ulps: Update.
33589         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33591 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
33593         * manual/probes.texi: Remove cases when per-thread arenas are
33594         disabled.
33596 2013-12-18  Andreas Schwab  <schwab@suse.de>
33598         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
33599         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
33600         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
33601         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
33602         * sysdeps/i386/i686/multiarch/Makefile: Update.
33603         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
33605 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
33607         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
33608         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
33610 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
33612         [BZ #15968]
33613         Support TZ transition times < 00:00:00.
33614         This is needed for version-3 tz-format files; it supports time
33615         stamps past 2037 for America/Godthab (the only entry in the tz
33616         database for which this change is relevant).
33617         * manual/time.texi (TZ Variable): Document transition times
33618         from -167:59:59 through -00:00:01.
33619         * time/tzset.c (tz_rule): Time of day is now signed.
33620         (__tzset_parse_tz): Parse negative time of day.
33622         Document TZ transition times >= 25:00:00.
33623         * manual/time.texi (TZ Variable): Document transition times from
33624         25:00:00 through 167:59:59.  These are already supported, and this
33625         support will help with version-3 tz-format files.
33627         * manual/time.texi (TZ Variable): Modernize North America example
33628         to reflect current (i.e., 2007-and-later) daylight saving rules.
33630         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
33632 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
33634         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
33635         * sysdeps/unix/bsd/bits/stat.h: Likewise.
33636         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
33637         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
33638         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
33639         * sysdeps/unix/bsd/bsdstat.h: Likewise.
33640         * sysdeps/unix/bsd/clock.c: Likewise.
33641         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
33642         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
33643         * sysdeps/unix/bsd/init-posix.c: Likewise.
33644         * sysdeps/unix/bsd/poll.c: Likewise.
33645         * sysdeps/unix/bsd/ptsname.c: Likewise.
33646         * sysdeps/unix/bsd/seekdir.c: Likewise.
33647         * sysdeps/unix/bsd/setegid.c: Likewise.
33648         * sysdeps/unix/bsd/seteuid.c: Likewise.
33649         * sysdeps/unix/bsd/setgid.c: Likewise.
33650         * sysdeps/unix/bsd/setrgid.c: Likewise.
33651         * sysdeps/unix/bsd/setruid.c: Likewise.
33652         * sysdeps/unix/bsd/setsid.c: Likewise.
33653         * sysdeps/unix/bsd/setuid.c: Likewise.
33654         * sysdeps/unix/bsd/sigaction.c: Likewise.
33655         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
33656         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
33657         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
33658         * sysdeps/unix/bsd/telldir.c: Likewise.
33659         * sysdeps/unix/bsd/times.c: Likewise.
33660         * sysdeps/unix/bsd/usleep.c: Likewise.
33662         * misc/Makefile (install-lib): Remove libbsd-compat.a.
33663         ($(objpfx)libbsd-compat.a): Remove rule.
33665         * include/features.h (__FAVOR_BSD): Do not define.
33666         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
33667         features conflicting with POSIX.
33668         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
33669         (_BSD_SOURCE): Remove description of not being a subset of other
33670         feature test macros.
33671         * manual/job.texi (getpgrp): Do not document BSD version.
33672         (getpgid): Do not document by reference to BSD getpgrp.
33673         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
33674         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
33675         * signal/signal.h [__FAVOR_BSD]: Likewise.
33676         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
33677         instead of making contents conditional on [__FAVOR_BSD].
33678         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
33680 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33682         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33684 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
33686         [BZ #16314]
33687         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
33688         values below 2**-450, not 2**-500.
33689         * math/auto-libm-test-in: Don't allow spurious underflow from
33690         hypot.
33691         * math/auto-libm-test-out: Regenerated.
33693         [BZ #16316]
33694         [BZ #16330]
33695         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
33696         values of ha and hb and sort them after adjusting subnormal
33697         arguments.
33698         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
33699         Likewise.
33700         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
33701         values of ea and eb and sort them after adjusting subnormal
33702         arguments.
33703         * math/auto-libm-test-in: Do not expect some hypot tests of
33704         subnormals to fail.  Add more hypot tests.
33705         * math/auto-libm-test-out: Regenerated.
33707 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33709         [BZ #13304]
33710         * sysdeps/sh/s_fma.c: New file.
33711         * sysdeps/sh/s_fmaf.c: New file.
33712         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
33713         version.
33714         * sysdeps/sh/Implies: Add sh/soft-fp.
33716 2013-12-16  Roland McGrath  <roland@hack.frob.com>
33718         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
33719         level of indirection to members `objname', `errstring', `malloced'.
33720         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
33721         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
33722         it as the __longjmp argument (just pass 1 instead).
33723         (_dl_catch_error): Initialize C with argument pointers and address of
33724         volatile local ERRCODE rather than copying values out of C at return.
33726 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
33728         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
33729         * math/auto-libm-test-out: Regenerated.
33730         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
33731         (hypot_test_data): Likewise.
33732         (pow_test_data): Likewise.
33733         (pow_tonearest_test_data): Likewise.
33734         * math/gen-auto-libm-tests.c (func_calc_method): Add value
33735         mpfr_ff_f.
33736         (func_calc_desc): Add mpfr_ff_f union field.
33737         (FUNC_mpfr_ff_f): New macro.
33738         (test_functions): Add atan2, hypot and pow.
33739         (special_fill_min): New function.
33740         (special_fill_minus_min): Likewise.
33741         (special_fill_min_subnorm): Likewise.
33742         (special_fill_minus_min_subnorm): Likewise.
33743         (special_real_inputs): Add min, -min, min_subnorm and
33744         -min_subnorm.
33745         (calc_generic_results): Handle mpfr_ff_f.
33746         * sysdeps/i386/fpu/libm-test-ulps: Update.
33747         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33749 2013-12-16  Will Newton  <will.newton@linaro.org>
33751         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
33752         (Aligned Memory Blocks): Add documentation for aligned_alloc
33753         and suggest it as an alternative to posix_memalign.
33754         (Hooks for Malloc): Document __memalign_hook is also called
33755         for aligned_alloc.  (Summary of Malloc): Add summary for
33756         aligned alloc.  Document __memalign_hook is also called
33757         for aligned_alloc.
33759 2013-12-16  Will Newton  <will.newton@linaro.org>
33761         * manual/memory.texi (Malloc Examples): Clarify default
33762         alignment documentation.  Suggest posix_memalign rather
33763         than memalign or valloc.
33764         (Aligned Memory Blocks): Remove suggestion to use memalign
33765         or valloc.  Remove obsolete comment about BSD.
33766         Document memalign errno values and mark the function obsolete.
33767         Document posix_memalign returned error codes.  Mark valloc
33768         as obsolete.  (Hooks for Malloc): __memalign_hook is also
33769         called for posix_memalign and valloc.
33770         (Summary of Malloc): Add posix_memalign to function summary.
33771         __memalign_hook is also called for posix_memalign and valloc.
33773 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
33775         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
33776         TAYLOR_SIN.
33777         (__sin): Adjust.
33778         (__cos): Likewise.
33779         (sloww): Use mynumber union.  Expand ternary operator into
33780         if-else statements.
33781         (cslow): use mynumber union.
33783 2013-12-16  Allan McRae  <allan@archlinux.org>
33785         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
33786         * configure: Regenerated.
33788         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
33790         [BZ #14120]
33791         * configure.ac: Added --enable-maintainer-mode. Check for
33792         autoconf when enabled.
33793         * configure: Regenerated.
33795         * nscd/nscd.service: New file.
33796         * nscd/nscd.tmpfiles: New file.
33798 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
33800         [BZ #12100]
33801         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
33802         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
33803         * sysdeps/x86_64/multiarch/strstr.c: ... here.
33804         (strstr): Add __strstr_sse2_unaligned ifunc.
33805         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
33806         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
33807         (strcasestr): Remove __strcasestr_sse42 ifunc.
33808         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
33809         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
33810         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
33812 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33814         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
33815         * sysdeps/sh/bits/fenv.h: ... here.
33816         * sysdeps/sh/sh4/fpu/bits: Remove directory.
33818 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33820         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
33822         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
33823         hypotf multiarch implementations.
33824         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
33825         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
33826         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
33827         multiarch hypot for PPC64.
33828         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
33829         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
33830         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
33831         multiarch hypotf for PPC64.
33833         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
33834         modff multiarch implementations.
33835         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
33836         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
33837         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
33838         multiarch modf for PPC64.
33839         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
33840         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
33841         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
33842         multiarch modff for PPC64.
33844         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
33845         and logl multiarch implementations.
33846         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
33847         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
33848         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
33849         multiarch logb for PPC64.
33850         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
33851         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
33852         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
33853         multiarch logb for PPC64.
33854         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
33855         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
33856         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
33857         multiarch logb for PPC64.
33859         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
33860         isinff multiarch implementation.
33861         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
33862         file.
33863         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
33864         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
33865         multiarch isinf for PPC64.
33866         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
33867         file.
33868         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
33869         multiarch isinff for PPC64.
33871         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
33872         finitef multiarch implementation.
33873         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
33874         file.
33875         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
33876         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
33877         multiarch finite for PPC64.
33878         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
33879         file.
33880         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
33881         multiarch finitef for PPC64.
33883         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
33884         lrint multiarch implementation.
33885         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
33886         file.
33887         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
33888         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
33889         multiarch llrint for PPC64.
33890         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
33891         multiarch lrint for PPC64.
33893         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
33894         copysignf multiarch implementation.
33895         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
33896         file.
33897         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
33898         file.
33899         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
33900         multiarch copysign for PPC64.
33901         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
33902         multiarch copysignf for PPC64.
33904         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
33905         multiarch implementation.
33906         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
33907         file.
33908         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
33909         file.
33910         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
33911         file.
33912         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
33913         file.
33914         multiarch llround for PPC64.
33915         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
33916         multiarch trunc for PPC64.
33917         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
33918         multiarch truncf for PPC64.
33920         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
33921         multiarch implementation.
33922         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
33923         file.
33924         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
33925         file.
33926         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
33927         file.
33928         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
33929         file.
33930         multiarch llround for PPC64.
33931         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
33932         multiarch round for PPC64.
33933         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
33934         multiarch roundf for PPC64.
33936         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
33937         multiarch implementation.
33938         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
33939         file.
33940         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
33941         file.
33942         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
33943         file.
33944         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
33945         file.
33946         multiarch llround for PPC64.
33947         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
33948         multiarch floor for PPC64.
33949         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
33950         multiarch floorf for PPC64.
33952         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
33953         multiarch implementation.
33954         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
33955         file.
33956         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
33957         file.
33958         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
33959         file.
33960         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
33961         file.
33962         multiarch llround for PPC64.
33963         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
33964         multiarch ceil for PPC64.
33965         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
33966         multiarch ceilf for PPC64.
33968         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
33969         multiarch implementation.
33970         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
33971         file.
33972         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
33973         file.
33974         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
33975         file.
33976         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
33977         multiarch llround for PPC64.
33978         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
33979         multiarch lround for PPC64.
33981         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
33982         multiarch implementation.
33983         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
33984         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
33985         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
33986         file.
33987         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
33988         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
33989         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
33990         multiarch isnan for PPC64.
33991         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
33992         multiarch isnanf for PPC64.
33994         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
33995         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
33996         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
33997         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
33998         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
33999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
34001         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
34002         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
34003         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
34004         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
34006         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
34007         multiarch implementations.
34008         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34009         (__libc_ifunc_impl_list): Likewise.
34010         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
34011         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
34012         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
34013         multiarch stpcpy for PPC64.
34015         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
34016         multiarch implementations.
34017         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34018         (__libc_ifunc_impl_list): Likewise.
34019         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
34020         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
34021         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
34022         multiarch strcpy for PPC64.
34024         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
34025         redefine function name.
34026         (_wordcopy_fwd_dest_aligned): Likewise.
34027         (_wordcopy_bwd_aligned): Likewise.
34028         (_wordcopy_bwd_dest_aligned): Likewise.
34029         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
34030         multiarch implementations.
34031         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34032         (__libc_ifunc_impl_list): Likewise.
34033         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
34034         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
34035         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
34036         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
34037         multiarch wcscpy for PPC64.
34039         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
34040         multiarch implementations.
34041         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34042         (__libc_ifunc_impl_list): Likewise.
34043         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
34044         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
34045         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
34046         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
34047         multiarch wcscpy for PPC64.
34049         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
34050         multiarch implementations.
34051         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34052         (__libc_ifunc_impl_list): Likewise.
34053         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
34054         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
34055         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
34056         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
34057         multiarch wcsrchr for PPC64.
34059         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
34060         multiarch implementations.
34061         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34062         (__libc_ifunc_impl_list): Likewise.
34063         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
34064         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
34065         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
34066         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
34067         multiarch wcschr for PPC64.
34069         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
34070         multiarch implementations.
34071         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34072         (__libc_ifunc_impl_list): Likewise.
34073         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
34074         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
34075         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
34076         multiarch strchrnul for PPC64.
34078         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
34079         implementations.
34080         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34081         (__libc_ifunc_impl_list): Likewise.
34082         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
34083         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
34084         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
34085         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
34086         strchr for PPC64.
34088         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
34089         implementations.
34090         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34091         (__libc_ifunc_impl_list): Likewise.
34092         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
34093         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
34094         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
34095         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
34096         strncmp for PPC64.
34098         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
34099         multiarch implementations.
34100         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34101         (__libc_ifunc_impl_list): Likewise.
34102         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
34103         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
34104         strncasecmp for PPC64.
34105         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
34106         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
34107         multiarch strncasecmp_l for PPC64.
34109         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
34110         multiarch implementations.
34111         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
34112         (__libc_ifunc_impl_list): Likewise.
34113         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
34114         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
34115         multiarch strcasecmp for PPC64.
34116         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
34117         file.
34118         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
34119         multiarch strcasecmp_l for PPC64.
34121         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
34122         implementations.
34123         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34124         (__libc_ifunc_impl_list): Likewise.
34125         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
34126         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
34127         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
34128         strnlen for PPC64.
34130         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
34131         implementations.
34132         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34133         (__libc_ifunc_impl_list): Likewise.
34134         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
34135         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
34136         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
34137         strlen for PPC64.
34139         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
34140         implementations.
34141         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34142         (__libc_ifunc_impl_list): Likewise.
34143         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
34144         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
34145         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
34146         rawmemrchr for PPC64.
34148         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
34149         implementation.
34150         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34151         (__libc_ifunc_impl_list): Likewise.
34152         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
34153         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
34154         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
34155         memrchr for PPC64.
34157         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
34158         implementation.
34159         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34160         (__libc_ifunc_impl_list): Likewise.
34161         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
34162         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
34163         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
34164         memchr for PPC64.
34166         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
34167         implementation.
34168         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34169         (__libc_ifunc_impl_list): Likewise.
34170         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
34171         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
34172         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
34173         mempcpy for PPC64.
34175         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
34176         avoid cretion of __bzero symbol.
34177         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
34178         Likewise.
34179         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
34180         Likewise.
34181         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
34182         Likewise.
34183         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
34184         multiarch implementations.
34185         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34186         (__libc_ifunc_impl_list): Likewise.
34187         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
34188         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
34189         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
34190         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
34191         bzero for PPC32.
34192         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
34193         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
34194         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
34195         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
34196         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
34197         memset for PPC64.
34198         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
34200         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
34201         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
34202         implementations.
34203         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34204         (__libc_ifunc_impl_list): Likewise.
34205         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
34206         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
34207         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
34208         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
34209         memcmp for PPC64.
34211         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
34212         multiarch for POWER/PPC64.
34213         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
34214         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
34215         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
34216         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
34217         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
34218         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
34219         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
34220         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
34221         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
34222         memcpy for PPC64.
34224         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
34225         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
34226         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
34227         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
34228         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
34229         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
34230         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
34231         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
34232         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
34233         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
34234         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
34235         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
34236         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
34237         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
34238         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
34239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
34240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
34241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
34242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
34243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
34244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
34245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
34247 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34249         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
34251 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
34253         * benchtests/Makefile (bench): Add exp2 and log2.
34254         (LDLIBS-bench-exp2): Add -lm.
34255         (LDLIBS-bench-log2): Likewise.
34256         * benchtests/exp2-inputs: New inputs file.
34257         * benchtests/log2-inputs: New inputs file.
34258         * benchtests/log-inputs: Add new inputs.
34259         * benchtests/tan-inputs: Likewise.
34261 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
34263         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
34264         definition...
34265         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
34266         (csloww2): ... from here.
34268         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
34269         instead of structures.
34270         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
34271         (POLYNOMIAL): Likewise.
34272         (TAYLOR_SLOW): Likewise.
34273         (__sin): Likewise.
34274         (__cos): Likewise.
34275         (slow1): Likewise.
34276         (slow2): Likewise.
34277         (sloww): Likewise.
34278         (sloww1); Likewise.
34279         (sloww2): Likewise.
34280         (bsloww1): Likewise.
34281         (bsloww2): Likewise.
34282         (cslow2): Likewise.
34283         (csloww): Likewise.
34284         (csloww1): Likewise.
34285         (csloww2): Likewise.
34287 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
34289         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
34290         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
34291         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
34292         * malloc/hooks.c (realloc_check): Likewise.
34294         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
34295         * malloc/arena.c: Remove PER_THREAD conditional.
34296         [!PER_THREAD]: Remove code.
34297         (ptmalloc_unlock_all2): Likewise.
34298         (ptmalloc_init): Likewise.
34299         (_int_new_arena): Likewise.
34300         (arena_get2): Likewise.
34301         * malloc/hooks.c (__malloc_get_state): Likewise.
34302         (__malloc_set_state): Likewise.
34303         * malloc/malloc.c: Likewise.
34304         (struct malloc_state): Likewise.
34305         (struct malloc_par): Likewise.
34306         (__libc_realloc): Likewise.
34307         (__libc_mallopt): Likewise.
34309 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34311         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
34313 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
34315         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
34316         macro to a function.  Check for zero perturb_byte.
34317         (_int_malloc, _int_free): Remove zero perturb_byte checks.
34319         * malloc/malloc.c: (force_reg): Remove.
34320         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
34321         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
34322         force_reg by atomic_forced_read.
34323         * malloc/arena.c (ptmalloc_init): Likewise.
34324         * malloc/hooks.c (top_check): Likewise.
34326 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34328         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34330 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
34332         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34334 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
34336         * math/auto-libm-test-in: Add tests of lgamma.
34337         * math/auto-libm-test-out: Regenerated.
34338         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
34339         (M_LOG_2_SQRT_PIl): Likewise.
34340         (lgamma_test_data): Use AUTO_TESTS_f_f1.
34341         * math/gen-auto-libm-tests.c (func_calc_method): Add value
34342         mpfr_f_f1.
34343         (func_calc_desc): Add mpfr_f_f1 union field.
34344         (ARGS1): New macro.
34345         (ARGS2): Likewise.
34346         (ARGS3): Likewise.
34347         (ARGS4): Likewise.
34348         (RET1): Likewise.
34349         (RET2): Likewise.
34350         (CALC): Likewise.
34351         (FUNC): Likewise.
34352         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
34353         (test_functions): Add lgamma.
34354         (calc_generic_results): Handle mpfr_f_f1.
34355         * sysdeps/i386/fpu/libm-test-ulps: Update.
34356         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34358 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34360         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
34361         __mpn_add_n for PowerPC64/POWER7.
34362         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
34363         __mpn_sub_n for PowerPC64/POWER7.
34365         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
34366         __mpn_addmul_1 for PowerPC64.
34367         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
34368         __mpn_submul_1 for PowerPC64.
34369         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
34370         for PowerPC64.
34371         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
34372         for PowerPC64.
34374 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
34376         [BZ #15089]
34377         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
34379 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34381         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
34383         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
34384         add multiarch folders.
34385         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
34386         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
34387         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
34388         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
34389         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
34390         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
34391         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
34392         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
34393         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
34394         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
34395         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
34396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
34397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
34398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
34399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
34400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
34401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
34403         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
34404         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
34405         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
34406         New file.
34407         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
34408         New file.
34409         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
34410         multiarch __ieee754_hypot for PowerPC32.
34411         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
34412         New file.
34413         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
34414         New file.
34415         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
34416         multiarch __ieee754_hypotf for PowerPC32.
34418         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
34419         long_double_symbol only if __logbl is defined.
34420         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
34421         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
34422         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
34423         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
34424         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
34425         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
34426         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
34427         path for implementation.
34428         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
34429         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
34430         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
34431         logb, and logbl multiarch implementations for PowerPC32.
34432         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
34433         file.
34434         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
34435         file.
34436         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
34437         multiarch logb for PowerPC32.
34438         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
34439         file.
34440         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
34441         file.
34442         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
34443         multiarch logbf for PowerPC32.
34444         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
34445         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
34446         file.
34447         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
34448         multiarch logbl implementation for PowerPC32.
34450         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
34451         and modff multiarch implementations.
34452         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
34453         New file.
34454         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
34455         New file.
34456         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
34457         multiarch modf for PowerPC32.
34458         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
34459         New file.
34460         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
34461         New file.
34462         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
34463         multiarch modff for PowerPC32.
34465         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
34466         and lrintf multiarch implementations.
34467         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
34468         New file.
34469         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
34470         New file.
34471         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
34472         multiarch lrint for PowerPC32.
34473         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
34474         file: multiarch lrintf for PowerPC32.
34476         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
34477         and lroundf multiarch implementations.
34478         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
34479         New file.
34480         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
34481         New file.
34482         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
34483         New file.
34484         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
34485         multiarch lround for PowerPC32.
34486         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
34487         file: multiarch lroundf for PowerPC32.
34489         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
34490         copysign and copysignf multiarch implementations.
34491         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
34492         New file.
34493         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
34494         New file.
34495         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
34496         file: multiarch copysign for PowerPC32.
34497         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
34498         file: multiarch copysignf for PowerPC32.
34500         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
34501         and truncf multiarch implementations.
34502         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
34503         New file.
34504         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
34505         file.
34506         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
34507         multiarch trunc for PowerPC32.
34508         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
34509         New file.
34510         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
34511         New file.
34512         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
34513         multiarch truncf for PowerPC32.
34515         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
34516         and roundf multiarch implementations.
34517         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
34518         New file.
34519         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
34520         file.
34521         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
34522         multiarch round for PowerPC32.
34523         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
34524         New file.
34525         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
34526         New file.
34527         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
34528         multiarch roundf for PowerPC32.
34530         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
34531         and floorf multiarch implementations.
34532         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
34533         New file.
34534         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
34535         file.
34536         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
34537         multiarch floor for PowerPC32.
34538         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
34539         New file.
34540         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
34541         New file.
34542         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
34543         multiarch floorf for PowerPC32.
34545         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
34546         and ceilf multiarch implementations.
34547         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
34548         New file.
34549         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
34550         file.
34551         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
34552         multiarch ceil for PowerPC32.
34553         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
34554         New file.
34555         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
34556         file.
34557         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
34558         multiarch ceilf for PowerPC32.
34560         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
34561         is defined.
34562         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
34563         FINITEF is defined.
34564         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
34565         and finitef multiarch implementations.
34566         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
34567         New file.
34568         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
34569         file.
34570         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
34571         multiarch finite for PowerPC32.
34572         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
34573         New file.
34574         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
34575         file: multiarch finitef for PowerPC32.
34577         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
34578         and isinff multiarch implementations.
34579         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
34580         file.
34581         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
34582         file.
34583         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
34584         multiarch isinf for PowerPC32.
34585         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
34586         New file.
34587         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
34588         multiarch isinff for PowerPC32.
34590         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
34591         alias when __isnan is defined.
34592         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
34593         and isnanf multiarch implementations.
34594         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
34595         file.
34596         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
34597         file.
34598         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
34599         file.
34600         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
34601         file.
34602         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
34603         multiarch isnan for PowerPC32.
34604         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
34605         New file.
34606         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
34607         New file.
34608         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
34609         multiarch isnanf for PowerPC32.
34611         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
34612         and sqrtf multiarch implementations.
34613         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
34614         file.
34615         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
34616         file.
34617         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
34618         multiarch sqrt for PowerPC32.
34619         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
34620         file.
34621         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
34622         file.
34623         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
34624         multiarch sqrtf for PowerPC32.
34626         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
34627         and llroundf multiarch implementations.
34628         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
34629         New file.
34630         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
34631         New file.
34632         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
34633         New file.
34634         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
34635         file: multiarch llround for PowerPC32.
34636         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
34637         file: multiarch llroundf for PowerPC32.
34639         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
34640         multiarch PowerPC32 fpu implementations.
34641         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
34642         New file.
34643         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
34644         New file.
34645         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
34646         multiarch llrint for PowerPC32.
34647         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
34648         New file.
34649         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
34650         New file.
34651         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
34652         file.
34654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
34656         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
34657         file.
34658         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
34659         file.
34660         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
34661         file.
34662         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
34663         multiarch wordcopy for PPC32.
34664         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
34665         wordcopy objects.
34666         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34667         (__libc_ifunc_impl_list): Likewise.
34668         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
34669         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
34670         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
34671         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
34672         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
34673         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
34675         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
34676         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
34677         file.
34678         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
34679         file.
34680         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
34681         file.
34682         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
34683         multiarch wcscpy for PPC32.
34684         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
34685         multiarch objects.
34686         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34687         (__libc_ifunc_impl_list): Likewise.
34688         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
34689         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
34690         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
34691         sysdeps/powerpc/power6/wcscpy.c.
34693         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
34694         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
34695         file.
34696         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
34697         file.
34698         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
34699         file.
34700         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
34701         multiarch wcsrchr for PPC32.
34702         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
34703         multiarch objects.
34704         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34705         (__libc_ifunc_impl_list): Likewise.
34706         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
34707         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
34708         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
34709         sysdeps/powerpc/power6/wcsrchr.c.
34711         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
34712         file.
34713         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
34714         file.
34715         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
34716         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
34717         multiarch wcschr for PPc32.
34718         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
34719         multiarch objects.
34720         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34721         (__libc_ifunc_impl_list): Likewise.
34722         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
34723         * sysdeps/powerpc/power6/wcschr.c: ... to here.
34724         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
34725         sysdeps/powerpc/power6/wcschr.c.
34727         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
34728         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
34729         file.
34730         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
34731         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
34732         file: multiarch strchr for PPC32.
34733         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
34734         multiarch objects.
34735         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34736         (__libc_ifunc_impl_list): Likewise.
34738         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
34739         name.
34740         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
34741         file.
34742         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
34743         file.
34744         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
34745         multiarch strchrnul for PPC32.
34746         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
34747         multiarch objects.
34748         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34749         (__libc_ifunc_impl_list): Likewise.
34751         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
34752         file.
34753         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
34754         multiarch strncasecmp for PPC32.
34755         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
34756         file.
34757         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
34758         multiarch strncasecmp_l for PPC32.
34759         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
34760         strncasecmp multiarch objects.
34761         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34762         (__libc_ifunc_impl_list): Likewise.
34764         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
34765         file.
34766         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
34767         multiarch strncasecmp for PPC32.
34768         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
34769         New file.
34770         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
34771         multiarch strcasecmp_l for PPC32.
34772         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
34773         multiarch objects.
34774         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34775         (__libc_ifunc_impl_list): Likewise.
34777         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
34778         file.
34779         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
34780         file.
34781         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
34782         multiarch strncmp for PPC32.
34783         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
34784         multiarch objects.
34785         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34786         (__libc_ifunc_impl_list): Likewise.
34788         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
34789         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
34790         file.
34791         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
34792         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
34793         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
34794         multiarch objects.
34795         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34796         (__libc_ifunc_impl_list): Likewise.
34798         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
34799         file.
34800         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
34801         file.
34802         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
34803         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
34804         multiarch objects.
34805         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34806         (__libc_ifunc_impl_list): Likewise.
34808         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
34809         file.
34810         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
34811         file.
34812         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
34813         multiarch rawmemchr for PPC32.
34814         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
34815         multiarch objects.
34816         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34817         (__libc_ifunc_impl_list): Likewise.
34819         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
34820         file.
34821         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
34822         file.
34823         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
34824         file: memrchr multiarch for PPC32.
34825         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
34826         multiarch objects.
34827         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34828         (__libc_ifunc_impl_list): Likewise.
34830         * string/memchr.c (__memchr): Using macro to redefine symbol name.
34831         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
34832         file.
34833         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
34834         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
34835         multiarch memchr for PPC32.
34836         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
34837         multiarch objects.
34838         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
34839         (__libc_ifunc_impl_list): Likewise.
34841         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
34842         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
34843         file.
34844         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
34845         file.
34846         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
34847         file: multiarch mempcpy for PPC32.
34848         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
34849         multiarch objects.
34850         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
34851         (__libc_ifunc_impl_list): Likewise.
34853         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
34854         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
34855         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
34856         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
34857         multiarch bzero for PPC32.
34858         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
34859         file.
34860         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
34861         file.
34862         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
34863         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
34864         file: multiarch memset for PPC32.
34865         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
34866         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
34867         memset multiarch objects.
34868         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
34869         (__libc_ifunc_impl_list): Likewise.
34871         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
34872         file.
34873         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
34874         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
34875         memcmp for PPC32.
34876         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
34877         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
34878         multiarch objects.
34879         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
34880         (__libc_ifunc_impl_list): Likewise.
34882         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
34883         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
34884         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
34885         file.
34886         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
34887         file.
34888         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
34889         file.
34890         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
34891         multiarch memcpy for PPC32.
34892         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
34893         multiarch objects.
34894         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
34895         (__libc_ifunc_impl_list): Likewise.
34897         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
34898         support multiarch for POWER/PPC32.
34899         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
34900         Likewise.
34901         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
34902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
34903         Implies file to make multiarch folder appers before the fpu and
34904         default folder for power4 configuration.
34906 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
34908         * scripts/bench.pl: Append volatile keyword to type.
34910 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34912         * sysdeps/sh/sotruss-lib.c: New file.
34913         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
34915 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34917         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34919 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
34921         [BZ #6810]
34922         * math/w_tgamma.c: Include <errno.h>.
34923         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
34924         * math/w_tgammaf.c: Include <errno.h>.
34925         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
34926         * math/w_tgammal.c: Include <errno.h>.
34927         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
34928         * math/auto-libm-test-in: Do not allow missing errno on tgamma
34929         underflow.  Add more tgamma tests.
34930         * math/auto-libm-test-out: Regenerated.
34931         * sysdeps/i386/fpu/libm-test-ulps: Update.
34932         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34934         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
34935         sin, sinh, tan, tanh, tgamma, y0 and y1.
34936         * math/auto-libm-test-out: Regenerated.
34937         * math/libm-test.inc (TEST_COND_x86_64): New macro.
34938         (TEST_COND_x86): Likewise.
34939         (M_E2l): Remove macro.
34940         (M_E3l): Likewise.
34941         (M_2_SQRT_PIl): Likewise.
34942         (M_SQRT_PIl): Likewise.
34943         (M_1_DIV_El): Likewise.
34944         (log_test_data): Use AUTO_TESTS_f_f.
34945         (log10_test_data): Likewise.
34946         (log1p_test_data): Likewise.
34947         (log2_test_data): Likewise.
34948         (sin_test_data): Likewise.
34949         (sin_tonearest_test_data): Likewise.
34950         (sin_towardzero_test_data): Likewise.
34951         (sin_downward_test_data): Likewise.
34952         (sin_upward_test_data): Likewise.
34953         (sinh_test_data): Likewise.
34954         (sinh_tonearest_test_data): Likewise.
34955         (sinh_towardzero_test_data): Likewise.
34956         (sinh_downward_test_data): Likewise.
34957         (sinh_upward_test_data): Likewise.
34958         (tan_test_data): Likewise.
34959         (tan_tonearest_test_data): Likewise.
34960         (tan_towardzero_test_data): Likewise.
34961         (tan_downward_test_data): Likewise.
34962         (tan_upward_test_data): Likewise.
34963         (tanh_test_data): Likewise.
34964         (tgamma_test_data): Likewise.
34965         (y0_test_data): Likewise.
34966         (y1_test_data): Likewise.
34967         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
34968         (special_real_inputs): Add pi/4.
34969         * sysdeps/i386/fpu/libm-test-ulps: Update.
34970         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34972 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34974         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
34975         "longjmp_target" static probes.
34976         (__longjmp): Rename to __longjmp_symbol.
34977         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
34978         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
34979         on which longjmp to generate.
34980         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
34981         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
34982         probe.
34983         (__sigsetjmp): Rename to __sigsetjmp_symbol.
34984         (__sigjmp_save): Rename to __sigjmp_save_symbol.
34985         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
34986         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
34987         and __sigjmp_save_symbol based on which sigsetjmp to generated.
34988         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
34989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
34990         __longjmp_symbol based on which __longjmp to generate.
34991         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
34992         probe.
34993         (setjmp): Rename to setjmp_symbol.
34994         (__sigsetjmp): Rename to __sigsetjmp_symbol.
34995         (_setjmp): Rename to _setjmp_symbol.
34996         (__sigsetjmp): Rename to __sigsetjmp_symbol.
34997         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
34998         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
34999         which setjmp to generate.
35000         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
35001         "longjmp_target" static probes.
35003 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
35005         * benchtests/README: Add note about output arguments.
35006         * benchtests/bench-sincos.c: Remove file.
35007         * benchtests/sincos-inputs: New file.
35008         * scripts/bench.pl: Identify output arguments and define
35009         static variables for them.
35011         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
35013         [BZ #15941]
35014         * Makefile (INSTALL): Add install-plain.texi as the primary
35015         dependency.
35016         * manual/install-plain.texi: New file.
35017         * manual/install.texi: Include node directive only for
35018         non-plaintext output.
35020 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
35022         * stdlib/longlong.h: Update from GCC.
35024         [BZ #6807]
35025         [BZ #15901]
35026         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
35027         * math/w_j0f.c (y0f): Likewise.
35028         * math/w_j0l.c (__y0l): Likewise.
35029         * math/w_j1.c (y1): Likewise.
35030         * math/w_j1f.c (y1f): Likewise.
35031         * math/w_j1l.c (__y1l): Likewise
35032         * math/w_jn.c (yn): Likewise.
35033         * math/w_jnf.c (ynf): Likewise.
35034         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
35035         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
35036         value for Bessel function domain errors outside _SVID_ mode.
35037         Adjust sign of return value for yn (negative integer, 0).
35038         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
35039         by zero in return for negative x and set sign appropriately for
35040         negative n.
35041         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
35042         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
35043         * math/libm-test.inc (y0_test_data): Add more tests and adjust
35044         expectations in error cases.
35045         (y1_test_data): Likewise.
35046         (yn_test_data): Likewise.
35047         * sysdeps/i386/fpu/libm-test-ulps: Update.
35048         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35050 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
35052         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
35053         "64" to "64-v1".  Add "64-v2".
35054         (abi-64-options): Rename to ...
35055         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
35056         (abi-64-condition): Rename to ...
35057         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
35058         (abi-64-ld-soname): Rename to ...
35059         (abi-64-v1-ld-soname): ... this.
35060         (abi-64-v2-options): Define.
35061         (abi-64-v2-condition): Likewise.
35062         (abi-64-v2-ld-soname): Likewise.
35063         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
35064         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
35065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
35066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
35067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
35069 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
35070             Alan Modra  <amodra@gmail.com>
35072         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
35073         New versions for use with the ELFv2 ABI.
35074         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
35075         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
35076         declaration.
35077         (struct La_ppc64v2_retval): Likewise.
35078         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
35079         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
35080         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
35081         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
35082         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
35083         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
35084         Do not save or restore CR.
35085         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
35086         (_dl_profile_resolve): Do no save or restore CR.  Support extended
35087         return values for ELFv2 ABI.  Fix location of FPR return registers.
35088         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
35089         updated values for _CALL_ELF == 2.
35090         (La_regs, La_retval, int_retval): Likewise.
35092 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
35094         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
35095         (FRAME_MIN_SIZE_PARM): Likewise.
35096         (FRAME_BACKCHAIN): Likewise.
35097         (FRAME_CR_SAVE): Likewise.
35098         (FRAME_LR_SAVE): Likewise.
35099         (FRAME_TOC_SAVE): Likewise.
35100         (FRAME_PARM_SAVE): Likewise.
35101         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
35102         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
35103         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
35104         (call_mcount_parm_offset): New macro.
35105         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
35106         (PROF): Use symbolic stack frame offsets.
35107         (TAIL_CALL_SYSCALL_ERROR): Likewise.
35108         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
35109         Redefine in terms of FRAME_MIN_SIZE.
35110         (_dl_runtime_resolve): Use symbolic stack frame offsets.
35111         (_dl_profile_resolve): Likewise.  Update comment.
35112         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
35113         symbols stack frame offsets.
35114         (__sigsetjmp): Likewise.
35115         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
35116         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
35117         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
35118         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
35120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
35121         (FRAME_BACKCHAIN): Remove.
35122         (FRAME_CR_SAVE): Likewise.
35123         (FRAME_LR_SAVE): Likewise.
35124         (FRAME_COMPILER_DW): Likewise.
35125         (FRAME_LINKER_DW): Likewise.
35126         (FRAME_TOC_SAVE): Likewise.
35127         (FRAME_PARM_SAVE): Likewise.
35128         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
35129         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
35130         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
35131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
35132         (CHECK_SP): Use symbolic stack frame offsets.
35133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
35134         zone" instead of caller's parameter save area for temp storage.
35135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
35136         Likewise.  Also, use symbolic stack frame offsets.
35137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
35138         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
35139         our own stack frame instead of the caller's.
35140         (__socket): Use symbolic stack frame offsets.
35142 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
35143             Alan Modra  <amodra@gmail.com>
35145         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
35146         Define.
35147         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
35148         (PPC64_LOCAL_ENTRY_OFFSET): Define.
35149         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
35150         New function.
35151         (elf_machine_fixup_plt): Call it.
35152         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
35153         reloc arguments.
35154         (elf_machine_rela): Update call to elf_machine_plt_conflict.
35155         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
35156         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
35157         r2 before calling target.
35159 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
35160             Alan Modra  <amodra@gmail.com>
35162         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
35163         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
35164         versions of macros to support ELFv2 ABI.
35165         (LOCALENTRY): New macro.
35166         (ENTRY, EALIGN): Use it.
35167         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
35168         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
35169         fall through into ENTRY entry point.
35170         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
35171         Only define if _CALL_ELF != 2.
35173         (elf_machine_matches_host): Verify ABI version matches.
35174         (RTLD_START): Use LOCALENTRY.
35175         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
35176         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
35177         (PLT_ENTRY_WORDS): New macro.
35178         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
35179         (elf_machine_runtime_setup): Support ELFv2 ABI.
35180         (elf_machine_fixup_plt): Likewise.
35181         (elf_machine_plt_conflict): Likewise.
35182         (resolve_ifunc): Likewise.
35183         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
35184         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
35185         Likewise.
35186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
35187         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
35188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
35189         (makecontext): Support ELFv2 ABI.
35190         * elf/elf.h (EF_PPC64_ABI): Define.
35192 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
35194         * sysdeps/powerpc/powerpc64/sysdep.h
35195         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
35196         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
35197         (ENTRY) [ASSEMBLER]: ... but instead here ...
35198         (EALIGN) [ASSEMBLER]: ... and here.
35199         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
35200         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
35201         (ENTRY_2) [!ASSEMBLER]: Use it.
35202         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
35203         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
35204         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
35205         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
35206         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
35207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
35208         Use PPC64_LOAD_FUNCPTR.
35210         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
35212 2013-12-04  Alan Modra  <amodra@gmail.com>
35214         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
35215         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
35216         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
35217         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
35219         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
35220         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
35221         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
35222         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
35223         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
35224         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
35226 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
35228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
35229         (__makecontext): Fix incorrect CFI when backtracing out of
35230         context created via makecontext.
35231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
35232         (__setcontext): Fix incorrect CFI during switch to new context.
35233         (__novec_setcontext): Likewise.
35235 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
35237         [BZ #4772]
35238         * time/strptime_l.c (__strptime_internal): Allow modifiers
35239         in strptime.
35240         * time/tst-strptime.c (day_tests): Add testcase.
35242 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
35244         * scripts/bench.pl: Skip over blank lines.
35246 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
35248         [BZ #926]
35249         * manual/time.texi (Calendar Time): Clarify what timezone functions
35250         use.
35252 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35254         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35256 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
35258         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
35259         implementation.
35260         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
35261         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
35262         * debug/memset_chk.c (__memset_chk): Likewise.
35263         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
35264         * debug/strncpy_chk.c: Likewise.
35266 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
35268         [BZ #15268]
35269         [BZ #15425]
35270         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
35271         (__ieee754_exp): For possibly underflowing results, check size of
35272         result and force underflow exception if required.
35273         * math/auto-libm-test-in: Add more tests of exp.
35274         * math/auto-libm-test-out: Regenerated.
35275         * sysdeps/i386/fpu/libm-test-ulps: Update.
35276         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35278         [BZ #16283]
35279         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
35280         * math/w_exp2f.c (__exp2f): Likewise.
35281         * math/w_exp2l.c (__exp2l): Likewise.
35282         * math/auto-libm-test-in: Do not allow missing errno on exp2
35283         underflow.
35284         * math/auto-libm-test-out: Regenerated.
35286 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
35288         [BZ #16274]
35289         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
35290         handle filename validation.
35291         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
35292         (do_open): Delete.
35294 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
35296         [BZ #6786]
35297         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
35298         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
35299         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
35300         <float.h>.
35301         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
35302         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
35303         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
35304         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
35305         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
35306         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
35307         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
35308         * math/auto-libm-test-in: Don't allow missing errno from erfc.
35309         Add more erfc tests.
35310         * math/auto-libm-test-out: Regenerated.
35311         * sysdeps/i386/fpu/libm-test-ulps: Update.
35312         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35314         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
35315         exp2, expm1, j0 and j1.
35316         * math/auto-libm-test-out: Regenerated.
35317         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
35318         (erfc_test_data): Likewise.
35319         (exp_test_data): Likewise.
35320         (exp_tonearest_test_data): Likewise.
35321         (exp_towardzero_test_data): Likewise.
35322         (exp_downward_test_data): Likewise.
35323         (exp_upward_test_data): Likewise.
35324         (exp10_test_data): Likewise.
35325         (exp2_test_data): Likewise.
35326         (expm1_test_data): Likewise.
35327         (j0_test_data): Likewise.
35328         (j1_test_data): Likewise.
35329         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
35330         (input_flag_type): Add flag_xfail_rounding.
35331         (input_flags): Add xfail-rounding.
35332         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
35333         (output_for_one_input_case): Handle flag_xfail_rounding.
35334         * sysdeps/i386/fpu/libm-test-ulps: Update.
35335         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35337 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
35339         [BZ #16289]
35340         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
35341         division by 0.
35343 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
35345         [BZ #16195]
35346         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
35347         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
35348         (STAP_PROBE0): New macro.
35349         (STAP_PROBE1): Likewise.
35350         (STAP_PROBE2): Likewise.
35351         (STAP_PROBE3): Likewise.
35352         (STAP_PROBE4): Likewise.
35354 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
35356         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
35358 2013-12-02  Steve Ellcey  <sellcey@mips.com>
35360         * benchtests/Makefile (bench): Add sqrt.
35361         (LDLIBS-bench-sqrt): New.
35362         * benchtests/sqrt-input: New.
35364 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
35366         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
35367         (GAIH_EAI): Likewise.
35368         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
35369         (gaih_inet): Likewise.
35370         (getaddrinfo): Don't use GAIH_EAI.
35372         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
35373         (struct gaih): Remove definition.
35375 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
35377         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
35378         Use HERRNOP directly.
35380 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35382         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35384 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
35386         * math/gen-auto-libm-tests.c (test_functions): Add more
35387         single-argument functions.
35388         (special_fill_pi_2): New function.
35389         (special_fill_minus_pi_2): Likewise.
35390         (special_fill_pi_6): Likewise.
35391         (special_fill_minus_pi_6): Likewise.
35392         (special_fill_pi_3): Likewise.
35393         (special_fill_2pi_3): Likewise.
35394         (special_fill_e): Likewise.
35395         (special_fill_1_e): Likewise.
35396         (special_fill_e_minus_1): Likewise.
35397         (special_real_inputs): Add more special inputs.
35398         (output_for_one_input_case): Do not require ERANGE on underflow to
35399         zero if round-to-nearest result does not underflow to zero, unless
35400         exact results required.
35401         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
35402         atan, atanh, cbrt, cos and cosh.
35403         * math/auto-libm-test-out: Regenerated.
35404         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
35405         (acos_tonearest_test_data): Likewise.
35406         (acos_towardzero_test_data): Likewise.
35407         (acos_downward_test_data): Likewise.
35408         (acos_upward_test_data): Likewise.
35409         (acosh_test_data): Likewise.
35410         (asin_test_data): Likewise.
35411         (asin_tonearest_test_data): Likewise.
35412         (asin_towardzero_test_data): Likewise.
35413         (asin_upward_test_data): Likewise.
35414         (asinh_test_data): Likewise.
35415         (atan_test_data): Likewise.
35416         (atanh_test_data): Likewise.
35417         (cbrt_test_data): Likewise.
35418         (cos_test_data): Likewise.
35419         (cos_tonearest_test_data): Likewise.
35420         (cos_towardzero_test_data): Likewise.
35421         (cos_downward_test_data): Likewise.
35422         (cos_upward_test_data): Likewise.
35423         (cosh_test_data): Likewise.
35424         (cosh_tonearest_test_data): Likewise.
35425         (cosh_towardzero_test_data): Likewise.
35426         (cosh_downward_test_data): Likewise.
35427         (cosh_upward_test_data): Likewise.
35428         * sysdeps/i386/fpu/libm-test-ulps: Update.
35429         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35431 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
35433         [BZ #6787]
35434         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
35435         * math/w_exp10f.c (__exp10f): Likewise.
35436         * math/w_exp10l.c (__exp10l): Likewise.
35437         * math/libm-test.inc (exp10_test_data): Add more tests and expect
35438         errno settings in existing tests.
35440         [BZ #14032]
35441         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
35442         precision control set to double precision.
35443         * sysdeps/i386/fpu/w_sqrt.c: New file.
35444         * math/auto-libm-test-in: Add more tests.
35445         * math/auto-libm-test-out: Update.
35447         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
35448         (sqrt_test_tonearest): New function.
35449         (sqrt_towardzero_test_data): New variable.
35450         (sqrt_test_towardzero): New function.
35451         (sqrt_downward_test_data): New variable.
35452         (sqrt_test_downward): New function.
35453         (sqrt_upward_test_data): New variable.
35454         (sqrt_test_upward): New function.
35455         (main): Call the new functions.
35457         * math/gen-auto-libm-tests.c: New file.
35458         * math/auto-libm-test-in: Likewise.
35459         * math/auto-libm-test-out: New generated file.
35460         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
35461         variables.
35462         (%beautify): Add generated representations of zero.
35463         (top level): Set $auto_input and call parse_auto_input.
35464         (beautify): Remove trailing "f" from hex float constants.
35465         (parse_args): Handle XFAIL_TEST.
35466         (convert_condition): New function.
35467         (or_value): Likewise.
35468         (or_cond_value): Likewise.
35469         (generate_testfile): Handle AUTO_TESTS_* lines.
35470         (parse_auto_input): New function.
35471         * math/libm-test.inc (XFAIL_TEST): New macro.
35472         (ERRNO_UNCHANGED): Update value.
35473         (ERRNO_EDOM): Likewise.
35474         (ERRNO_ERANGE): Likewise.
35475         (IGNORE_RESULT): Likewise.
35476         (TEST_COND_flt_32): New macro.
35477         (TEST_COND_dbl_64): Likewise.
35478         (TEST_COND_ldbl_96_intel): Likewise.
35479         (TEST_COND_ldbl_96_m68k): Likewise.
35480         (TEST_COND_ldbl_128): Likewise.
35481         (TEST_COND_ldbl_128ibm): Likewise.
35482         (TEST_COND_long32): Likewise.
35483         (TEST_COND_long64): Likewise.
35484         (TEST_COND_before_rounding): Likewise.
35485         (TEST_COND_after_rounding): Likewise.
35486         (enable_test): Handle XFAIL_TEST flag.
35487         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
35488         with finite results.
35489         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
35490         auto-libm-test-out.
35492 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
35493             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35495         [BZ #16214]
35496         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
35497         __tls_get_addr_internal instead of __tls_get_offset in order to
35498         avoid GOT pointer dependency.  Make rtld export
35499         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
35500         __tls_get_addr since we are a __tls_get_offset platform.
35501         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
35502         GOT pointer being set up before.
35503         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
35505 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
35507         * manual/math.texi (Errors in Math Functions): Document accuracy
35508         goals.
35510         [BZ #15004]
35511         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
35512         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
35513         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
35514         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35515         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35516         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35517         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35518         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
35519         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
35520         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35521         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35522         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35523         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35524         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35525         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
35526         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
35528         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
35529         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
35530         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
35531         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
35532         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
35533         Likewise.
35534         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
35535         Likewise.
35536         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
35537         Likewise.
35538         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
35539         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
35540         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
35541         atomic-feupdateenv and flt-rounds.
35542         * sysdeps/powerpc/nofpu/Versions (libc): Add
35543         __atomic_feholdexcept, __atomic_feclearexcept,
35544         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
35545         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
35546         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
35547         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
35548         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
35549         here.
35550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
35551         Update.
35553         * manual/arith.texi (FP Exceptions): Document that exceptions may
35554         not be raised when matherr is used.
35555         (Math Error Reporting): Document overflow in directed rounding
35556         modes.  Document that errno may not be set when finite values are
35557         returned on overflow.  Document intent to set errno on underflow
35558         only for underflow to zero.
35560         [BZ #16271]
35561         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
35562         round-to-nearest then adjust result for other rounding modes.
35563         * include/fenv.h (fegetround): Use libm_hidden_proto.
35564         * math/fegetround.c (fegetround): Use libm_hidden_def.
35565         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
35566         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
35567         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
35568         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
35569         Likewise.
35570         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
35571         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
35572         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
35573         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
35575 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35577         [BZ #16077]
35578         * nss/Versions (libnss_files): Add
35579         _nss_files_gethostbyname3_r.
35580         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
35581         New function.
35582         (HOST_DB_LOOKUP): Remove macro.
35583         (_nss_files_gethostbyname_r): Implement function without the
35584         HOST_DB_LOOKUP macro.
35585         (_nss_files_gethostbyname2_r): Likewise.
35587 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
35589         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
35591 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
35593         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
35594         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
35595         warning.
35597 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35599         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
35600         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
35601         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
35602         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
35603         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
35604         __fe_nomask_env_priv and attribute_hidden.
35605         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
35606         (libc_feupdateenv_test_ppc): Likewise.
35607         (libc_feresetround_ppc): Likewise.
35608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
35609         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
35610         compat_symbol macro.
35611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
35612         (__fe_nomask_env): Likewise.
35613         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
35615 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
35617         * string/Makefile: Remove ifunc tests.
35618         * string/test-string.h: Define TEST_IFUNC.
35619         * string/test-bcopy-ifunc.c: Remove.
35620         * string/test-bzero-ifunc.c: Likewise.
35621         * string/test-memccpy-ifunc.c: Likewise.
35622         * string/test-memchr-ifunc.c: Likewise.
35623         * string/test-memcmp-ifunc.c: Likewise.
35624         * string/test-memcpy-ifunc.c: Likewise.
35625         * string/test-memmem-ifunc.c: Likewise.
35626         * string/test-memmove-ifunc.c: Likewise.
35627         * string/test-mempcpy-ifunc.c: Likewise.
35628         * string/test-memrchr-ifunc.c: Likewise.
35629         * string/test-memset-ifunc.c: Likewise.
35630         * string/test-rawmemchr-ifunc.c: Likewise.
35631         * string/test-stpcpy-ifunc.c: Likewise.
35632         * string/test-stpncpy-ifunc.c: Likewise.
35633         * string/test-strcasecmp-ifunc.c: Likewise.
35634         * string/test-strcasestr-ifunc.c: Likewise.
35635         * string/test-strcat-ifunc.c: Likewise.
35636         * string/test-strchr-ifunc.c: Likewise.
35637         * string/test-strchrnul-ifunc.c: Likewise.
35638         * string/test-strcmp-ifunc.c: Likewise.
35639         * string/test-strcpy-ifunc.c: Likewise.
35640         * string/test-strcspn-ifunc.c: Likewise.
35641         * string/test-strlen-ifunc.c: Likewise.
35642         * string/test-strncasecmp-ifunc.c: Likewise.
35643         * string/test-strncat-ifunc.c: Likewise.
35644         * string/test-strncmp-ifunc.c: Likewise.
35645         * string/test-strncpy-ifunc.c: Likewise.
35646         * string/test-strnlen-ifunc.c: Likewise.
35647         * string/test-strpbrk-ifunc.c: Likewise.
35648         * string/test-strrchr-ifunc.c: Likewise.
35649         * string/test-strspn-ifunc.c: Likewise.
35650         * string/test-strstr-ifunc.c: Likewise.
35652 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
35654         * benchtests/Makefile: Remove ifunc tests.
35655         * benchtests/bench-string.h: Define TEST_IFUNC.
35656         * benchtests/bench-bcopy-ifunc.c: Remove.
35657         * benchtests/bench-bzero-ifunc.c: Likewise.
35658         * benchtests/bench-memccpy-ifunc.c: Likewise.
35659         * benchtests/bench-memchr-ifunc.c: Likewise.
35660         * benchtests/bench-memcmp-ifunc.c: Likewise.
35661         * benchtests/bench-memcpy-ifunc.c: Likewise.
35662         * benchtests/bench-memmem-ifunc.c: Likewise.
35663         * benchtests/bench-memmove-ifunc.c: Likewise.
35664         * benchtests/bench-mempcpy-ifunc.c: Likewise.
35665         * benchtests/bench-memrchr-ifunc.c: Likewise.
35666         * benchtests/bench-memset-ifunc.c: Likewise.
35667         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
35668         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
35669         * benchtests/bench-stpcpy-ifunc.c: Likewise.
35670         * benchtests/bench-stpncpy-ifunc.c: Likewise.
35671         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
35672         * benchtests/bench-strcasestr-ifunc.c: Likewise.
35673         * benchtests/bench-strcat-ifunc.c: Likewise.
35674         * benchtests/bench-strchr-ifunc.c: Likewise.
35675         * benchtests/bench-strchrnul-ifunc.c: Likewise.
35676         * benchtests/bench-strcmp-ifunc.c: Likewise.
35677         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
35678         * benchtests/bench-strcpy-ifunc.c: Likewise.
35679         * benchtests/bench-strcspn-ifunc.c: Likewise.
35680         * benchtests/bench-strlen-ifunc.c: Likewise.
35681         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
35682         * benchtests/bench-strncat-ifunc.c: Likewise.
35683         * benchtests/bench-strncmp-ifunc.c: Likewise.
35684         * benchtests/bench-strncpy-ifunc.c: Likewise.
35685         * benchtests/bench-strnlen-ifunc.c: Likewise.
35686         * benchtests/bench-strpbrk-ifunc.c: Likewise.
35687         * benchtests/bench-strrchr-ifunc.c: Likewise.
35688         * benchtests/bench-strsep-ifunc.c: Likewise.
35689         * benchtests/bench-strspn-ifunc.c: Likewise.
35690         * benchtests/bench-strstr-ifunc.c: Likewise.
35692 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
35694         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
35696 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
35698         * resolv/netdb.h: Use __glibc_reserved instead __unused.
35699         * rt/aio.h: Likewise.
35700         * sysdeps/gnu/bits/utmp.h: Likewise.
35701         * sysdeps/gnu/bits/utmpx.h: Likewise.
35702         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
35703         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
35704         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
35705         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
35706         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
35707         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
35708         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
35709         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
35710         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
35711         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
35712         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
35713         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
35714         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
35715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
35716         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
35717         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
35718         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
35719         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
35720         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
35721         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
35722         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
35723         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
35724         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
35725         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
35726         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
35727         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35728         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
35729         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
35730         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
35731         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
35732         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
35733         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
35734         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
35735         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
35736         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
35737         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
35738         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
35739         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
35740         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
35741         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
35742         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
35743         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
35745 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
35747         [BZ #16245]
35748         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
35749         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
35751 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
35753         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
35754         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
35755         Likewise.
35757 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35759         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
35760         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
35761         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
35762         (__fesetround): Remove define.
35763         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
35764         rounding and exceptions handling.
35765         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
35766         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
35767         (__fe_nomask_env): Likewise.
35768         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
35769         __fegetround instead of fegetround.
35770         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
35771         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
35773 2013-11-21  Roland McGrath  <roland@hack.frob.com>
35775         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
35776         it's there.
35778         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
35780 2013-11-21  Meador Inge  <meadori@codesourcery.com>
35782         [BZ #11157]
35783         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
35784         (encrypt_r): Likewise.
35785         * malloc/obstack.h (obstack_free): Likewise.
35786         * posix/unistd.h (encrypt): Likewise.
35788 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
35790         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
35791         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
35792         DL_CALL_DT_FINI() that call the functions directly.
35793         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
35794         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
35795         * elf/dl-fini.c: Likewise.
35797 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
35799         * malloc/hooks.c (memalign_check): Add alignment rounding.
35800         * malloc/malloc.c (_mid_memalign): New function.
35801         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
35802         Implement by calling _mid_memalign.
35803         * manual/probes.texi (Memory Allocation Probes): Remove
35804         memory_valloc_retry and memory_pvalloc_retry.
35806 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
35808         * locale/programs/locarchive.c (open_archive): Add const
35809         qualifier to ARCHIVEFNAME and copy default fname to
35810         DEFAULT_FNAME.
35812         [BZ #15601]
35813         * libio/tst-widetext.input: Rename Oriya to Odia.
35814         * locale/iso-639.def: Likewise.
35816         * manual/probes.texi (Mathematical Function Probes): Add
35817         documentation for sin, cos, asin and acos probes.
35818         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
35819         (__sin32): Add slowasin probe.
35820         (__cos32): Add slowacos probe.
35821         (__mpsin): Add slowsin probe.
35822         (__mpcos): Add slowcos probe.
35824 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
35826         [BZ #15483]
35827         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
35828         thread-local __sim_exceptions_thread and global
35829         __sim_exceptions_global.
35830         (__sim_disabled_exceptions): Change to thread-local
35831         __sim_disabled_exceptions_thread and global
35832         __sim_disabled_exceptions_global.
35833         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
35834         and global __sim_round_mode_global.
35835         (__simulate_exceptions): Use thread-local floating-point state and
35836         set global state from it as needed.
35837         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
35838         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
35839         __sim_round_mode_thread.
35840         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
35841         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
35842         and global __sim_exceptions_global.
35843         (__sim_disabled_exceptions): Change to thread-local
35844         __sim_disabled_exceptions_thread and global
35845         __sim_disabled_exceptions_global.
35846         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
35847         and global __sim_round_mode_global.
35848         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
35849         (SIM_SET_GLOBAL): Likewise.
35850         * sysdeps/powerpc/soft-fp/sfp-machine.h
35851         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
35852         __sim_round_mode_thread.
35853         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
35854         __sim_disabled_exceptions_thread.
35855         (__sim_exceptions): Change to __sim_exceptions_thread.
35856         (__sim_disabled_exceptions): Change to
35857         __sim_disabled_exceptions_thread.
35858         (__sim_round_mode): Change to __sim_round_mode_thread.
35859         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
35860         thread-local floating-point state and set global state from it as
35861         needed.
35862         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
35863         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
35864         (__sim_disabled_exceptions): Remove extern declaration.
35865         (feenableexcept): Use thread-local floating-point state and set
35866         global state from it as needed.
35867         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
35868         extern declaration.
35869         (__sim_disabled_exceptions): Likewise.
35870         (__sim_round_mode): Likewise.
35871         (__fegetenv): Use thread-local floating-point state.
35872         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
35873         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
35874         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
35875         floating-point state and set global state from it as needed.
35876         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
35877         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
35878         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
35879         Likewise.
35880         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
35881         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
35882         Likewise.
35883         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
35884         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
35885         Use __sim_round_mode_thread.
35886         * math/test-fenv-tls.c: New file.
35887         * math/Makefile (tests): Add test-fenv-tls.
35888         ($(objpfx)test-fenv-tls): Depend on
35889         $(common-objpfx)nptl/libpthread.so.
35891 2013-11-19  Andreas Schwab  <schwab@suse.de>
35893         * locale/programs/locale.c (show_info): Decode wordarray elements.
35894         * locale/categories.def (LC_MONETARY): Add element for
35895         _NL_MONETARY_CRNCYSTR.
35896         * locale/C-monetary.c (conversion_rate): New variable.
35897         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
35898         element.
35900 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
35902         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
35903         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
35905 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
35907         * elf/Makefile (tst-auxv): New test.
35908         * elf/tst-auxv.c: New
35909         * elf/rtld.c (dl_main): Adjust AT_EXECFN
35911 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
35913         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
35914         (hidden_proto): Caller changed.
35915         (hidden_tls_proto): New macro.
35916         (libc_hidden_tls_proto): Likewise.
35917         (rtld_hidden_tls_proto): Likewise.
35918         (libm_hidden_tls_proto): Likewise.
35919         (libresolv_hidden_tls_proto): Likewise.
35920         (librt_hidden_tls_proto): Likewise.
35921         (libdl_hidden_tls_proto): Likewise.
35922         (libnss_files_hidden_tls_proto): Likewise.
35923         (libnsl_hidden_tls_proto): Likewise.
35924         (libnss_nisplus_hidden_tls_proto): Likewise.
35925         (libutil_hidden_tls_proto): Likewise.
35927 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
35929         [BZ #10253]
35930         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
35931         (decompose_rpath): Defer expansion to fillin_rpath.
35932         (_dl_init_paths): Pass linkmap to fillin_rpath.
35934 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
35936         * benchtests/Makefile: Add strsep.
35937         * benchtests/bench-strsep.c: New file: strsep benchtest.
35938         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
35940 2013-11-18  Andreas Schwab  <schwab@suse.de>
35942         * locale/programs/locale.c (show_info) [case byte]: Check for
35943         '\377' instead of '\177'.
35944         * locale/C-monetary.c (not_available): Always use "\377".
35945         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
35946         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
35947         detect unavailable sign_posn locale elements.
35948         * locale/localeconv.c (__localeconv): For grouping and
35949         mon_grouping handle "\177" and "\377" like no grouping.
35950         (INT_ELEM): New macro.  Use it to set all numeric members.
35951         * locale/programs/ld-monetary.c (monetary_read)
35952         <tok_mon_grouping>: Normalize single -1 to the empty string.
35953         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
35954         Likewise.
35956 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
35958         [BZ #16055]
35959         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
35960         when we match (nil).
35961         * stdio-common/tst-sscanf.c (struct test): Add testcase.
35963 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
35965         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
35966         (NO_TEST_INLINE): Update value.
35967         (ERRNO_UNCHANGED): Likewise.
35968         (ERRNO_EDOM): Likewise.
35969         (ERRNO_ERANGE): Likewise.
35970         (IGNORE_RESULT): Likewise.
35971         (check_float_internal): Check signs of NaN results if
35972         TEST_NAN_SIGN used.
35973         (check_complex): Pass TEST_NAN_SIGN flag through to second
35974         check_float_internal call.
35975         (copysign_test_data): Add tests with quiet NaNs as second
35976         argument.  Use TEST_NAN_SIGN.
35977         (fabs_test_data): Add test of negative quiet NaN argument.  Use
35978         TEST_NAN_SIGN.
35979         (signbit_test_data): Add tests of quiet NaN argument.
35980         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
35982         * math/gen-libm-test.pl (show_exceptions): Take extra argument
35983         $ignore_result.
35984         (parse_args): Handle function results specified as IGNORE.
35985         * math/libm-test.inc (IGNORE_RESULT): New macro.
35986         (check_float_internal): Do not check numerical result if flag
35987         IGNORE_RESULT set.
35988         (check_complex): Pass through IGNORE_RESULT to second
35989         check_float_internal call.
35990         (check_int): Do not check numerical result if flag IGNORE_RESULT
35991         set.
35992         (check_long): Likewise.
35993         (check_bool): Likewise.
35994         (check_longlong): Likewise.
35995         (lrint_test_data): Add tests of infinite and NaN arguments.
35996         (lrint_tonearest_test_data): Likewise.
35997         (lrint_towardzero_test_data): Likewise.
35998         (lrint_downward_test_data): Likewise.
35999         (lrint_upward_test_data): Likewise.
36000         (llrint_test_data): Likewise.
36001         (llrint_tonearest_test_data): Likewise.
36002         (llrint_towardzero_test_data): Likewise.
36003         (llrint_downward_test_data): Likewise.
36004         (llrint_upward_test_data): Likewise.
36005         (lround_test_data): Likewise.
36006         (llround_test_data): Likewise.
36008         * math/libm-test.inc (NO_TEST_INLINE): New macro.
36009         (ERRNO_UNCHANGED): Update value.
36010         (ERRNO_EDOM): Likewise.
36011         (ERRNO_ERANGE): Likewise.
36012         (NO_TEST_INLINE_FLOAT): New macro.
36013         (NO_TEST_INLINE_DOUBLE): Likewise.
36014         (enable_test): New function.
36015         (RUN_TEST_f_f): Check enable_test before running test.
36016         (RUN_TEST_2_f): Likewise.
36017         (RUN_TEST_fff_f): Likewise.
36018         (RUN_TEST_c_f): Likewise.
36019         (RUN_TEST_f_f1): Likewise.
36020         (RUN_TEST_fF_f1): Likewise.
36021         (RUN_TEST_fI_f1): Likewise.
36022         (RUN_TEST_ffI_f1): Likewise.
36023         (RUN_TEST_c_c): Likewise.
36024         (RUN_TEST_cc_c): Likewise.
36025         (RUN_TEST_f_i): Likewise.
36026         (RUN_TEST_f_i_tg): Likewise.
36027         (RUN_TEST_ff_i_tg): Likewise.
36028         (RUN_TEST_f_b): Likewise.
36029         (RUN_TEST_f_b_tg): Likewise.
36030         (RUN_TEST_f_l): Likewise.
36031         (RUN_TEST_f_L): Likewise.
36032         (RUN_TEST_fFF_11): Likewise.
36033         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
36034         conditionals.
36035         (cosh_test_data): Likewise.
36036         (exp_test_data): Likewise.
36037         (expm1_test_data): Likewise.
36038         (hypot_test_data): Likewise.
36039         (pow_test_data): Likewise.
36040         (sinh_test_data): Likewise.
36041         (tanh_test_data): Likewise.
36042         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
36043         flags argument.
36045         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
36046         tests with quiet NaN input and output.
36047         (acosh_test_data): Likewise.
36048         (asin_test_data): Likewise.
36049         (asinh_test_data): Likewise.
36050         (atan_test_data): Likewise.
36051         (atanh_test_data): Likewise.
36052         (atan2_test_data): Likewise.
36053         (cbrt_test_data): Likewise.
36054         (cos_test_data): Likewise.
36055         (cosh_test_data): Likewise.
36056         (erf_test_data): Likewise.
36057         (erfc_test_data): Likewise.
36058         (exp_test_data): Likewise.
36059         (exp10_test_data): Likewise.
36060         (exp2_test_data): Likewise.
36061         (expm1_test_data): Likewise.
36062         (hypot_test_data): Likewise.
36063         (j0_test_data): Likewise.
36064         (j1_test_data): Likewise.
36065         (jn_test_data): Likewise.
36066         (lgamma_test_data): Likewise.
36067         (log_test_data): Likewise.
36068         (log10_test_data): Likewise.
36069         (log1p_test_data): Likewise.
36070         (log2_test_data): Likewise.
36071         (pow_test_data): Likewise.
36072         (scalb_test_data): Likewise.
36073         (sin_test_data): Likewise.
36074         (sincos_test_data): Likewise.
36075         (sinh_test_data): Likewise.
36076         (tan_test_data): Likewise.
36077         (tanh_test_data): Likewise.
36078         (tgamma_test_data): Likewise.
36079         (y0_test_data): Likewise.
36080         (y1_test_data): Likewise.
36081         (yn_test_data): Likewise.
36083         [BZ #16167]
36084         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
36085         argument being NaN and avoid computations with second argument in
36086         that case.
36087         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
36088         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
36089         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
36091 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
36093         * locale/iso-639.def: Add Chitwani Tharu (the).
36095 2013-11-14  Andreas Schwab  <schwab@suse.de>
36097         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
36098         word instead of empty string.
36100 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
36103         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
36104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
36105         (__fe_nomask_env): Likewise.
36107 2013-11-13  Steve Ellcey  <sellcey@mips.com>
36109         * benchtests/bench-timing.h: Include time.h.
36111 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
36113         [BZ #15997]
36114         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
36115         to 3.4.0 for x32.
36116         * sysdeps/unix/sysv/linux/configure: Regenerated.
36118 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
36120         [BZ #16151]
36121         * stdlib/strtod_l.c (round_and_return): Do not consider
36122         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
36123         exponent one less than half the least subnormal exponent.
36124         * stdlib/test-strtod-round-data: Add more tests.
36125         * stdlib/tst-strtod-round.c (tests): Regenerated.
36127 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36129         [BZ #14143]
36130         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
36131         (__fe_mask_env): Likewise.
36132         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
36133         libm_hidden_proto and add function prototype.
36134         (__fe_mask_env): Add function prototype.
36135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
36136         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
36137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
36138         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
36139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
36140         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
36142 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
36144         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
36145         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
36147 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
36149         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
36150         of htab_find_slot().
36152 2013-11-11  David S. Miller  <davem@davemloft.net>
36154         [BZ #16150]
36155         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
36156         symbol in the non-vis3 case in static builds.
36157         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
36158         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
36159         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
36160         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
36162 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
36164         [BZ #387]
36165         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
36166         it is empty.
36168 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36170         * benchtests/Makefile: Add bench-strtod.
36171         * benchtests/bench-strtod.c: New file: strtod benchtest
36173 2013-11-11  Andreas Schwab  <schwab@suse.de>
36175         [BZ #16153]
36176         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
36177         terminating NUL in key length.
36179 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36181         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
36182         Add artificial ODP entry for vDSO symbol for PPC64.
36183         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
36184         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
36186 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
36188         [BZ #15374]
36189         * nss/getent.c (services_keys): Recognize services starting with digit.
36191 2013-11-06  David S. Miller  <davem@davemloft.net>
36193         [BZ #15985]
36194         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
36195         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
36197 2013-11-06  Will Newton  <will.newton@linaro.org>
36199         * manual/memory.texi (Malloc Examples): Remove register
36200         keyword from examples.
36202 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
36204         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
36206 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
36208         [BZ #6981]
36209         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
36210         depending on [__GCC_IEC_559 > 0].
36211         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
36212         depending on [__GCC_IEC_559_COMPLEX > 0].
36214 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
36216         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
36217         to iso-639.def.
36219 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
36221         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
36223 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
36225         [BZ #16112]
36226         * malloc/malloc (malloc_info): Do not handle first bin as
36227         special case.
36229 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
36231         * locale/iso-639.def: Add Central Nahuatl (nhn).
36233 2013-11-01  Bruno Haible  <bruno@clisp.org>
36235         [BZ #7003]
36236         * manual/math.texi (BSD Random): Specify range upper bound as
36237         in POSIX.
36239 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
36241         * locale/iso-639.def: Add Meadow Mari (mhr).
36243 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
36245         [BZ #14752], [BZ #15763]
36246         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
36247         Validate name.
36248         * rt/tst_shm.c: Add test for escaping directory.
36250 2013-10-31  Andreas Schwab  <schwab@suse.de>
36252         [BZ #15917]
36253         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
36254         followed by 'x' as part of digit sequence.
36255         * stdio-common/tst-sscanf.c (double_tests2): New tests.
36257 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
36259         [BZ #16037]
36260         * configure.ac: allow GNU Make 4.0 and greater.
36261         * configure: Regenerated.
36263 2013-10-30  Will Newton  <will.newton@linaro.org>
36265         [BZ #16038]
36266         * malloc/hooks.c (memalign_check): Limit alignment to the
36267         maximum representable power of two.
36268         * malloc/malloc.c (__libc_memalign): Likewise.
36269         * malloc/tst-memalign.c (do_test): Add test for very
36270         large alignment values.
36271         * malloc/tst-posix_memalign.c (do_test): Likewise.
36273 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
36275         [BZ #11087]
36276         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
36277         (munmap_chunk): Likewise.
36278         (mremap_chunk): Likewise.
36280 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
36282         [BZ #15799]
36283         * stdlib/div.c (div): Remove obsolete code.
36284         * stdlib/ldiv.c (ldiv): Likewise.
36285         * stdlib/lldiv.c (lldiv): Likewise.
36287 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36289         [BZ #16071]
36290         * nss/nss_files/files-XXX.c (get_contents_ret): New
36291         enumerator.
36292         (get_contents): New function.
36293         (internal_getent): Use it.  Expand size of LINEBUFLEN.
36295 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
36297         * configure.in: Moved to ...
36298         * configure.ac: ... here. Change reference to configure.in
36299         to configure.ac.
36300         * sysdeps/arm/preconfigure.ac: ... here.
36301         configure.in to configure.ac.
36302         * sysdeps/gnu/configure.in: Moved to ...
36303         * sysdeps/gnu/configure.ac: ... here.
36304         * sysdeps/i386/configure.in: Moved to ...
36305         * sysdeps/i386/configure.ac: ... here.
36306         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
36307         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
36308         * sysdeps/mach/configure.in: Moved to ...
36309         * sysdeps/mach/configure.ac: ... here.
36310         * sysdeps/mach/hurd/configure.in: Moved to ...
36311         * sysdeps/mach/hurd/configure.ac: ... here.
36312         * sysdeps/powerpc/configure.in: Moved to ...
36313         * sysdeps/powerpc/configure.ac: ... here.
36314         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
36315         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
36316         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
36317         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
36318         * sysdeps/s390/s390-32/configure.in: Moved to ...
36319         * sysdeps/s390/s390-32/configure.ac: ... here.
36320         * sysdeps/s390/s390-64/configure.in: Moved to ...
36321         * sysdeps/s390/s390-64/configure.ac: ... here.
36322         * sysdeps/sh/configure.in: Moved to ...
36323         * sysdeps/sh/configure.ac: ... here.
36324         * sysdeps/sparc/configure.in: Moved to ...
36325         * sysdeps/sparc/configure.ac: ... here.
36326         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
36327         * sysdeps/unix/sysv/linux/configure.ac: ... here.
36328         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
36329         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
36330         * sysdeps/x86_64/configure.in: Moved to ...
36331         * sysdeps/x86_64/configure.ac: ... here.
36332         * sysdeps/x86_64/preconfigure.in: Moved to ...
36333         * sysdeps/x86_64/preconfigure.ac: ... here.
36334         * aclocal.m4: Change reference to configure.in to configure.ac.
36335         * config.h.in: Likewise.
36336         * manual/install.texi: Likewise.
36337         * manual/maint.texi: Likewise.
36338         * Makefile: Likewise.
36339         * malloc/Makefile: Likewise.
36340         * nscd/Makefile: Likewise.
36341         * Makeconfig: Change reference to configure.in and
36342         preconfigure.in to configure.ac and preconfigure.ac
36343         respectively.
36344         * INSTALL: Regenerated.
36345         * configure: Likewise.
36346         * sysdeps/gnu/configure: Likewise.
36347         * sysdeps/i386/configure: Likewise.
36348         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
36349         * sysdeps/mach/configure: Likewise.
36350         * sysdeps/mach/hurd/configure: Likewise.
36351         * sysdeps/powerpc/configure: Likewise.
36352         * sysdeps/powerpc/powerpc32/configure: Likewise.
36353         * sysdeps/powerpc/powerpc64/configure: Likewise.
36354         * sysdeps/s390/s390-32/configure: Likewise.
36355         * sysdeps/s390/s390-64/configure: Likewise.
36356         * sysdeps/sh/configure: Likewise.
36357         * sysdeps/sparc/configure: Likewise.
36358         * sysdeps/unix/sysv/linux/configure: Likewise.
36359         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
36360         * sysdeps/x86_64/configure: Likewise.
36361         * sysdeps/x86_64/preconfigure: Likewise.
36363 2013-10-29  Andreas Schwab  <schwab@suse.de>
36365         * stdio-common/Makefile (tst-swscanf-ENV): Define.
36367 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36369         * benchtests/pow-inputs: Add new inputs.
36371         * benchtests/exp-inputs: Add new inputs.
36373         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
36374         conditional check for return value.
36375         (__cos32): Likewise.
36377 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36379         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
36380         to provide a boost for large inputs with word alignment.
36381         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
36382         implementation based on optimized PPC64 strcpy.
36383         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
36384         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
36385         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
36386         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
36388 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
36390         [BZ #2801]
36391         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
36393 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
36395         [BZ #14876]
36396         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
36397         * time/tst-strptime.c (day_tests): Add testcase.
36399 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
36401         [BZ #14029]
36402         * manual/pattern.texi: Acknowledge that fnmatch can fail.
36404 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
36406         [BZ #16074]
36407         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
36408         MAP_FAILED on error.
36410 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
36412         [BZ #16072]
36413         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
36414         heap for large requests.
36416 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
36418         [BZ #9954]
36419         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
36420         result if the result has no associated interface.
36421         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
36422         interface for all 127.X.Y.Z addresses.
36424 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
36426         * locale/iso-639.def: Add Ligurian (lij)
36428 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
36430         [BZ #15825]
36431         * sunrpc/rpc_main.c: Document rpcgen -5.
36433 2013-10-19  Michael Stahl  <mstahl@redhat.com>
36435         * elf/rtld.c (do_preload): Print the reason why preloading failed.
36437 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
36439         [BZ #10278]
36440         * posix/glob.c: Match only directories when trailing slash is present.
36441         * posix/tst-gnuglob.c (my_opendir): Do not open files.
36442         (main): Add testcase.
36444 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
36446         [BZ #15670]
36447         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
36449 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
36451         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
36452         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
36453         AUTH_DES and cindex for FIPS 140-2.
36454         (DES Encryption): Add cindex FIPS 46-3.
36456         * locale/locarchive.h (struct locarhandle): Add fname.
36457         * locale/programs/localedef.c (main): Pass ARGV[remaining]
36458         if an optional argument was specified to --list-archive,
36459         otherwise NULL.
36460         * locale/programs/locarchive.c (show_archive_content): Take new
36461         argument fname and pass it via ah.fname to open_archive.
36462         * locale/programs/localedef.h: Update decl.
36463         (open_archive): If AH->fname is non-null, open that file
36464         rather than the default file name, and don't ignore ENOENT.
36465         (create_archive): Set AH.fname to NULL.
36466         (delete_locales_from_archive): Likewise.
36467         (add_locales_to_archive): Likewise.
36468         * locale/programs/locfile.c (write_all_categories): Likewise.
36470 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
36471             Aldy Hernandez  <aldyh@redhat.com>
36473         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
36474         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
36475         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
36476         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
36477         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
36478         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
36479         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
36480         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
36481         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
36482         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
36483         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
36484         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
36485         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
36486         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
36487         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
36488         Likewise.
36489         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
36490         Likewise.
36491         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
36492         Likewise.
36493         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
36494         Likewise.
36495         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
36496         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
36497         Likewise.
36498         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
36499         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
36500         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
36501         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
36502         Likewise.
36503         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
36504         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
36505         * sysdeps/powerpc/preconfigure: Likewise.
36506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
36507         Likewise.
36508         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
36509         Replace contents of file by #include of <fenv_libc.h>.
36510         * sysdeps/powerpc/soft-fp/sfp-machine.h
36511         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
36512         and <sys/prctl.h>.
36513         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
36514         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
36515         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
36516         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
36517         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
36518         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
36519         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
36520         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
36521         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
36522         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
36523         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
36524         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
36525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
36526         Allow copysignl PLT reference to be missing.
36528 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
36529             Joseph Myers  <joseph@codesourcery.com
36531         [BZ #15948]
36532         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
36533         single character.
36534         (add_to_tablewc): Assert sequence of wide characters is nonempty.
36536 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
36538         * elf/tst-tls-dlinfo.c: Don't include tls.h.
36539         * elf/tst-tls1.c: Likewise.
36540         * elf/tst-tls10.h: Likewise.
36541         * elf/tst-tls14.c: Likewise.
36542         * elf/tst-tls2.c: Likewise.
36543         * elf/tst-tls3.c: Likewise.
36544         * elf/tst-tls4.c: Likewise.
36545         * elf/tst-tls5.c: Likewise.
36546         * elf/tst-tls6.c: Likewise.
36547         * elf/tst-tls7.c: Likewise.
36548         * elf/tst-tls8.c: Likewise.
36549         * elf/tst-tls9.c: Likewise.
36550         * elf/tst-tlsmod1.c: Likewise.
36551         * elf/tst-tlsmod13.c: Likewise.
36552         * elf/tst-tlsmod13a.c: Likewise.
36553         * elf/tst-tlsmod14a.c: Likewise.
36554         * elf/tst-tlsmod16a.c: Likewise.
36555         * elf/tst-tlsmod16b.c: Likewise.
36556         * elf/tst-tlsmod2.c: Likewise.
36557         * elf/tst-tlsmod3.c: Likewise.
36558         * elf/tst-tlsmod4.c: Likewise.
36559         * elf/tst-tlsmod5.c: Likewise.
36560         * elf/tst-tlsmod6.c: Likewise.
36562 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
36564         [BZ #12486]
36565         * malloc/malloc.c: remove checks for statistics.
36567 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
36569         [BZ #15277]
36570         * inet/inet_net.c (inet_network): Detect additional invalid strings.
36571         * inet/tst-network.c: Add testcase.
36573 2013-10-17  Andreas Schwab  <schwab@suse.de>
36575         [BZ #15218]
36576         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
36577         to determine canonical name.
36579 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
36581         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
36582         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
36583         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36584         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
36585         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36586         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
36587         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
36588         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
36589         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
36590         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
36591         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
36592         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
36593         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
36594         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
36595         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
36596         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
36597         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36598         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
36599         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
36600         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
36601         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36602         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36603         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
36604         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
36605         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
36606         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
36607         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
36608         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
36609         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
36610         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
36611         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
36612         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36613         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
36614         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
36615         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
36616         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
36617         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
36618         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
36619         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
36620         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36621         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
36622         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
36623         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
36624         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
36625         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
36626         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
36627         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
36628         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
36629         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
36630         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
36631         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
36632         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
36633         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
36634         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
36635         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36636         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
36637         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36638         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
36640 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
36642         [BZ #16041]
36643         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
36644         make result into a quiet NaN.
36646 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
36648         * soft-fp/adddf3.c: Fix horizontal whitespace.
36649         * soft-fp/addsf3.c: Likewise.
36650         * soft-fp/addtf3.c: Likewise.
36651         * soft-fp/divdf3.c: Likewise.
36652         * soft-fp/divsf3.c: Likewise.
36653         * soft-fp/divtf3.c: Likewise.
36654         * soft-fp/double.h: Likewise.
36655         * soft-fp/eqdf2.c: Likewise.
36656         * soft-fp/eqsf2.c: Likewise.
36657         * soft-fp/eqtf2.c: Likewise.
36658         * soft-fp/extenddftf2.c: Likewise.
36659         * soft-fp/extended.h: Likewise.
36660         * soft-fp/extendsfdf2.c: Likewise.
36661         * soft-fp/extendsftf2.c: Likewise.
36662         * soft-fp/extendxftf2.c: Likewise.
36663         * soft-fp/fixdfdi.c: Likewise.
36664         * soft-fp/fixdfsi.c: Likewise.
36665         * soft-fp/fixdfti.c: Likewise.
36666         * soft-fp/fixsfdi.c: Likewise.
36667         * soft-fp/fixsfsi.c: Likewise.
36668         * soft-fp/fixsfti.c: Likewise.
36669         * soft-fp/fixtfdi.c: Likewise.
36670         * soft-fp/fixtfsi.c: Likewise.
36671         * soft-fp/fixtfti.c: Likewise.
36672         * soft-fp/fixunsdfdi.c: Likewise.
36673         * soft-fp/fixunsdfsi.c: Likewise.
36674         * soft-fp/fixunsdfti.c: Likewise.
36675         * soft-fp/fixunssfdi.c: Likewise.
36676         * soft-fp/fixunssfsi.c: Likewise.
36677         * soft-fp/fixunssfti.c: Likewise.
36678         * soft-fp/fixunstfdi.c: Likewise.
36679         * soft-fp/fixunstfsi.c: Likewise.
36680         * soft-fp/fixunstfti.c: Likewise.
36681         * soft-fp/floatdidf.c: Likewise.
36682         * soft-fp/floatdisf.c: Likewise.
36683         * soft-fp/floatditf.c: Likewise.
36684         * soft-fp/floatsidf.c: Likewise.
36685         * soft-fp/floatsisf.c: Likewise.
36686         * soft-fp/floatsitf.c: Likewise.
36687         * soft-fp/floattidf.c: Likewise.
36688         * soft-fp/floattisf.c: Likewise.
36689         * soft-fp/floattitf.c: Likewise.
36690         * soft-fp/floatundidf.c: Likewise.
36691         * soft-fp/floatundisf.c: Likewise.
36692         * soft-fp/floatunditf.c: Likewise.
36693         * soft-fp/floatunsidf.c: Likewise.
36694         * soft-fp/floatunsisf.c: Likewise.
36695         * soft-fp/floatunsitf.c: Likewise.
36696         * soft-fp/floatuntidf.c: Likewise.
36697         * soft-fp/floatuntisf.c: Likewise.
36698         * soft-fp/floatuntitf.c: Likewise.
36699         * soft-fp/fmadf4.c: Likewise.
36700         * soft-fp/fmasf4.c: Likewise.
36701         * soft-fp/fmatf4.c: Likewise.
36702         * soft-fp/gedf2.c: Likewise.
36703         * soft-fp/gesf2.c: Likewise.
36704         * soft-fp/getf2.c: Likewise.
36705         * soft-fp/ledf2.c: Likewise.
36706         * soft-fp/lesf2.c: Likewise.
36707         * soft-fp/letf2.c: Likewise.
36708         * soft-fp/muldf3.c: Likewise.
36709         * soft-fp/mulsf3.c: Likewise.
36710         * soft-fp/multf3.c: Likewise.
36711         * soft-fp/negdf2.c: Likewise.
36712         * soft-fp/negsf2.c: Likewise.
36713         * soft-fp/negtf2.c: Likewise.
36714         * soft-fp/op-1.h: Likewise.
36715         * soft-fp/op-2.h: Likewise.
36716         * soft-fp/op-4.h: Likewise.
36717         * soft-fp/op-8.h: Likewise.
36718         * soft-fp/op-common.h: Likewise.
36719         * soft-fp/quad.h: Likewise.
36720         * soft-fp/single.h: Likewise.
36721         * soft-fp/soft-fp.h: Likewise.
36722         * soft-fp/sqrtdf2.c: Likewise.
36723         * soft-fp/sqrtsf2.c: Likewise.
36724         * soft-fp/sqrttf2.c: Likewise.
36725         * soft-fp/subdf3.c: Likewise.
36726         * soft-fp/subsf3.c: Likewise.
36727         * soft-fp/subtf3.c: Likewise.
36728         * soft-fp/truncdfsf2.c: Likewise.
36729         * soft-fp/trunctfdf2.c: Likewise.
36730         * soft-fp/trunctfsf2.c: Likewise.
36731         * soft-fp/trunctfxf2.c: Likewise.
36732         * soft-fp/unorddf2.c: Likewise.
36733         * soft-fp/unordsf2.c: Likewise.
36734         * soft-fp/unordtf2.c: Likewise.
36736 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
36738         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
36739         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
36741 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
36743         * elf/dl-libc.c: Clear initfini list after freeing.
36745 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
36747         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
36748         * soft-fp/addsf3.c: Likewise.
36749         * soft-fp/addtf3.c: Likewise.
36750         * soft-fp/divdf3.c: Likewise.
36751         * soft-fp/divsf3.c: Likewise.
36752         * soft-fp/divtf3.c: Likewise.
36753         * soft-fp/double.h: Likewise.
36754         * soft-fp/eqdf2.c: Likewise.
36755         * soft-fp/eqsf2.c: Likewise.
36756         * soft-fp/eqtf2.c: Likewise.
36757         * soft-fp/extenddftf2.c: Likewise.
36758         * soft-fp/extended.h: Likewise.
36759         * soft-fp/extendsfdf2.c: Likewise.
36760         * soft-fp/extendsftf2.c: Likewise.
36761         * soft-fp/extendxftf2.c: Likewise.
36762         * soft-fp/fixdfdi.c: Likewise.
36763         * soft-fp/fixdfsi.c: Likewise.
36764         * soft-fp/fixdfti.c: Likewise.
36765         * soft-fp/fixsfdi.c: Likewise.
36766         * soft-fp/fixsfsi.c: Likewise.
36767         * soft-fp/fixsfti.c: Likewise.
36768         * soft-fp/fixtfdi.c: Likewise.
36769         * soft-fp/fixtfsi.c: Likewise.
36770         * soft-fp/fixtfti.c: Likewise.
36771         * soft-fp/fixunsdfdi.c: Likewise.
36772         * soft-fp/fixunsdfsi.c: Likewise.
36773         * soft-fp/fixunsdfti.c: Likewise.
36774         * soft-fp/fixunssfdi.c: Likewise.
36775         * soft-fp/fixunssfsi.c: Likewise.
36776         * soft-fp/fixunssfti.c: Likewise.
36777         * soft-fp/fixunstfdi.c: Likewise.
36778         * soft-fp/fixunstfsi.c: Likewise.
36779         * soft-fp/fixunstfti.c: Likewise.
36780         * soft-fp/floatdidf.c: Likewise.
36781         * soft-fp/floatdisf.c: Likewise.
36782         * soft-fp/floatditf.c: Likewise.
36783         * soft-fp/floatsidf.c: Likewise.
36784         * soft-fp/floatsisf.c: Likewise.
36785         * soft-fp/floatsitf.c: Likewise.
36786         * soft-fp/floattidf.c: Likewise.
36787         * soft-fp/floattisf.c: Likewise.
36788         * soft-fp/floattitf.c: Likewise.
36789         * soft-fp/floatundidf.c: Likewise.
36790         * soft-fp/floatundisf.c: Likewise.
36791         * soft-fp/floatunsidf.c: Likewise.
36792         * soft-fp/floatunsisf.c: Likewise.
36793         * soft-fp/floatuntidf.c: Likewise.
36794         * soft-fp/floatuntisf.c: Likewise.
36795         * soft-fp/floatuntitf.c: Likewise.
36796         * soft-fp/fmadf4.c: Likewise.
36797         * soft-fp/fmasf4.c: Likewise.
36798         * soft-fp/fmatf4.c: Likewise.
36799         * soft-fp/gedf2.c: Likewise.
36800         * soft-fp/gesf2.c: Likewise.
36801         * soft-fp/getf2.c: Likewise.
36802         * soft-fp/ledf2.c: Likewise.
36803         * soft-fp/lesf2.c: Likewise.
36804         * soft-fp/letf2.c: Likewise.
36805         * soft-fp/muldf3.c: Likewise.
36806         * soft-fp/mulsf3.c: Likewise.
36807         * soft-fp/multf3.c: Likewise.
36808         * soft-fp/negdf2.c: Likewise.
36809         * soft-fp/negsf2.c: Likewise.
36810         * soft-fp/negtf2.c: Likewise.
36811         * soft-fp/op-1.h: Likewise.
36812         * soft-fp/op-2.h: Likewise.
36813         * soft-fp/op-4.h: Likewise.
36814         * soft-fp/op-8.h: Likewise.
36815         * soft-fp/op-common.h: Likewise.
36816         * soft-fp/quad.h: Likewise.
36817         * soft-fp/single.h: Likewise.
36818         * soft-fp/soft-fp.h: Likewise.
36819         * soft-fp/sqrtdf2.c: Likewise.
36820         * soft-fp/sqrtsf2.c: Likewise.
36821         * soft-fp/sqrttf2.c: Likewise.
36822         * soft-fp/subdf3.c: Likewise.
36823         * soft-fp/subsf3.c: Likewise.
36824         * soft-fp/subtf3.c: Likewise.
36825         * soft-fp/truncdfsf2.c: Likewise.
36826         * soft-fp/trunctfdf2.c: Likewise.
36827         * soft-fp/trunctfsf2.c: Likewise.
36828         * soft-fp/trunctfxf2.c: Likewise.
36829         * soft-fp/unorddf2.c: Likewise.
36830         * soft-fp/unordsf2.c: Likewise.
36831         * soft-fp/unordtf2.c: Likewise.
36833 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
36835         [BZ #15672]
36836         * misc/error.c (error_tail): Fix possible buffer overflow.
36838 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
36840         [BZ #13028]
36841         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
36842         address.
36844 2013-10-14  P. J. McDermott  <pj@pehjota.net>
36846         [BZ #832]
36847         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
36848         testing pipefail option.
36850 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
36852         * soft-fp/double.h: Indent preprocessor directives inside #if.
36853         * soft-fp/extended.h: Likewise.
36854         * soft-fp/op-2.h: Likewise.
36855         * soft-fp/op-4.h: Likewise.
36856         * soft-fp/op-common.h: Likewise.
36857         * soft-fp/quad.h: Likewise.
36858         * soft-fp/single.h: Likewise.
36859         * soft-fp/soft-fp.h: Likewise.
36861 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
36863         * iconv/iconv_prog.c: Fix typos.
36864         * stdio-common/psiginfo-data.h: Likewise.
36866 2013-10-12   Reuben Thomas <rrt@sc3d.org>
36868         [BZ #15764]
36869         * locale/setlocale.c: Fix typo.
36871 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
36873         [BZ #16036]
36874         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
36875         signaling NaN arguments.
36876         * soft-fp/unordsf2.c (__unordsf2): Likewise.
36877         * soft-fp/unordtf2.c (__unordtf2): Likewise.
36879         [BZ #14910]
36880         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
36881         unordered operands.
36882         * soft-fp/gesf2.c (__gesf2): Likewise.
36883         * soft-fp/getf2.c (__getf2): Likewise.
36884         * soft-fp/ledf2.c (__ledf2): Likewise.
36885         * soft-fp/lesf2.c (__lesf2): Likewise.
36886         * soft-fp/letf2.c (__letf2): Likewise.
36888         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
36889         * soft-fp/eqsf2.c (__eqsf2): Likewise.
36890         * soft-fp/eqtf2.c (__eqtf2): Likewise.
36891         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
36892         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
36893         * soft-fp/fixdfti.c (__fixdfti): Likewise.
36894         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
36895         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
36896         * soft-fp/fixsfti.c (__fixsfti): Likewise.
36897         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
36898         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
36899         * soft-fp/fixtfti.c (__fixtfti): Likewise.
36900         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
36901         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
36902         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
36903         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
36904         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
36905         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
36906         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
36907         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
36908         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
36909         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
36910         * soft-fp/floatdisf.c (__floatdisf): Likewise.
36911         * soft-fp/floatsisf.c (__floatsisf): Likewise.
36912         * soft-fp/floattidf.c (__floattidf): Likewise.
36913         * soft-fp/floattisf.c (__floattisf): Likewise.
36914         * soft-fp/floattitf.c (__floattitf): Likewise.
36915         * soft-fp/floatundidf.c (__floatundidf): Likewise.
36916         * soft-fp/floatundisf.c (__floatundisf): Likewise.
36917         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
36918         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
36919         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
36920         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
36921         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
36922         * soft-fp/gesf2.c (__gesf2): Likewise.
36923         * soft-fp/getf2.c (__getf2): Likewise.
36924         * soft-fp/ledf2.c (__ledf2): Likewise.
36925         * soft-fp/lesf2.c (__lesf2): Likewise.
36926         * soft-fp/letf2.c (__letf2): Likewise.
36928         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
36929         Undefine and redefine.
36930         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
36931         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
36932         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
36933         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
36934         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
36935         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
36936         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
36937         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
36938         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
36939         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
36940         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
36941         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
36942         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
36943         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
36944         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
36946         [BZ #16032]
36947         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
36948         without decrementing exponent if mantissa >= that for the
36949         denominator, not >.
36950         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
36951         denominator, not >.  Decrement exponent in < case instead of
36952         incrementing in >= case.
36953         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
36954         without decrementing exponent if mantissa >= that for the
36955         denominator, not >.
36957         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
36958         computing saturated result for unsigned overflow.
36960 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
36961             Jeff Law  <law@redhat.com>
36963         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
36964         (atan2Mp): Add systemtap probe marker.
36965         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
36966         (__ieee754_log): Add systemtap probe marker.
36967         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
36968         (atanMp): Add systemtap probe marker.
36969         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
36970         (tanMp): Add systemtap probe marker.
36971         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
36972         (__slowexp): Add systemtap probe marker.
36973         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
36974         (__slowpow): Add systemtap probe marker.
36975         * manual/probes.texi: Document probes.
36977 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
36979         [BZ #15362]
36980         * libio/fileops.c (_IO_new_file_write): Return count of bytes
36981         written.
36982         (_IO_new_file_xsputn): Don't return EOF if nothing has been
36983         written.
36984         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
36985         written to buffer but not flushed.
36986         * libio/iofwrite_u.c:  Likewise.
36987         * libio/iopadn.c:  Return bytes returned even if EOF was
36988         encountered.
36989         * libio/iowpadn.c:  Likewise.
36990         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
36991         if _IO_padn does not write the whole buffer.
36992         [!COMPILE_WPRINTF] (PAD): Likewise.
36994 2013-10-10  David S. Miller  <davem@davemloft.net>
36996         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
36997         directory block.
36999 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
37001         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
37002         instead of FSF address.
37003         * soft-fp/fixdfti.c: Likewise.
37004         * soft-fp/fixsfti.c: Likewise.
37005         * soft-fp/fixtfti.c: Likewise.
37006         * soft-fp/fixunsdfti.c: Likewise.
37007         * soft-fp/fixunssfti.c: Likewise.
37008         * soft-fp/fixunstfti.c: Likewise.
37009         * soft-fp/floattidf.c: Likewise.
37010         * soft-fp/floattisf.c: Likewise.
37011         * soft-fp/floattitf.c: Likewise.
37012         * soft-fp/floatuntidf.c: Likewise.
37013         * soft-fp/floatuntisf.c: Likewise.
37014         * soft-fp/floatuntitf.c: Likewise.
37015         * soft-fp/trunctfxf2.c: Likewise.
37017         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
37018         * soft-fp/fixdfti.c: Likewise.
37019         * soft-fp/fixsfti.c: Likewise.
37020         * soft-fp/fixtfti.c: Likewise.
37021         * soft-fp/fixunsdfti.c: Likewise.
37022         * soft-fp/fixunssfti.c: Likewise.
37023         * soft-fp/fixunstfti.c: Likewise.
37024         * soft-fp/floattidf.c: Likewise.
37025         * soft-fp/floattisf.c: Likewise.
37026         * soft-fp/floattitf.c: Likewise.
37027         * soft-fp/floatuntidf.c: Likewise.
37028         * soft-fp/floatuntisf.c: Likewise.
37029         * soft-fp/floatuntitf.c: Likewise.
37030         * soft-fp/trunctfxf2.c: Likewise.
37032 2013-10-10  David S. Miller  <davem@davemloft.net>
37034         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37036 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
37038         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
37039         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
37040         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
37041         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
37042         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
37043         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
37044         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
37046         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
37047         for NaNs before doing comparisons on argument.
37048         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
37049         Likewise.
37051 2013-10-10  Will Newton  <will.newton@linaro.org>
37053         * malloc/hooks.c (memalign_check): Ensure the value of bytes
37054         passed to _int_memalign does not overflow.
37056 2013-10-10  Torvald Riegel  <triegel@redhat.com>
37058         * scripts/bench.pl: Add include-sources directive.
37059         * benchtests/README: Update documentation.
37061 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
37063         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
37064         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
37065         instead of FP_INIT_ROUNDMODE.
37066         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
37067         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
37069         [BZ #16034]
37070         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
37071         copy class of input value.
37072         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
37073         not handle exceptions.
37074         * soft-fp/negsf2.c (__negsf2): Likewise.
37075         * soft-fp/negtf2.c (__negtf2): Likewise.
37076         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
37078 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
37080         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
37081         semicolon.  From Linux kernel.
37083 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
37085         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
37087 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
37089         [BZ #156]
37090         * manual/socket.texi: Added statement about buffer
37091         for gethostbyname2_r.
37093 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
37095         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
37096         Use .p2align directive instead, throughout.
37097         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
37098         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
37099         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
37100         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
37101         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
37102         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
37103         * sysdeps/x86_64/strchr.S: Likewise.
37104         * sysdeps/x86_64/strrchr.S: Likewise.
37106 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
37108         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
37110         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
37112         * sysdeps/generic/math_private.h (__mpsin1): Remove
37113         declaration.
37114         (__mpcos1): Likewise.
37115         (__mpsin): New argument __range_reduce.
37116         (__mpcos): Likewise.
37117         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37118         (slow): Use __mpsin and __mpcos.
37119         (slow1): Likewise.
37120         (slow2): Likewise.
37121         (sloww): Likewise.
37122         (sloww1): Likewise.
37123         (sloww2): Likewise.
37124         (bsloww): Likewise.
37125         (bsloww1): Likewise.
37126         (bsloww2): Likewise.
37127         (cslow2): Likewise.
37128         (csloww): Likewise.
37129         (csloww1): Likewise.
37130         (csloww2): Likewise.
37131         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
37132         range_reduce.  Merge in __mpsin1.
37133         (__mpcos): Likewise.
37134         (__mpsin1): Remove.
37135         (__mpcos1): Likewise.
37137 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
37139         * locale/loadlocale.c (_nl_intern_locale_data): Use
37140         LOCFILE_ALIGNED_P.
37141         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
37142         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
37143         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
37144         obstack data is appropriately aligned.
37145         (obstack_int32_grow_fast): Likewise.
37146         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
37147         * locale/programs/locfile.c (add_locale_uint32): Likewise.
37148         (add_locale_uint32_array): Likewise.
37150 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
37152         * benchtests/Makefile: Remove ARGLIST and RET variables.
37153         ($(objpfx)bench-%.c): Pass only function name to the script.
37154         * benchtests/README: Update documentation.
37155         * benchtests/acos-inputs: Add new directives.
37156         * benchtests/acosh-inputs: Likewise.
37157         * benchtests/asin-inputs: Likewise.
37158         * benchtests/asinh-inputs: Likewise.
37159         * benchtests/atan-inputs: Likewise.
37160         * benchtests/atanh-inputs: Likewise.
37161         * benchtests/cos-inputs: Likewise.
37162         * benchtests/cosh-inputs: Likewise.
37163         * benchtests/exp-inputs: Likewise.
37164         * benchtests/log-inputs: Likewise.
37165         * benchtests/pow-inputs: Likewise.
37166         * benchtests/rint-inputs: Likewise.
37167         * benchtests/sin-inputs: Likewise.
37168         * benchtests/sinh-inputs: Likewise.
37169         * benchtests/tan-inputs: Likewise.
37170         * benchtests/tanh-inputs: Likewise.
37171         * scripts/bench.pl: Add support for new directives.
37173 2013-10-07  Alan Modra  <amodra@gmail.com>
37175         * README: Fix careless merge.
37177 2013-10-05  Alan Modra  <amodra@gmail.com>
37179         * NEWS: Mention powerpc64le support and bugs fixed.
37180         * README: Both big-endian and little-endian powerpc64 supported.
37182 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37184         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
37185         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
37186         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
37187         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
37189 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
37191         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
37192         match prototype.
37194 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
37196         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
37197         Move -mhard-float appending from
37198         ports/sysdeps/powerpc/powerpc32/Makefile.
37199         [$(with-fp) = yes] (ASFLAGS): Likewise.
37200         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
37201         * sysdeps/powerpc/nofpu: Move directory from
37202         ports/sysdeps/powerpc/nofpu.
37203         * sysdeps/powerpc/soft-fp: Move directory from
37204         ports/sysdeps/powerpc/soft-fp.
37205         * sysdeps/powerpc/powerpc32/405: Move directory from
37206         ports/sysdeps/powerpc/powerpc32/405.
37207         * sysdeps/powerpc/powerpc32/440: Move directory from
37208         ports/sysdeps/powerpc/powerpc32/440.
37209         * sysdeps/powerpc/powerpc32/464: Move directory from
37210         ports/sysdeps/powerpc/powerpc32/464.
37211         * sysdeps/powerpc/powerpc32/476: Move directory from
37212         ports/sysdeps/powerpc/powerpc32/476.
37213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
37214         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
37215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
37216         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
37217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
37218         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
37219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
37220         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
37221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
37222         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
37223         * README: Update for powerpc-*-linux-gnu software floating point
37224         support in libc.
37226         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
37227         case to powerpc/powerpc32*.
37228         * sysdeps/unix/sysv/linux/configure: Regenerated.
37230         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
37231         (_FPU_MASK_OM): Define as 0x04.
37232         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
37233         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
37234         0x00c10080.
37235         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
37236         0x0000003c.
37237         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
37239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
37240         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
37241         getcontext_e500.
37242         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
37243         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
37244         setcontext_e500.
37245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
37246         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
37247         and setcontext_e500.
37249 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
37251         * locale/iso-3166.def: Update iso-1366.def and related occurrences
37253 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
37255         * manual/threads.texi (Default Thread Attributes): Fix typo.
37257 2013-10-04  Will Newton  <will.newton@linaro.org>
37259         * malloc/Makefile: Add tst-memalign.
37260         * malloc/tst-memalign.c: New file.
37262         * malloc/tst-posix_memalign.c: Add comments.
37263         (do_test): Add comments and call free on all potentially
37264         allocated pointers. Add space after cast.
37266         * malloc/tst-pvalloc.c: Add comments.
37267         (do_test): Add comments and call free on all potentially
37268         allocated pointers. Remove duplicate check for NULL pointer.
37269         Add space after cast.
37271         * malloc/tst-valloc.c: Add comments.
37272         (do_test): Add comments and call free on all potentially
37273         allocated pointers. Remove duplicate check for NULL pointer.
37274         Add space after cast.
37276 2013-10-04  Alan Modra  <amodra@gmail.com>
37278         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
37279         Use stdint types in rather than __attribute__((mode())).
37280         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
37282 2013-10-04  Alan Modra  <amodra@gmail.com>
37284         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
37285         Correct handling of unaligned relocs for little-endian.
37286         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
37288 2013-10-04  Alan Modra  <amodra@gmail.com>
37290         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
37291         * configure: Regenerate.
37292         * nptl/shlib-versions: Powerpc*le starts at 2.18.
37293         * shlib-versions: Likewise.
37295 2013-10-04  Alan Modra  <amodra@gmail.com>
37297         * string/tester.c (test_memrchr): Increment reported test cycle.
37299 2013-10-04  Alan Modra  <amodra@gmail.com>
37301         * string/test-memcpy.c (do_one_test): When reporting errors, print
37302         string address and don't overrun end of string.
37304 2013-10-04  Alan Modra  <amodra@gmail.com>
37306         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
37307         insrdi.  Make better use of reg selection to speed exit slightly.
37308         Schedule entry path a little better.  Remove useless "are we done"
37309         checks on entry to main loop.  Handle wrapping around zero address.
37310         Correct main loop count.  Handle single left-over word from main
37311         loop inline rather than by using loop_small.  Remove extra word
37312         case in loop_small caused by wrong loop count.  Add little-endian
37313         support.
37314         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
37315         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
37316         cache hint.
37317         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
37318         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
37319         support.  Avoid rlwimi.
37320         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
37322 2013-10-04  Alan Modra  <amodra@gmail.com>
37324         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
37325         insrdi.  Formatting.
37326         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
37327         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
37328         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
37329         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
37330         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
37331         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
37333 2013-10-04  Alan Modra  <amodra@gmail.com>
37335         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
37336         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
37337         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
37338         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
37339         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
37340         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
37341         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
37342         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
37343         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
37344         use of regs.  Use power7 mtocrf.  Tidy function tails.
37346 2013-10-04  Alan Modra  <amodra@gmail.com>
37348         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
37349         Formatting.  Consistently use rXXX register defines or rN defines.
37350         Use early exit labels that avoid restoring unused non-volatile regs.
37351         Make cr field use more consistent with rWORDn compares.  Rename
37352         regs used as shift registers for unaligned loop, using rN defines
37353         for short lifetime/multiple use regs.
37354         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
37355         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
37356         addi 1,1,64 to pop stack frame.  Simplify return value code.
37357         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
37359 2013-10-04  Alan Modra  <amodra@gmail.com>
37361         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
37362         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
37363         rather than rlwimi.
37364         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
37365         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
37366         little-endian support.  Correct typos.
37367         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
37368         rather than rlwimi.
37369         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
37370         in loop and entry code to keep "and." results.
37371         (strchr): Add little-endian support.  Comment.  Move cntlzd
37372         earlier in tail.
37373         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
37375 2013-10-04  Alan Modra  <amodra@gmail.com>
37377         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
37378         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
37379         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
37380         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
37382 2013-10-04  Alan Modra  <amodra@gmail.com>
37384         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
37385         (rTMP): Define as r11.
37386         (strcmp): Add little-endian support.  Optimise tail.
37387         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
37388         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
37389         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
37390         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
37391         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
37392         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
37393         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
37395 2013-10-04  Alan Modra  <amodra@gmail.com>
37397         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
37398         little-endian support.  Remove unnecessary "are we done" tests.
37399         Handle "s" wrapping around zero and extremely large "size".
37400         Correct main loop count.  Handle single left-over word from main
37401         loop inline rather than by using small_loop.  Correct comments.
37402         Delete "zero" tail, use "end_max" instead.
37403         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
37405 2013-10-04  Alan Modra  <amodra@gmail.com>
37407         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
37408         support.  Don't branch over align.
37409         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
37410         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
37411         support.  Rearrange tmp reg use to suit.  Comment.
37412         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
37414 2013-10-04  Alan Modra  <amodra@gmail.com>
37416         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
37418 2013-10-04  Alan Modra  <amodra@gmail.com>
37420         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
37421         conditional form of branch and link when obtaining pc.
37422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
37424 2013-10-04  Alan Modra  <amodra@gmail.com>
37426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
37427         HIWORD/LOWORD.
37428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
37429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
37431 2013-10-04  Alan Modra  <amodra@gmail.com>
37433         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
37434         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
37435         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
37436         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
37437         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
37438         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
37439         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
37440         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
37441         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
37442         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
37444 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
37445             Alistair Popple <alistair@ozlabs.au.ibm.com>
37446             Alan Modra <amodra@gmail.com>
37448         [BZ #15723]
37449         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
37450         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
37451         _dl_hwcap access for little-endian.
37452         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
37453         destroy vmx regs when saving unaligned.
37454         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
37455         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
37456         destroy vmx regs when saving unaligned.
37458 2013-10-04  Alan Modra  <amodra@gmail.com>
37460         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
37461         Don't use a union to pack hi/low value.
37463 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
37465         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
37466         for little-endian.
37467         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
37468         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
37469         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
37470         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
37471         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
37473 2013-10-04  Alan Modra  <amodra@gmail.com>
37475         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
37476         constants to usual value for .cst8 section, and remove redundant
37477         high address load.
37478         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
37479         constant for 0x1p52.  Load little-endian words of double from
37480         correct stack offsets.
37482 2013-10-04  Alan Modra  <amodra@gmail.com>
37484         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
37485         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
37486         words of double from correct stack offsets.
37487         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
37488         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
37489         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
37490         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
37491         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
37492         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
37493         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
37494         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
37495         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
37496         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
37497         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
37498         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
37499         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
37500         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
37501         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
37502         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
37503         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
37505 2013-10-04  Alan Modra  <amodra@gmail.com>
37507         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
37508         64-bit int/double union.
37509         (_FPU_SETCW): Likewise.
37510         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
37511         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
37513 2013-10-04  Alan Modra  <amodra@gmail.com>
37515         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
37516         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
37518 2013-10-04  Alan Modra  <amodra@gmail.com>
37520         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
37521         use vector int constants.
37522         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
37524 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
37526         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
37527         array with long long.
37528         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
37529         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
37530         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
37531         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
37532         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
37533         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
37534         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
37535         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
37536         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
37537         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
37538         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
37539         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
37540         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
37542 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
37544         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
37545         (__signbit): Likewise.  Correct for little-endian.
37546         (__signbitl): Call __signbit.
37547         (lrint): Correct for little-endian.
37548         (lrintf): Call lrint.
37550 2013-10-04  Alan Modra  <amodra@gmail.com>
37552         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
37553         union 32-bit int array member with 64-bit int array.
37554         (t515, tm256): Double rather than long double.
37555         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
37557 2013-10-04  Alan Modra  <amodra@gmail.com>
37559         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
37560         Delete.
37561         (IEEE854_LONG_DOUBLE_BIAS): Delete.
37562         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
37563         version of math_ldbl.h.
37565 2013-10-04  Alan Modra  <amodra@gmail.com>
37567         [BZ #15734], [BZ #15735]
37568         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
37569         all uses of ieee875 long double macros and unions.  Simplify test
37570         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
37571         ldbl_extract_mantissa value for ix,iy exponents.  Properly
37572         normalize after ldbl_extract_mantissa, and don't add hidden bit
37573         already handled.  Don't treat low word of ieee854 mantissa like
37574         low word of IBM long double and mask off bit when testing for
37575         zero.
37576         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
37577         all uses of ieee875 long double macros and unions.  Simplify tests
37578         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
37579         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
37580         two1022, instead use their values.  Recognise that tests for large
37581         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
37582         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
37583         Rewrite all uses of ieee875 long double macros and unions.  Simplify
37584         test for 0.0L and nan.  Correct negation.
37585         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
37586         ieee875 long double macros and unions.  Correct output for large
37587         magnitude x.  Correct absolute value calculation.
37588         (__erfcl): Likewise.
37589         * math/libm-test.inc: Add tests for errors discovered in IBM long
37590         double versions of fmodl, remainderl, erfl and erfcl.
37592 2013-10-04  Alan Modra  <amodra@gmail.com>
37594         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
37595         all uses of ieee854 long double macros and unions.  Simplify tests
37596         for long doubles that are fully specified by the high double.
37597         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
37598         Likewise.
37599         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
37600         Remove dead code too.
37601         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
37602         (__ieee754_ynl): Likewise.
37603         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
37604         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
37605         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
37606         Remove dead code too.
37607         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
37608         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
37609         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
37610         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
37611         Simplify.
37612         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
37613         Simplify.
37614         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
37615         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
37616         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
37617         Comment on variable precision.
37618         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
37619         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
37620         Likewise.
37621         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
37622         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
37623         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
37624         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
37625         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
37627 2013-10-04  Alan Modra  <amodra@gmail.com>
37629         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
37630         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
37631         all uses of ieee854 long double macros and unions.
37632         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
37633         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
37634         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
37635         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
37636         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
37637         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
37638         Likewise.
37639         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
37640         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
37641         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
37642         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
37643         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
37644         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
37645         Simplify sign and nan test too.
37646         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
37647         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
37648         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
37649         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
37650         Likewise.
37651         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
37652         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
37653         Likewise.
37654         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
37655         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
37656         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
37657         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
37658         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
37659         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
37661 2013-10-04  Alan Modra  <amodra@gmail.com>
37663         * stdio-common/printf_size.c (__printf_size): Don't use
37664         union ieee854_long_double in fpnum union.
37665         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
37666         signbit macro to retrieve sign from long double.
37667         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
37668         retrieve sign from long double.
37669         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
37670         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
37671         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
37672         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
37673         * math/test-misc.c (main): Don't use union ieee854_long_double.
37675 2013-10-04  Alan Modra  <amodra@gmail.com>
37677         [BZ #15680]
37678         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
37679         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
37680         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
37681         calculation.  Remove unnecessary test for denormal exponent.
37682         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
37683         Correct handling of denormals.  Avoid undefined shift behaviour.
37684         Correct normalisation of low mantissa when low double is denormal.
37685         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
37686         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
37687         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
37688         Correct normalisation of low mantissa.  Test for overflow of high
37689         mantissa and normalise.
37690         (ldbl_nearbyint): Use more readable constant for two52.
37691         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
37692         (__mpn_construct_long_double): Fix test for overflow of high
37693         mantissa and correct normalisation.  Avoid undefined shift.
37695 2013-10-04  Alan Modra  <amodra@gmail.com>
37697         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
37698         (union ibm_extended_long_double): Define as an array of ieee754_double.
37699         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
37700         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
37701         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
37702         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
37703         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
37704         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
37705         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
37706         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
37707         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
37708         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
37709         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
37711 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
37713         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
37714         page size instead of calling getpagesize.
37716         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
37717         (LOCFILE_ALIGN_MASK): Likewise.
37718         (LOCFILE_ALIGN_UP): Likewise.
37719         (LOCFILE_ALIGNED_P): Likewise.
37720         * locale/programs/ld-collate.c (collate_output): Use the new
37721         macros instead of __alignof__ (int32_t).
37722         * locale/weight.h (findidx): Likewise.
37724 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
37726         [BZ #431]
37727         * manual/string.texi: Fix strncat and wcsncat.
37729 2013-10-03  Brooks Moses  <bmoses@google.com>
37731         [BZ #15915]
37732         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
37733         * Makerules: ...here, and adjust associated comments.
37735 2013-10-02  Will Newton  <will.newton@linaro.org>
37737         * malloc/Makefile: Add tst-pvalloc.
37738         * malloc/tst-pvalloc.c: New file.
37740 2013-10-02  Will Newton  <will.newton@linaro.org>
37742         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
37743         improve test coverage.
37745 2013-10-02  Will Newton  <will.newton@linaro.org>
37747         * malloc/Makefile: Add tst-posix_memalign.
37748         * malloc/tst-posix_memalign.c: New file.
37750 2013-10-01  Eric Blake  <eblake@redhat.com>
37752         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
37753         Use __THROWNL rather than __THROW on static functions.
37755 2013-09-30  Petr Machata  <pmachata@redhat.com>
37757         * elf/elf.h (R_AARCH64_ABS16): New macro.
37758         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
37759         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
37760         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
37761         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
37762         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
37763         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
37764         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
37765         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
37766         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
37767         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
37768         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
37769         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
37770         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
37771         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
37772         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
37773         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
37774         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
37775         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
37776         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
37777         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
37778         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
37779         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
37780         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
37781         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
37782         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
37783         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
37784         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
37785         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
37786         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
37787         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
37788         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
37789         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
37790         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
37791         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
37792         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
37793         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
37794         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
37795         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
37796         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
37797         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
37798         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
37799         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
37800         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
37801         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
37802         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
37803         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
37804         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
37805         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
37806         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
37807         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
37808         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
37809         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
37810         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
37811         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
37812         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
37813         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
37814         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
37815         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
37816         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
37817         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
37818         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
37819         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
37820         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
37821         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
37822         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
37823         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
37824         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
37825         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
37826         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
37827         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
37828         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
37829         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
37830         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
37831         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
37832         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
37833         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
37834         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
37835         (R_AARCH64_TLSDESC_LDR): Likewise.
37836         (R_AARCH64_TLSDESC_ADD): Likewise.
37837         (R_AARCH64_TLSDESC_CALL): Likewise.
37839 2013-09-30  Andreas Schwab  <schwab@suse.de>
37841         [BZ #15048]
37842         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
37843         the nss database lookup.
37844         * nscd/initgrcache.c (addinitgroupsX): Likewise.
37845         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
37847 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
37849         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
37851 2013-09-28  P. J. McDermott  <pj@pehjota.net>
37853         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
37854         ${Bash-specific parameter/pattern/string} parameter expansion.
37855         * sysdeps/unix/make-syscalls.sh: Likewise.
37857 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37859         * sysdeps/sh/stackguard-macros.h: New file.
37861 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
37863         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
37864         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
37865         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
37866         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
37867         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
37868         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
37870 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37872         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
37873         Fix thread ID register.
37875 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
37877         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
37878         [POSIX || UNIX98]: Require rather than permitting all symbols from
37879         <time.h>.
37880         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
37881         element of struct sched_param.
37882         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
37883         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
37884         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
37885         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
37886         constant.
37888 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
37890         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
37891         argument calculation.
37893 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
37895         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
37896         Expect macro.
37897         [POSIX] (pthread_attr_t): Do not require type.
37898         [POSIX] (pthread_cond_t): Likewise.
37899         [POSIX] (pthread_condattr_t): Likewise.
37900         [POSIX] (pthread_key_t): Likewise.
37901         [POSIX] (pthread_mutex_t): Likewise.
37902         [POSIX] (pthread_mutexattr_t): Likewise.
37903         [POSIX] (pthread_once_t): Likewise.
37904         [POSIX] (pthread_t): Likewise.
37905         [POSIX-based standards] (pthread_atfork): Expect function.
37907 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
37908             Richard Sandiford  <richard@codesourcery.com>
37910         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
37911         (swap_endianness_p): New extern variable.
37912         (set_big_endian): New inline function.
37913         (maybe_swap_uint32): Likewise.
37914         (maybe_swap_uint32_array): Likewise.
37915         (maybe_swap_uint32_obstack): Likewise.
37916         * locale/programs/locfile.c: Include <stdbool.h>.
37917         (swap_endianness_p): New variable.
37918         (add_locale_uint32): Call maybe_swap_uint32.
37919         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
37920         (write_locale_data): Call maybe_swap_uint32_array.
37921         * locale/programs/ld-collate.c (obstack_int32_grow): Call
37922         maybe_swap_uint32.
37923         (obstack_int32_grow_fast): Likewise.
37924         (output_weightwc): Call maybe_swap_uint32_obstack.
37925         (collate_output): Likewise.
37926         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
37927         (OPT_LITTLE_ENDIAN): Likewise.
37928         (options): Add --little-endian and --big-endian options.
37929         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
37930         * locale/programs/locarchive.c: Include "locfile.h".
37931         (GET): New macro.
37932         (SET): Likewise.
37933         (INC): Likewise.
37934         (create_archive): Use the new macros to access fields of
37935         structures directly mapped from or written to locale archives.
37936         (oldlocrecentcmp): Likewise.
37937         (enlarge_archive): Likewise.
37938         (insert_name): Likewise.
37939         (add_alias): Likewise.
37940         (add_locale): Likewise.
37941         (delete_locales_from_archive): Likewise.
37942         (show_archive_content): Likewise.
37943         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
37944         locale data.
37946 2013-09-24  Roland McGrath  <roland@hack.frob.com>
37948         * manual/freemanuals.texi: Updated from (newly) canonical copy at
37949         http://www.gnu.org/doc/freemanuals.texi.
37950         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
37952 2013-09-24  Will Newton  <will.newton@linaro.org>
37954         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
37955         macro.
37957 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
37959         * locale/hashval.h (compute_hashval): Interpret bytes of key as
37960         unsigned char.
37962 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
37964         * manual/threads.texi (POSIX Threads): Fix a typo.
37966 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
37968         [BZ #14547]
37969         * string/tst-strcoll-overflow.c: New test case.
37970         * string/Makefile (xtests): Add tst-strcoll-overflow.
37971         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
37972         cache if string sizes may cause integer overflow.
37974         [BZ #14547]
37975         * string/strcoll_l.c (coll_seq): New members rule, idx,
37976         save_idx and back_us.
37977         (get_next_seq_nocache): New function.
37978         (do_compare_nocache): New function.
37979         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
37980         when malloc fails.
37982 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
37984         [BZ #15754]
37985         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
37986         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
37987         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
37989         [BZ #15754]
37990         * elf/Makefile (tests): Add tst-ptrguard1.
37991         (tests-static): Add tst-ptrguard1-static.
37992         (tst-ptrguard1-ARGS): Define.
37993         (tst-ptrguard1-static-ARGS): Define.
37994         * elf/tst-ptrguard1.c: New file.
37995         * elf/tst-ptrguard1-static.c: New file.
37996         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
37997         * sysdeps/i386/stackguard-macros.h: Likewise.
37998         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
37999         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
38000         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
38001         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
38002         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
38003         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
38005 2013-09-23  Hector Marco  <hecmargi@upv.es>
38006             Ismael Ripoll  <iripoll@disca.upv.es>
38007             Carlos O'Donell  <carlos@redhat.com>
38009         [BZ #15754]
38010         * sysdeps/generic/stackguard-macros.h: Define
38011         __pointer_chk_guard_local and POINTER_CHK_GUARD.
38012         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
38013         Define __pointer_chk_guard_local.
38014         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
38015         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
38017 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
38019         [BZ #15859]
38020         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
38022 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
38024         * include/string.h (__ffs): Declare as hidden.
38025         * string/ffs.c (__ffs): Define as hidden.
38026         * sysdeps/i386/ffs.c (__ffs): Likewise.
38027         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
38028         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
38029         * sysdeps/s390/ffs.c (__ffs): Likewise.
38030         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
38032 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
38034         * NEWS: Mention malloc probes.
38036         * malloc/arena.c (new_heap): New memory_heap_new probe.
38037         (grow_heap): New memory_heap_more probe.
38038         (shrink_heap): New memory_heap_less probe.
38039         (heap_trim): New memory_heap_free probe.
38040         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
38041         (systrim): New memory_sbrk_less probe.
38042         * manual/probes.texi: Document them.
38044         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
38045         * manual/probes.texi: Document it.
38047         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
38048         (__libc_realloc): Add memory_realloc_retry probe.
38049         (__libc_memalign): Add memory_memalign_retry probe.
38050         (__libc_valloc): Add memory_valloc_retry probe.
38051         (__libc_pvalloc): Add memory_pvalloc_retry probe.
38052         (__libc_calloc): Add memory_calloc_retry probe.
38053         * manual/probes.texi: Document them.
38055         * malloc/arena.c (get_free_list): Add probe
38056         memory_arena_reuse_free_list.
38057         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
38058         and memory_arena_reuse.
38059         (arena_get2) [!PER_THREAD]: Likewise.
38060         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
38061         memory_arena_reuse_realloc.
38062         * manual/probes.texi: Document them.
38064         * malloc/malloc.c (__libc_free): Add
38065         memory_mallopt_free_dyn_thresholds probe.
38066         (__libc_mallopt): Add multiple memory_mallopt probes.
38067         * manual/probes.texi: Document them.
38069         * malloc/malloc.c: Include stap-probe.h.
38070         (__libc_mallopt): Add memory_mallopt probe.
38071         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
38072         * manual/probes.texi: New.
38073         * manual/Makefile (chapters): Add probes.
38074         * manual/threads.texi: Set next node.
38076 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
38078         [BZ #15963, #13985]
38079         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
38080         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
38081         Add `Chinese' to `nan' entry name.
38083 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
38085         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
38086         (POLYNOMIAL): Likewise.
38087         (TAYLOR_SINCOS): Likewise.
38088         (TAYLOR_SLOW): Likewise.
38089         (__sin): Use TAYLOR_SINCOS.
38090         (__cos): Likewise.
38091         (slow): Use TAYLOR_SLOW.
38092         (sloww): Likewise.
38093         (bsloww): Likewise.
38094         (csloww): Likewise.
38096 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
38098         * stdlib/strtod_l.c: Fix buffer overrun.
38100 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
38102         * benchtests/Makefile (bench): Add sincos.
38103         * benchtests/bench-sincos.c: New file.
38105         * math/libm-test.inc (cos_test_data): New test inputs.
38106         (sin_test_data): Likewise.
38108         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
38109         macro.
38110         (__sin): Use it.
38111         (__cos): Likewise.
38112         (slow1): Likewise.
38113         (slow2): Likewise.
38114         (sloww1): Likewise.
38115         (sloww2): Likewise.
38116         (bsloww1): Likewise.
38117         (bsloww2): Likewise.
38118         (cslow2): Likewise.
38119         (csloww1): Likewise.
38120         (csloww2): Likewise.
38122         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
38123         function.
38124         (__sin): Use it.
38125         (__cos): Likewise.
38127         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
38128         gotos.
38129         (__cos): Likewise.
38131 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
38133         * config.h.in (HAVE_MIPS_NAN2008): New macro.
38134         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
38135         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
38136         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
38137         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
38138         * elf/cache.c (print_entry): Handle the new cache flags.
38140 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
38141             Aldy Hernandez  <aldyh@redhat.com>
38143         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
38144         Change condition to [_SOFT_FLOAT].
38145         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
38146         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
38147         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
38148         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
38149         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
38150         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
38151         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
38152         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
38153         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
38154         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
38155         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
38156         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
38157         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
38158         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
38159         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
38160         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
38161         declaration.
38163 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
38165         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
38166         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
38167         (__longjmp): Use LOAD_GP to load saved GPRs.
38168         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
38169         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
38170         (__sigsetjmp): Use SAVE_GP to save GPRs.
38172         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
38173         Do not append -msoft-float.
38174         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
38176 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
38178         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
38180 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
38182         [BZ #15966]
38183         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
38184         (_FPU_GETCW): Use initial "__" on variable and field names but not
38185         on macro parameter name.
38186         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
38187         parentheses around reference to macro parameter.
38189 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
38191         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
38192         prototype.
38193         (ctype_startup): Use uint32_t in cast and sizeof for
38194         ctype->charnames.
38196 2013-09-11  Jia Liu  <proljc@gmail.com>
38198         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
38199         __daddr_t_defined.
38200         [__FreeBSD__]: Likewise.
38202 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
38204         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
38205         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
38206         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
38207         (strchr): Remove __strchr_sse42 ifunc selection.
38208         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
38209         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
38211 2013-09-11  Will Newton  <will.newton@linaro.org>
38213         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
38214         parameter to RES. Remove hardcoded 1000 value.
38215         * benchtests/bench-skeleton.c (main): Pass RES parameter
38216         to TIMING_INIT and multiply result by 1000.
38218 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38220         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38222 2013-09-11  Andreas Schwab  <schwab@suse.de>
38224         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
38225         if not defined.
38226         (O_TMPFILE) [__USE_GNU]: Define.
38227         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
38228         Define.
38230 2013-09-11  Will Newton  <will.newton@linaro.org>
38232         [BZ #15857]
38233         * malloc/malloc.c (__libc_memalign): Check the value of bytes
38234         does not overflow.
38236 2013-09-11  Will Newton  <will.newton@linaro.org>
38238         [BZ #15856]
38239         * malloc/malloc.c (__libc_valloc): Check the value of bytes
38240         does not overflow.
38242 2013-09-11  Will Newton  <will.newton@linaro.org>
38244         [BZ #15855]
38245         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
38246         does not overflow.
38248 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
38250         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
38251         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38252         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38253         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38254         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38256 2013-09-10  Allan McRae  <allan@archlinux.org>
38258         [BZ #15748]
38259         * manual/arith.texi (Parsing of Floats): Clarify
38260         cross-reference.
38262         [BZ #15849]
38263         * manual/install.texi (Running make install): Mention
38264         --enable-pt-chown.
38265         * INSTALL: Regenerated.
38267 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
38269         * csu/init-first.c (_init): Remove the !SHARED condition around
38270         FPU control word initialization.
38271         * elf/dl-support.c (_dl_fpu_control): New variable.
38272         (_dl_aux_init) <AT_FPUCW>: Initialize it.
38273         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
38274         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
38275         * math/test-fpucw-static.c: New file.
38276         * math/test-fpucw-ieee.c: New file.
38277         * math/test-fpucw-ieee-static.c: New file.
38278         * math/Makefile (tests): Add `test-fpucw-ieee' and
38279         `$(tests-static)'.
38280         (tests-static): New variable.
38281         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
38282         dependency to...
38283         [($(build-shared),yes)]
38284         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
38285         ... this.
38286         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
38287         New dependency.
38289 2013-09-09  Allan McRae  <allan@archlinux.org>
38291         [BZ #15939]
38292         * manual/string.texi (Collation Functions): Fix typo in
38293         strcoll example.
38294         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
38296         [BZ #15893]
38297         * stdlib/isomac.c (get_null_defines): Fix memory leak.
38299         [BZ #15892]
38300         * libio/memstream.c (open_memstream): Fix memory leak.
38301         * libio/wmemstream.c (open_wmemstream): Likewise.
38303         [BZ #15895]
38304         * nscd/netgroupcache.c: Fix nesting of ifdefs.
38306 2013-09-09  Will Newton  <will.newton@linaro.org>
38308         * malloc/Makefile: Add tst-realloc to tests.
38309         * malloc/tst-realloc.c: New file.
38311 2013-09-09  Allan McRae  <allan@archlinux.org>
38313         [BZ #15844]
38314         * COPYING: Update from GNU website to fix FSF address.
38315         * COPYING.LIB: Likewise.
38317 2013-09-06  David S. Miller  <davem@davemloft.net>
38319         * po/zh_TW.po: Update Chinese (traditional) translation from
38320         translation project.
38322 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
38323             Joseph Myers  <joseph@codesourcery.com>
38325         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
38326         "localeinfo.h".
38327         (obstack_chunk_alloc): New macro.
38328         (obstack_chunk_free): Likewise.
38329         (record_offset): New function.
38330         (init_locale_data): Likewise.
38331         (align_locale_data): Likewise.
38332         (add_locale_empty): Likewise.
38333         (add_locale_raw_data): Likewise.
38334         (add_locale_raw_obstack): Likewise.
38335         (add_locale_string): Likewise.
38336         (add_locale_wstring): Likewise.
38337         (add_locale_uint32): Likewise.
38338         (add_locale_uint32_array): Likewise.
38339         (add_locale_char): Likewise.
38340         (start_locale_structure): Likewise.
38341         (end_locale_structure): Likewise.
38342         (start_locale_prelude): Likewise.
38343         (end_locale_prelude): Likewise.
38344         (write_locale_data): Take locale_file structure rather than an
38345         iovec.
38346         * locale/programs/locfile.h: Include "obstack.h".
38347         (struct locale_file): Change to store locale file contents instead
38348         of header.
38349         (init_locale_data): New prototype.
38350         (align_locale_data): Likewise.
38351         (add_locale_empty): Likewise.
38352         (add_locale_raw_data): Likewise.
38353         (add_locale_raw_obstack): Likewise.
38354         (add_locale_string): Likewise.
38355         (add_locale_wstring): Likewise.
38356         (add_locale_uint32): Likewise.
38357         (add_locale_uint32_array): Likewise.
38358         (add_locale_char): Likewise.
38359         (start_locale_structure): Likewise.
38360         (end_locale_structure): Likewise.
38361         (start_locale_prelude): Likewise.
38362         (end_locale_prelude): Likewise.
38363         (write_locale_data): Update prototype.
38364         * locale/programs/3level.h (struct TABLE): Remove result field.
38365         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
38366         Use new locale_file interface.
38367         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
38368         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
38369         * locale/programs/ld-address.c (address_output): Use new
38370         locale_file interface.
38371         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
38372         NO_ADD_LOCALE.
38373         (collate_finish): Don't call collseq_table_finalize.
38374         (collate_output): Use new locale_file interface.
38375         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
38376         in file.
38377         (NO_FINALIZE): Change to NO_ADD_LOCALE.
38378         (TABLE): Move defines earlier in file.
38379         (ELEMENT): Likewise.
38380         (DEFAULT): Likewise.
38381         (wctrans_table_add): Move macro and inline function earlier in
38382         file.
38383         (struct wctype_table): Move type earlier in file.
38384         (add_locale_wctype_table): New static prototype.
38385         (struct locale_ctype_t): Use logical types instead of struct iovec
38386         pointers for members.
38387         (ctype_output): Use new locale_file interface.
38388         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
38389         new locale_file interface.
38390         (allocate_arrays): Update for use of new locale_file interface.
38391         * locale/programs/ld-identification.c (identification_output): Use
38392         new locale_file interface.
38393         * locale/programs/ld-measurement.c (measurement_output): Likewise.
38394         * locale/programs/ld-messages.c (messages_output): Likewise.
38395         * locale/programs/ld-monetary.c (monetary_output): Likewise.
38396         * locale/programs/ld-name.c (name_output): Likewise.
38397         * locale/programs/ld-numeric.c (numeric_output): Likewise.
38398         * locale/programs/ld-paper.c (paper_output): Likewise.
38399         * locale/programs/ld-telephone.c (telephone_output): Likewise.
38400         * locale/programs/ld-time.c (time_output): Likewise.
38402 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38404         * benchtests/Makefile: Add memrchr benchmark.
38405         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
38406         benchmark as memrchr.
38407         * benchtests/bench-memrchr-ifunc.c: New file.
38408         * benchtests/bench-memrchr.c: New file.
38410 2013-09-06   Will Newton  <will.newton@linaro.org>
38412         * benchtests/Makefile (string-bench): Add memcpy.
38414 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
38415             Cong Wang  <amwang@redhat.com>
38417         [BZ #15850]
38418         * sysdeps/unix/sysv/linux/bits/in.h
38419         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
38420         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
38421         before __USE_KERNEL_IPV6_DEFS uses.
38422         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
38423         IPPROTO_BEETPH.
38424         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
38425         sockaddr_in6, or ipv6_mreq.
38427 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38429         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
38430         memory access for final bytes in some large inputs.
38431         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
38433 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38435         * string/test-memrchr.c: New file.
38436         * string/test-memrchr-ifunc.c: New file.
38437         * string/Makefile: Add new memrchr testcase.
38439 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
38441         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
38442         fanotify_init returns EPERM.
38444 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
38446         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
38447         errors.
38448         (top level): Treat second token from macro or constant entries for
38449         allowed headers as allowed.
38450         * include/complex.h: Condition internal declarations on
38451         [!_ISOMAC].
38452         * include/fenv.h: Condition include of <stdbool.h> and internal
38453         declarations on [!_ISOMAC].
38455 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
38457         [BZ #15923]
38458         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
38460 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
38462         * configure.in (--enable-versioning): Remove configure option.
38463         (libc_cv_asm_symver_directive): Remove configure test.
38464         (libc_cv_ld_version_script_option): Likewise.
38465         (VERSIONING): Remove variable and AC_SUBST.
38466         (DO_VERSIONING): Remove AC_DEFINE.
38467         * configure: Regenerated.
38468         * config.h.in (DO_VERSIONING): Remove macro.
38469         * Makerules [$(versioning) = yes]: Change conditionals to
38470         [$(build-shared) = yes].
38471         * config.make.in (versioning): Remove variable.
38472         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
38473         [$(build-shared) = yes].
38474         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
38475         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
38476         * elf/Makefile [$(versioning) = yes]: Change conditionals to
38477         [$(build-shared) = yes].
38478         * extra-lib.mk [$(versioning) = yes]: Likewise.
38479         * hurd/Makefile [$(versioning) = yes]: Likewise.
38480         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
38481         [SHARED].
38482         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
38483         [SHARED].
38484         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
38485         [SHARED && !NO_HIDDEN].
38486         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
38487         [SHARED].
38488         [SHARED && DO_VERSIONING]: Likewise..
38489         * libio/Makefile [$(versioning) = yes]: Change conditionals to
38490         [$(build-shared) = yes].
38491         * manual/install.texi (--disable-versioning): Remove
38492         documentation.
38493         * INSTALL: Regenerated.
38494         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
38495         to [SHARED].
38496         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
38497         [$(build-shared) = yes].
38498         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
38499         * sysdeps/i386/i686/multiarch/strstr-c.c
38500         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
38501         [SHARED && !NO_HIDDEN].
38502         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
38503         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
38504         * sysdeps/powerpc/powerpc32/dl-machine.c
38505         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
38506         * sysdeps/powerpc/powerpc32/sysdep.h
38507         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
38508         to [SHARED && PIC && !NO_HIDDEN].
38509         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
38510         conditional to [SHARED].
38512 2013-09-04   Will Newton  <will.newton@linaro.org>
38514         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
38515         * benchtests/bench-string.h: Include bench-timing.h instead
38516         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
38517         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
38518         call to HP_TIMING_DIFF_INIT.
38519         * benchtests/bench-memccpy.c: Use bench-timing.h macros
38520         instead of hp-timing.h macros.
38521         * benchtests/bench-memchr.c: Likewise.
38522         * benchtests/bench-memcmp.c: Likewise.
38523         * benchtests/bench-memcpy.c: Likewise.
38524         * benchtests/bench-memmem.c: Likewise.
38525         * benchtests/bench-memmove.c: Likewise.
38526         * benchtests/bench-memset.c: Likewise.
38527         * benchtests/bench-rawmemchr.c: Likewise.
38528         * benchtests/bench-strcasecmp.c: Likewise.
38529         * benchtests/bench-strcasestr.c: Likewise.
38530         * benchtests/bench-strcat.c: Likewise.
38531         * benchtests/bench-strchr.c: Likewise.
38532         * benchtests/bench-strcmp.c: Likewise.
38533         * benchtests/bench-strcpy.c: Likewise.
38534         * benchtests/bench-strcpy_chk.c: Likewise.
38535         * benchtests/bench-strlen.c: Likewise.
38536         * benchtests/bench-strncasecmp.c: Likewise.
38537         * benchtests/bench-strncat.c: Likewise.
38538         * benchtests/bench-strncmp.c: Likewise.
38539         * benchtests/bench-strncpy.c: Likewise.
38540         * benchtests/bench-strnlen.c: Likewise.
38541         * benchtests/bench-strpbrk.c: Likewise.
38542         * benchtests/bench-strrchr.c: Likewise.
38543         * benchtests/bench-strspn.c: Likewise.
38544         * benchtests/bench-strstr.c: Likewise.
38546 2013-09-04  Will Newton  <will.newton@linaro.org>
38548         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
38550 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
38552         [BZ #15427]
38553         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
38554         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
38555         * math/libm-test.inc (lgamma_test_data): Add more tests.
38556         * sysdeps/i386/fpu/libm-test-ulps: Update.
38557         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38559 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
38561         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
38562         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
38563         Add ifunc.
38564         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
38565         Add strcmp-sse2-unaligned
38566         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
38568 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
38570         * Versions.def (libc): Add GLIBC_2.19.
38572 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
38574         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
38575         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
38577 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
38579         [BZ #14155]
38580         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
38581         intermediate calculations in recurrence.
38582         (__ieee754_ynf): Likewise.
38583         * math/libm-test.inc (jn_test_data): Do not allow spurious
38584         underflow exception.  Add more tests.
38585         (yn_test_data): Add more tests.
38586         * sysdeps/i386/fpu/libm-test-ulps: Update.
38587         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38589 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
38591         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
38593 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
38595         * csu/init-first.c: Fix then/than typos.
38596         * locale/programs/ld-collate.c: Likewise.
38597         * locale/programs/linereader.h: Likewise.
38598         * manual/charset.texi: Likewise.
38599         * manual/filesys.texi: Likewise.
38600         * manual/stdio.texi: Likewise.
38601         * manual/string.texi: Likewise.
38602         * stdlib/fmtmsg.c: Likewise.
38603         * sysdeps/i386/stpncpy.S: Likewise.
38604         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
38605         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
38606         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
38607         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
38609 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
38611         * elf/dl-open.c: Fix typos.
38612         * iconvdata/gbbig5.c: Likewise.
38613         * iconvdata/iso-2022-jp.c: Likewise.
38614         * iconv/gconv_int.h: Likewise.
38615         * iconv/loop.c: Likewise.
38616         * nis/rpcsvc/nis.h: Likewise.
38617         * resolv/ns_name.c: Likewise.
38618         * stdio-common/vfscanf.c: Likewise.
38619         * streams/stropts.h: Likewise.
38620         * sunrpc/rpc_thread.c: Likewise.
38621         * sysdeps/i386/strpbrk.S: Likewise.
38622         * sysdeps/ieee754/k_standard.c: Likewise.
38623         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
38624         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
38625         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
38626         * sysdeps/mach/hurd/profil.c: Likewise.
38627         * sysdeps/s390/dl-procinfo.h: Likewise.
38628         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
38629         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
38630         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
38631         * sysdeps/x86_64/dl-trampoline.S: Likewise.
38632         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
38634 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
38636         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
38637         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
38639 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
38641         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
38642         aix specific files.
38643         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
38644         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
38645         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
38646         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
38647         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
38648         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
38649         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
38650         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
38652 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
38653             Roland McGrath  <roland@hack.frob.com>
38655         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
38656         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
38658 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38660         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
38661         __executable_start symbol instead of _start.
38663 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
38665         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
38666         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
38667         Move macros to...
38668         * sysdeps/gnu/ldsodefs.h: ... this new file.
38670         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
38671         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
38672         instead of ELFOSABI_LINUX.
38674         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
38675         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
38676         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
38677         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
38678         Likewise.
38679         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
38680         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
38681         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
38682         Likewise.
38683         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
38684         (ibm_extended_long_double): Add ieee_nan member.
38685         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
38686         (do_test): New function.
38688         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
38689         TEST_TRUNC.
38690         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
38691         functions, renamed from truncdfsf_test, trunctfsf_test,
38692         trunctfdf_test.
38693         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
38694         functions.
38695         (do_test): Run all these.
38697 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
38699         * argp/argp-help.c: Fix typos.
38700         * argp/argp-parse.c: Likewise.
38701         * debug/backtracesyms.c: Likewise.
38702         * elf/elf.h: Likewise.
38703         * malloc/malloc.c: Likewise.
38704         * nis/nis_print.c: Likewise.
38705         * resolv/res_comp.c: Likewise.
38706         * stdlib/stdlib.h: Likewise.
38707         * sunrpc/clnt_tcp.c: Likewise.
38708         * sunrpc/clnt_udp.c: Likewise.
38709         * sunrpc/clnt_unix.c: Likewise.
38710         * sysdeps/unix/bsd/ptsname.c: Likewise.
38711         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
38712         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
38713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
38714         Likewise.
38715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
38716         Likewise.
38717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
38718         Likewise.
38719         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
38721 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38723         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
38724         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
38726 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
38728         [BZ #15897]
38729         * dlfcn/Makefile (tests): Add bug-dl-leaf.
38730         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
38731         ($(objpfx)bug-dl-leaf): New rule.
38732         ($(objpfx)bug-dl-leaf.so): Likewise.
38733         ($(objpfx)bug-dl-leaf.out): Likewise.
38734         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
38735         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
38736         * dlfcn/bug-dl-leaf.c: New test.
38737         * dlfcn/bug-dl-leaf-lib.c: Likewise.
38738         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
38739         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
38740         (dlclose): Likewise.
38741         (dlmopen): Likewise.
38743 2013-08-27  Roland McGrath  <roland@hack.frob.com>
38745         * include/netdb.h [!_ISOMAC]:
38746         Don't include <tls.h>.
38747         (h_errno, __libc_h_errno): Move declaration and macros out of
38748         [_LIBC_REENTRANT].
38750         * include/resolv.h [_RESOLV_H_]:
38751         Don't include <tls.h>.
38752         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
38753         * resolv/res_libc.c: Don't include <tls.h>.
38754         (_res): Use __attribute__ ((nocommon)) in place of
38755         __attribute__ ((section (".bss"))).
38757         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
38758         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
38760         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
38762         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
38763         only under [SIOCGIFCONF && SIOCGIFNETMASK].
38765         * resolv/res_mkquery.c: Include <sys/time.h>.
38767         * inet/ifreq.c: Moved to ...
38768         * sysdeps/unix/ifreq.c: ... here.
38769         * inet/ifreq.c: New file, true stub version.
38771         * socket/sa_len.c: New file.
38772         * socket/Makefile (aux): Add it.
38773         * sysdeps/unix/sysv/linux/Makefile
38774         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
38775         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
38776         and #include <socket/sa_len.c>.
38777         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
38778         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
38780         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
38781         * bits/socket.h: ... here.
38783         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
38784         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
38785         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
38787 2013-08-27  Andreas Schwab  <schwab@suse.de>
38789         [BZ #15736]
38790         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
38791         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
38792         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
38793         * string/test-strcasecmp.c (test_main): Run tests in several
38794         locales.
38795         * string/test-strncasecmp.c (test_main): Likewise.
38797         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
38798         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
38799         to __strcasecmp_nonascii and __strncasecmp_nonascii.
38800         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
38801         (__strncasecmp_ssse3) [PIC]: Likewise.
38803 2013-08-26  Roland McGrath  <roland@hack.frob.com>
38805         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
38807         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
38808         instead of explicitly declaring xdecrypt.
38809         * nis/nss_nis/nis-publickey.c: Likewise.
38811 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38813         [BZ #15890]
38814         * nscd/aicache.c: Include res_hconf.h.
38815         (addhstaiX): Initialize res_hconf.
38817 2013-08-26  Andreas Schwab  <schwab@suse.de>
38819         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
38820         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
38822 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38824         * nscd/aicache.c (addhstaiX): Fix indentation.
38826 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
38828         * configure.ac: Quote $build_pt_chown test.
38829         * configure: Regenerated.
38831 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
38833         [BZ #15532]
38834         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
38835         * math/s_cexpf.c (__cexpf): Likewise.
38836         * math/s_cexpl.c (__cexpl): Likewise.
38837         * math/libm-test.inc (cexp_test_data): Correct expected return
38838         value for NaN + i0.  Add another test.
38840 2013-08-22  David S. Miller  <davem@davemloft.net>
38842         * po/ca.po: Update Catalan translation from translation project.
38843         * po/uk.po: Add Ukrainian translations from translation project.
38845 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
38847         [BZ #15797]
38848         * math/s_fdim.c (__fdim): Check for infinite arguments if result
38849         is infinite, not alongside NaN test.
38850         * math/s_fdimf.c (__fdimf): Likewise.
38851         * math/s_fdiml.c (__fdiml): Likewise.
38852         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
38853         errno is unchanged.
38855 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
38857         * argp/argp-help.c: Fix typos.
38858         * crypt/speeds.c: Likewise.
38859         * csu/check_fds.c: Likewise.
38860         * elf/dl-load.c: Likewise.
38861         * elf/dl-open.c: Likewise.
38862         * elf/reldep3.c: Likewise.
38863         * elf/reldep.c: Likewise.
38864         * elf/sprof.c: Likewise.
38865         * iconv/iconv_charmap.c: Likewise.
38866         * iconv/skeleton.c: Likewise.
38867         * iconv/strtab.c: Likewise.
38868         * io/lockf64.c: Likewise.
38869         * libio/libioP.h: Likewise.
38870         * resolv/gai_notify.c: Likewise.
38871         * resolv/ns_name.c: Likewise.
38872         * resolv/ns_samedomain.c: Likewise.
38873         * resolv/res_send.c: Likewise.
38874         * stdlib/random.c: Likewise.
38875         * sunrpc/rpc/xdr.h: Likewise.
38876         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
38877         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
38878         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
38879         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
38880         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
38881         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
38882         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
38883         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
38884         * sysdeps/mach/hurd/check_fds.c: Likewise.
38885         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
38886         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
38887         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
38888         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
38889         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
38890         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
38891         * sysdeps/pthread/aio_notify.c: Likewise.
38892         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
38893         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
38894         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
38895         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
38896         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
38898 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
38900         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
38901         version if bit_Slow_SSE4_2 is set.
38902         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38903         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
38905 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38907         [BZ #15867]
38908         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
38909         trampoline stack frame information.
38910         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
38911         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
38912         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
38913         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
38914         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
38915         * sysdeps/unix/sysv/linux/powerpc/init-first.c
38916         (_libc_vdso_platform_setup): Initialize the signal trampolines.
38917         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
38918         sa_flags value.
38919         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
38920         interrupting a syscall and set with option SA_SIGINFO.
38922 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
38924         [BZ #15531]
38925         * math/s_cproj.c (__cproj): Only return an infinity if one part of
38926         argument is infinite.
38927         * math/s_cprojf.c (__cprojf): Likewise.
38928         * math/s_cprojl.c (__cprojl): Likewise.
38929         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
38930         * math/libm-test.inc (cproj_test_data): Add more tests.
38932         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
38934         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
38935         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
38936         size.  Use __ffs to determine corresponding shift.
38938 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
38939             Roland McGrath  <roland@hack.frob.com>
38941         * Makefile (INSTALL): Remove trailing blank lines from output of
38942         makeinfo.
38944 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38946         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
38947         Align 32 bit compat elf_greg to 8 bytes.
38949 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
38951         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
38953 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
38955         * string/strcoll_l.c (coll_seq): New structure.
38956         (get_next_seq_cached): New function.
38957         (get_next_seq): New function.
38958         (do_compare): New function.
38959         (STRCOLL): Use GNU style definition.  Simplify implementation
38960         by using get_next_seq, get_next_seq_cached and do_compare.
38962 2013-08-16  Florian Weimer  <fweimer@redhat.com>
38964         [BZ #14699]
38965         CVE-2013-4237
38966         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
38967         member.
38968         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
38969         member.
38970         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
38971         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
38972         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
38973         conditional.
38974         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
38975         GETDENTS_64BIT_ALIGNED.
38976         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
38977         * manual/filesys.texi (Reading/Closing Directory): Document
38978         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
38979         strongly.
38980         * manual/conf.texi (Limits for Files): Add portability note to
38981         NAME_MAX, PATH_MAX.
38982         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
38984 2013-08-13  Andreas Schwab  <schwab@suse.de>
38986         [BZ #15749]
38987         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
38988         of fabs.
38989         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
38990         LDBL_MAX_EXP >= 16384]: Add tests for it.
38992 2013-08-12  David S. Miller  <davem@davemloft.net>
38994         * version.h (RELEASE): Set to "development".
38995         (VERSION): Set to "2.18.90".
38996         * NEWS: Add 2.19 section.
38998 2013-08-03  David S. Miller  <davem@davemloft.net>
39000         * po/ko.po: Update Korean translation from translation project.
39002 2013-08-01  David S. Miller  <davem@davemloft.net>
39004         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
39005         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
39006         Bilka.
39008 2013-07-30  David S. Miller  <davem@davemloft.net>
39010         * po/fr.po: Update French translation from translation project.
39012 2013-07-28  David S. Miller  <davem@davemloft.net>
39014         * po/cs.po: Update Czech translation from translation project.
39016         * po/sv.po: Update Swedish translation from translation project.
39018 2013-07-27  David S. Miller  <davem@davemloft.net>
39020         * po/eo.po: Update Esperanto translation from translation project.
39022         * po/vi.po: Update Vietnamese translation from translation project.
39024         * po/de.po: Update German translation from translation project.
39026 2013-07-26  David S. Miller  <davem@davemloft.net>
39028         * po/bg.po: Update Bulgarian translation from translation project.
39030         * po/nl.po: Update Dutch translation from translation project.
39031         * po/pl.po: Update Polish translation from translation project.
39032         * po/ru.po: Update Russian translation from translation project.
39034 2013-07-24  David S. Miller  <davem@davemloft.net>
39036         * po/libc.pot: Update.
39038 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39040         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
39041         variable page size.
39042         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
39043         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
39044         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
39046 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39048         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
39050 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
39051             Andreas Schwab  <schwab@suse.de>
39052             Roland McGrath  <roland@hack.frob.com>
39053             Joseph Myers  <joseph@codesourcery.com>
39054             Carlos O'Donell  <carlos@redhat.com>
39056         [BZ #15755]
39057         * config.h.in: Define HAVE_PT_CHOWN.
39058         * config.make.in (build-pt-chown): New variable.
39059         * configure.in (--enable-pt_chown): New configure option.
39060         * configure: Regenerate.
39061         * login/Makefile: Include Makeconfig.  Build pt_chown only if
39062         build-pt-chown is enabled.
39063         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
39064         pt_chown to fix pty ownership.
39065         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
39066         CLOSE_ALL_FDS.
39067         * manual/install.texi (Configuring and compiling): Mention
39068         --enable-pt_chown. Add @findex for grantpt.
39069         * INSTALL: Regenerate.
39071 2013-07-20  David S. Miller  <davem@davemloft.net>
39073         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
39074         difference between 32-bit and 64-bit.
39076 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
39078         [BZ #15711]
39079         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
39080         Avoid system header dependency with -ffreestanding.
39081         ($(objpfx)bits/syscall%d): Likewise.
39083 2013-07-13  David S. Miller  <davem@davemloft.net>
39085         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
39086         underflows from atanl/atan2l due to bug 15319.
39087         (casinh_test_data): Likewise.
39089 2013-07-07  David S. Miller  <davem@davemloft.net>
39091         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
39093 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
39095         * sysdeps/i386/fpu/libm-test-ulps: Update.
39096         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39098 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39100         * configure.in (--enable-lock-elision): Fix message text.
39101         * INSTALL: Regenerate.
39102         * configure: Regenerate.
39104 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39106         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39108 2013-07-03  Andreas Jaeger  <aj@suse.de>
39110         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
39111         define.
39112         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
39113         (ptrace_peeksiginfo_args): Add.
39114         (__ptrace_peeksiginfo_flags): Add.
39115         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39116         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39117         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39119 2013-07-03  Allan McRae  <allan@archlinux.org>
39121         * sysdeps/i386/fpu/libm-test-ulps: Update.
39123 2013-07-02  David S. Miller  <davem@davemloft.net>
39125         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39127 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
39129         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39131 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
39133         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
39134         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39136 2013-07-02  Andi Kleen <ak@linux.intel.com>
39138         * config.h.in (ENABLE_LOCK_ELISION): Add.
39139         * configure.in (--enable-lock-elision): Add option.
39140         * manual/install.texi: Document --enable lock elision.
39141         * configure: Regenerate
39142         * INSTALL: Regenerate.
39144 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
39146         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
39147         SSE4.2 strcasecmp for libc.a.
39148         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
39150 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
39152         [BZ #13304]
39153         * soft-fp/op-common.h (_FP_FMA): New macro.
39154         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
39155         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
39156         (_FP_MUL_MEAT_1_imm): ... here.
39157         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
39158         (_FP_MUL_MEAT_1_wide): ... here.
39159         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
39160         (_FP_MUL_MEAT_1_hard): ... here.
39161         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
39162         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
39163         (_FP_MUL_MEAT_2_wide): ... here.
39164         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
39165         (_FP_MUL_MEAT_2_wide_3mul): ... here.
39166         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
39167         (_FP_MUL_MEAT_2_gmp): ... here.
39168         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
39169         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
39170         (_FP_MUL_MEAT_4_wide): ... here.
39171         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
39172         (_FP_MUL_MEAT_4_gmp): ... here.
39173         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
39174         (_FP_WFRACBITS_DW_S): Likewise.
39175         (_FP_WFRACXBITS_DW_S): Likewise.
39176         (_FP_HIGHBIT_DW_S): Likewise.
39177         (FP_FMA_S): Likewise.
39178         (_FP_FRAC_HIGH_DW_S): Likewise.
39179         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
39180         (_FP_WFRACBITS_DW_D): Likewise.
39181         (_FP_WFRACXBITS_DW_D): Likewise.
39182         (_FP_HIGHBIT_DW_D): Likewise.
39183         (FP_FMA_D): Likewise.
39184         (_FP_FRAC_HIGH_DW_D): Likewise.
39185         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
39186         (_FP_WFRACBITS_DW_E): Likewise.
39187         (_FP_WFRACXBITS_DW_E): Likewise.
39188         (_FP_HIGHBIT_DW_E): Likewise.
39189         (FP_FMA_E): Likewise.
39190         (_FP_FRAC_HIGH_DW_E): Likewise.
39191         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
39192         (_FP_WFRACBITS_DW_Q): Likewise.
39193         (_FP_WFRACXBITS_DW_Q): Likewise.
39194         (_FP_HIGHBIT_DW_Q): Likewise.
39195         (FP_FMA_Q): Likewise.
39196         (_FP_FRAC_HIGH_DW_Q): Likewise.
39197         * soft-fp/fmasf4.c: New file.
39198         * soft-fp/fmadf4.c: Likewise.
39199         * soft-fp/fmatf4.c: Likewise.
39201 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
39203         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
39204         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
39205         Silvermont.
39206         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
39207         macro.
39208         (index_Slow_SSE4_2): Likewise.
39209         (index_Prefer_PMINUB_for_stringop): Likewise.
39210         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
39211         bit_Slow_SSE4_2 is set.
39212         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
39213         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
39215 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
39217         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
39218         rtld_global._dl_hwcap2.
39219         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
39220         POWER8.
39221         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
39222         POWER8 feature descriptions defined in _dl_hwcap2.
39223         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
39224         string handling for POWER8 feature bits.
39225         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
39226         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
39227         _dl_powerpc_cap_flags.
39228         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
39229         * sysdeps/powerpc/rtld-global-offsets.sym
39230         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
39231         _dl_hwcap2 in the rtld_global_ro structure.
39233 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
39235         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
39236         hardware capabilities in support of AT_HWCAP2.
39237         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
39238         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
39239         GLRO(dl_hwcap2).
39240         (_dl_show_auxv): Add support for calling _dl_procinfo to display
39241         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
39242         explicitly the unknown a_type display mechanism is used.
39243         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
39244         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
39245         struct member.
39246         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
39247         to macro prototype for AT_HWCAP2 support.
39248         * sysdeps/i386/dl-procinfo.h: Likewise.
39249         * sysdeps/s390/dl-procinfo.h: Likewise.
39250         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
39251         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
39252         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
39253         return -1 for unknown a_type display fallback.
39254         * sysdeps/sparc/dl-procinfo.h: Likewise.
39255         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
39256         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
39258 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
39260         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
39261         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
39263 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
39265         [BZ #12492]
39266         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
39267         mprotect making __stack_prot writable.
39269 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
39270             Joseph Myers  <joseph@codesourcery.com>
39272         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
39273         as being properly aligned.
39275 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
39277         * dlfcn/modstatic5.c: New file.
39278         * dlfcn/tststatic5.c: New file.
39279         * dlfcn/Makefile (tests): Add tststatic5.
39280         (tests-static): Likewise.
39281         (modules-names): Add modstatic5.
39282         (tststatic5-ENV): New variable.
39283         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
39285         [BZ #15022]
39286         * elf/dl-support.c (_dl_main_map): New variable.
39287         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
39288         (_dl_nns, _dl_load_adds): Set to 1.
39289         (_dl_initial_searchlist): Refer to _dl_main_map.
39290         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
39291         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
39292         call to _dl_get_origin.
39293         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
39294         around call_map.
39295         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
39296         * dlfcn/modstatic3.c: New file.
39297         * dlfcn/tststatic3.c: New file.
39298         * dlfcn/tststatic4.c: New file.
39299         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
39300         (tests-static): Likewise.
39301         (modules-names): Add modstatic3.
39302         (tststatic3-ENV, tststatic4-ENV): New variables.
39303         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
39304         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
39306 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
39308         * configure.in (CC): Require GCC version 4.4 or later.
39309         * configure: Regenerated.
39310         * manual/install.texi (Tools for Compilation): Update GCC version
39311         requirement.
39312         * INSTALL: Regenerated.
39314 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
39316         [BZ #15674]
39317         * string/test-memcmp.c (check2): New.
39318         (main): Call check2.
39320         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
39322 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
39324         [BZ #15022]
39325         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
39326         over to...
39327         (dl_open_worker) [!SHARED]: ... here.
39329 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
39331         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
39333 2013-06-25  Richard Henderson  <rth@redhat.com>
39335         * locale/programs/locarchive.c: Include <libc-internal.h>
39337 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
39339         * manual/texinfo.tex: Update to version 2013-06-21.17, with
39340         trailing whitespace removed.
39342 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
39344         [BZ #10283]
39345         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
39346         * locale/programs/locarchive.c: Include libc-mmap.h.
39347         (prepare_address_space): Take two new outputs (the mmap base and len).
39348         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
39349         values.
39350         (create_archive): Declare new mmap base and len values for
39351         prepare_address_space, and store the result in ah.
39352         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
39353         (enlarge_archive): If ah->mmap_base is not NULL, use that and
39354         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
39355         Declare new mmap base and len values for
39356         prepare_address_space, and store the result in new_ah.
39357         (open_archive): Declare new mmap base and len values for
39358         prepare_address_space, and store the result in ah.
39359         (close_archive): If ah->mmap_base is not NULL, use that and
39360         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
39361         * sysdeps/generic/libc-mmap.h: New file.
39363 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
39365         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
39366         (ALIGN_UP): Likewise.
39367         (PTR_ALIGN_DOWN): Likewise.
39368         (PTR_ALIGN_UP): Likewise.
39370 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
39372         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
39373         entry mapped to PPC_PLATFORM_POWER8.
39374         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
39375         POWER8.
39376         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
39377         (_dl_string_platform): Add case for exporting platform position for
39378         POWER8.
39379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
39380         search path to sysdeps/powerpc/powerpc32/power8 directory.
39381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
39382         search path to sysdeps/powerpc/powerpc64/power8 directory.
39383         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
39384         power7 directories.
39385         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
39386         power7 directories.
39388 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
39390         * INSTALL: Regenerate.
39392         * nscd/connections.c (nscd_init): Fix comment.
39394 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
39396         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
39398         [BZ #15667]
39399         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
39400         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
39402 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
39404         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
39405         DL_DST_REQ_STATIC.
39406         (DL_DST_REQ_STATIC): Remove macro.
39408 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
39410         [BZ #7006]
39411         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
39412         with a shift of 0 bits.
39414 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
39416         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
39417         $(tststatic-ENV).
39419 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39421         [BZ #15655]
39422         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
39424 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39426         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
39427         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
39428         accepts -fno-tree-loop-distribute-patterns.
39429         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
39430         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
39431         recursive call.
39432         * string/memset.c (memset): Likewise.
39433         * string/test-memmove.c (simple_memmove): Disable loop transformation
39434         to library calls.
39435         * string/test-memset.c (simple_memset): Likewise.
39436         * benchtests/bench-memmove.c (simple_memmove): Likewise.
39437         * benchtests/bench-memset.c (simple_memset): Likewise.
39438         * configure: Regenerated.
39440 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
39442         * math/test-misc.c (main): Ignore fesetround failure when failures
39443         of subsequent rounding tests would be ignored.
39445         [BZ #15654]
39446         * math/fedisblxcpt.c (fedisableexcept): Return 0.
39447         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
39448         * math/fegetenv.c (__fegetenv): Return 0.
39449         * math/fegetexcept.c (fegetexcept): Return 0.
39450         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
39451         FE_TONEAREST.
39452         * math/feholdexcpt.c (feholdexcept): Return 0.
39453         * math/fesetenv.c (__fesetenv): Return 0.
39454         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
39455         argument FE_TONEAREST.
39456         * math/feupdateenv.c (__feupdateenv): Return 0.
39457         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
39459 2013-06-18  Roland McGrath  <roland@hack.frob.com>
39461         * elf/rtld-Rules (rtld-compile-command.S): New variable.
39462         (rtld-compile-command.s, rtld-compile-command.c): New variables.
39463         ($(objpfx)rtld-%.os rules): Use them.
39465 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39467         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
39468         fields.
39470 2013-06-17  Roland McGrath  <roland@hack.frob.com>
39472         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
39473         length of target pattern, then descending length of dependency pattern.
39474         * configure.in (AWK): Require gawk 3.1.2 or newer.
39475         * manual/install.texi (Tools for Compilation): Say that we do.
39476         * configure: Regenerated.
39478         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
39479         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
39480         * scripts/sysd-rules.awk: ... this new script.
39481         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
39482         than a glob-style pattern.
39484 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
39486         * math/test-misc.c (main): Do not treat incorrectly rounded
39487         conversions as failure unless ROUNDING_TESTS passes.
39489 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
39491         [BZ #15631]
39492         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
39493         restore exception state around main square root computation, then
39494         check for inexactness explicitly.
39496         * math/libm-test.inc (fma_test_data): Add another test.
39498 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
39500         * manual/threads.texi (Non-POSIX Extensions): New document
39501         node.  Document pthread_getattr_default_np and
39502         pthread_setattr_default_np.
39504         * Versions.def (libpthread): Add GLIBC_2.18.
39505         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
39506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
39507         Likewise.
39508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
39509         Likewise.
39510         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
39511         Likewise.
39512         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
39513         Likewise.
39514         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
39515         Likewise.
39516         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
39517         Likewise.
39518         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
39519         Likewise.
39520         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
39521         Likewise.
39522         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
39523         Likewise.
39525 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
39527         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39528         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
39530 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
39531             H.J. Lu  <hjl.tools@gmail.com>
39533         [BZ #15627]
39534         * sysdeps/x86_64/rtld-memset.c: Remove file.
39535         * sysdeps/x86_64/rtld-memset.S: New file.
39537 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
39539         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
39540         (test_in_one_mode): Take arguments for whether the rounding mode
39541         is supported for each floating-point type.
39542         (do_test): Pass new arguments to test_in_one_mode using
39543         ROUNDING_TESTS.
39545 2013-06-13  Roland McGrath  <roland@hack.frob.com>
39547         * posix/tst-waitid.c (do_test): Distinguish different instances of
39548         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
39549         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
39550         before entering the kernel for waitpid.
39552 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
39554         * NEWS: Fix note on clock function precision.  Text by Roland
39555         McGrath.
39557 2013-06-13  Roland McGrath  <roland@hack.frob.com>
39559         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
39560         it into place only when and if the sanity check passes.
39562 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
39564         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
39565         output for whether conversion result is exact.  Take argument
39566         indicating whether type is IBM long double.
39567         (round_for_all): Change need_exact field to ibm_ld.
39568         * stdlib/tst-strtod-round.c (struct exactness): New type.
39569         (struct test): Change bool ld_ok field to struct exactness exact.
39570         (TEST): Update all definitions for change to field.
39571         (tests): Regenerate array contents.
39572         (test_in_one_mode): Take pointer to new field instead of old ld_ok
39573         field value.  Check for IBM long double here.
39574         (do_test): Update calls to test_in_one_mode.
39576 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
39578         [BZ #12515]
39579         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
39580         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
39582 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39584         [BZ #15605]
39585         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
39586         generated by the compiler on loop optimizations.
39587         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
39588         general definitions.
39590 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
39592         * math/bug-nextafter.c: Include <math-tests.h>.
39593         (main): Only test for exceptions if EXCEPTION_TESTS is true for
39594         the relevant type.
39595         * math/bug-nexttoward.c: Include <math-tests.h>.
39596         (main): Only test for exceptions if EXCEPTION_TESTS is true for
39597         the relevant type.
39598         * math/test-misc.c: Include <math-tests.h>.
39599         (main): Only test for exceptions if EXCEPTION_TESTS is true for
39600         the relevant type.
39602 2013-06-12  Andreas Jaeger  <aj@suse.de>
39604         * po/ia.po: Update Interlingua translation from translation
39605         project.
39607 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
39609         * include/fenv.h: Include stdbool.h.
39610         (struct rm_ctx): New structure.
39611         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
39612         Define macro.
39613         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
39614         (SET_RESTORE_ROUNDF): Likewise.
39615         (SET_RESTORE_ROUNDL): Likewise.
39616         (SET_RESTORE_ROUND_NOEX): Likewise.
39617         (SET_RESTORE_ROUND_NOEXF): Likewise.
39618         (SET_RESTORE_ROUND_NOEXL): Likewise.
39619         (SET_RESTORE_ROUND_53BIT): Likewise.
39620         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
39621         (libc_feresetround_noexf_ctx): Likewise.
39622         (libc_feresetround_noexl_ctx): Likewise.
39623         (libc_feholdsetround_53bit_ctx): Likewise.
39624         (libc_feresetround_53bit_ctx): Likewise.
39625         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
39626         (libc_feholdexcept_setround_sse_ctx): New function.
39627         (libc_fesetenv_sse_ctx): Likewise.
39628         (libc_feupdateenv_sse_ctx): Likewise.
39629         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
39630         (libc_feholdexcept_setround_387_ctx): Likewise.
39631         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
39632         (libc_feholdsetround_387_prec_ctx): Likewise.
39633         (libc_feholdsetround_387_ctx): Likewise.
39634         (libc_feholdsetround_387_53bit_ctx): Likewise.
39635         (libc_feholdsetround_sse_ctx): Likewise.
39636         (libc_feresetround_sse_ctx): Likewise.
39637         (libc_feresetround_387_ctx): Likewise.
39638         (libc_feupdateenv_387_ctx): Likewise.
39639         (libc_feholdexcept_setroundf_ctx): Define macro.
39640         (libc_fesetenvf_ctx): Likewise.
39641         (libc_feupdateenvf_ctx): Likewise.
39642         (libc_feholdsetroundf_ctx): Likewise.
39643         (libc_feresetroundf_ctx): Likewise.
39644         (libc_feholdexcept_setround_ctx): Likewise.
39645         (libc_fesetenv_ctx): Likewise.
39646         (libc_feupdateenv_ctx): Likewise.
39647         (libc_feholdsetround_ctx): Likewise.
39648         (libc_feresetround_ctx): Likewise.
39649         (libc_feholdexcept_setroundl_ctx): Likewise.
39650         (libc_feupdateenvl_ctx): Likewise.
39651         (libc_feholdsetroundl_ctx): Likewise.
39652         (libc_feresetroundl_ctx): Likewise.
39653         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
39654         (libc_feresetround_53bit_ctx): Likewise.
39656 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
39658         * locale/iso-639.def: Convert to UTF-8.
39660 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
39662         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
39663         (EXCEPTION_TESTS_double): Likewise.
39664         (EXCEPTION_TESTS_long_double): Likewise.
39665         (EXCEPTION_TESTS): Likewise.
39666         * math/libm-test.inc (test_exceptions): Only test exceptions if
39667         EXCEPTION_TESTS (FLOAT).
39669 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
39671         * benchtests/Makefile (string-bench): Add strcpy_chk and
39672         stpcpy_chk.
39673         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
39674         * benchtests/bench-stpcpy_chk.c: New file.
39675         * benchtests/bench-strcpy_chk-ifunc.c: New file.
39676         * benchtests/bench-strcpy_chk.c: New file.
39677         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
39678         code.
39679         (do_test): Likewise.
39681 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
39683         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
39684         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
39685         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
39686         with tabs where appropriate.
39687         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
39688         dl-procinfo.h.
39689         [PPC_PLATFORM_PPC440]: Likewise.
39690         [PPC_PLATFORM_PPC464]: Likewise.
39691         [PPC_PLATFORM_PPC476]: Likewise.
39692         (_dl_string_platform): Add support for detecting ppc405, ppc440,
39693         ppc464, and ppc476 platform strings merging from ports/
39694         dl-procinfo.h.
39696 2013-06-11  Andreas Schwab  <schwab@suse.de>
39698         [BZ #14991]
39699         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
39700         (from_ucs4_idx): Regenerate.
39701         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
39702         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
39703         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
39704         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
39705         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
39706         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
39707         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
39708         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
39709         from FROM_LOOP and TO_LOOP specific macros.
39710         (BODY): Handle combining characters.
39711         * iconvdata/BIG5HKSCS.irreversible: Update.
39712         * iconvdata/BIG5HKSCS.precomposed: New file.
39713         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
39714         characters.
39715         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
39717 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
39719         * include/sys/time.h: Fix indentation and add copyright header.
39721         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
39722         (do_test): Likewise.
39723         * string/test-memchr.c (do_one_test): Likewise.
39724         (do_test): Likewise.
39725         * string/test-memcmp.c (do_one_test): Likewise.
39726         (do_test): Likewise.
39727         * string/test-memcpy.c (do_one_test): Likewise.
39728         (do_test): Likewise.
39729         * string/test-memmem.c (do_one_test): Likewise.
39730         (do_test): Likewise.
39731         (do_random_tests): Likewise.
39732         * string/test-memmove.c (do_one_test): Likewise.
39733         (do_test): Likewise.
39734         * string/test-memset.c (do_one_test): Likewise.
39735         (do_test): Likewise.
39736         * string/test-rawmemchr.c (do_one_test): Likewise.
39737         (do_test): Likewise.
39738         * string/test-strcasecmp.c (do_one_test): Likewise.
39739         (do_test): Likewise.
39740         * string/test-strcasestr.c (do_one_test): Likewise.
39741         (do_test): Likewise.
39742         * string/test-strcat.c (do_one_test): Likewise.
39743         (do_test): Likewise.
39744         * string/test-strchr.c (do_one_test): Likewise.
39745         (do_test): Likewise.
39746         * string/test-strcmp.c (do_one_test): Likewise.
39747         (do_test): Likewise.
39748         * string/test-strcpy.c (do_one_test): Likewise.
39749         (do_test): Likewise.
39750         * string/test-string.h: Likewise.
39751         (test_init): Likewise.
39752         * string/test-strlen.c (do_one_test): Likewise.
39753         (do_test): Likewise.
39754         * string/test-strncasecmp.c (do_one_test): Likewise.
39755         (do_test): Likewise.
39756         * string/test-strncat.c (do_one_test): Likewise.
39757         (do_test): Likewise.
39758         * string/test-strncmp.c (do_one_test): Likewise.
39759         (do_test_limit): Likewise.
39760         (do_test): Likewise.
39761         * string/test-strncpy.c (do_one_test): Likewise.
39762         (do_test): Likewise.
39763         * string/test-strnlen.c (do_one_test): Likewise.
39764         (do_test): Likewise.
39765         * string/test-strpbrk.c (do_one_test): Likewise.
39766         (do_test): Likewise.
39767         * string/test-strrchr.c (do_one_test): Likewise.
39768         (do_test): Likewise.
39769         * string/test-strspn.c (do_one_test): Likewise.
39770         (do_test): Likewise.
39771         * string/test-strstr.c (do_one_test): Likewise.
39772         (do_test): Likewise.
39774         * benchtests/Makefile (string-bench): Add string benchmarks.
39775         * benchtests/bench-bcopy-ifunc.c: New file.
39776         * benchtests/bench-bcopy.c: New file.
39777         * benchtests/bench-bzero-ifunc.c: New file.
39778         * benchtests/bench-bzero.c: New file.
39779         * benchtests/bench-memccpy-ifunc.c: New file.
39780         * benchtests/bench-memccpy.c: New file.
39781         * benchtests/bench-memchr-ifunc.c: New file.
39782         * benchtests/bench-memchr.c: New file.
39783         * benchtests/bench-memcmp-ifunc.c: New file.
39784         * benchtests/bench-memcmp.c: New file.
39785         * benchtests/bench-memmem-ifunc.c: New file.
39786         * benchtests/bench-memmem.c: New file.
39787         * benchtests/bench-memmove-ifunc.c: New file.
39788         * benchtests/bench-memmove.c: New file.
39789         * benchtests/bench-mempcpy-ifunc.c: New file.
39790         * benchtests/bench-mempcpy.c: New file.
39791         * benchtests/bench-memset-ifunc.c: New file.
39792         * benchtests/bench-memset.c: New file.
39793         * benchtests/bench-rawmemchr-ifunc.c: New file.
39794         * benchtests/bench-rawmemchr.c: New file.
39795         * benchtests/bench-stpcpy-ifunc.c: New file.
39796         * benchtests/bench-stpcpy.c: New file.
39797         * benchtests/bench-stpncpy-ifunc.c: New file.
39798         * benchtests/bench-stpncpy.c: New file.
39799         * benchtests/bench-strcasecmp-ifunc.c: New file.
39800         * benchtests/bench-strcasecmp.c: New file.
39801         * benchtests/bench-strcasestr-ifunc.c: New file.
39802         * benchtests/bench-strcasestr.c: New file.
39803         * benchtests/bench-strcat-ifunc.c: New file.
39804         * benchtests/bench-strcat.c: New file.
39805         * benchtests/bench-strchr-ifunc.c: New file.
39806         * benchtests/bench-strchr.c: New file.
39807         * benchtests/bench-strchrnul-ifunc.c: New file.
39808         * benchtests/bench-strchrnul.c: New file.
39809         * benchtests/bench-strcmp-ifunc.c: New file.
39810         * benchtests/bench-strcmp.c: New file.
39811         * benchtests/bench-strcpy-ifunc.c: New file.
39812         * benchtests/bench-strcpy.c: New file.
39813         * benchtests/bench-strcspn-ifunc.c: New file.
39814         * benchtests/bench-strcspn.c: New file.
39815         * benchtests/bench-strlen-ifunc.c: New file.
39816         * benchtests/bench-strlen.c: New file.
39817         * benchtests/bench-strncasecmp-ifunc.c: New file.
39818         * benchtests/bench-strncasecmp.c: New file.
39819         * benchtests/bench-strncat-ifunc.c: New file.
39820         * benchtests/bench-strncat.c: New file.
39821         * benchtests/bench-strncmp-ifunc.c: New file.
39822         * benchtests/bench-strncmp.c: New file.
39823         * benchtests/bench-strncpy-ifunc.c: New file.
39824         * benchtests/bench-strncpy.c: New file.
39825         * benchtests/bench-strnlen-ifunc.c: New file.
39826         * benchtests/bench-strnlen.c: New file.
39827         * benchtests/bench-strpbrk-ifunc.c: New file.
39828         * benchtests/bench-strpbrk.c: New file.
39829         * benchtests/bench-strrchr-ifunc.c: New file.
39830         * benchtests/bench-strrchr.c: New file.
39831         * benchtests/bench-strspn-ifunc.c: New file.
39832         * benchtests/bench-strspn.c: New file.
39833         * benchtests/bench-strstr-ifunc.c: New file.
39834         * benchtests/bench-strstr.c: New file.
39836         * benchtests/Makefile: Disable parallel execution of targets.
39837         (string-bench): Add memcpy.
39838         (benchset): New variable to store a list of benchmark sets.
39839         (bench-func): Renamed from bench.
39840         (bench-set): New target.
39841         (bench): Depend on bench-func and bench-set.
39842         * benchtests/README: Add section on benchmark sets.
39843         * benchtests/bench-memcpy-ifunc.c: New file.
39844         * benchtests/bench-memcpy.c: New file.
39845         * benchtests/bench-string.h: New file.
39847 2013-06-11  Andreas Schwab  <schwab@suse.de>
39849         [BZ #15577]
39850         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
39851         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
39852         values in the triple.
39853         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
39854         terminator in the group key.
39856 2013-06-11  Andreas Jaeger  <aj@suse.de>
39858         * po/zh_TW.po: Update Chinese (traditional) translation from
39859         translation project.
39861 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
39863         * include/time.h (__clock_gettime): Add libc_hidden_proto.
39864         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
39865         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
39866         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
39867         (clock_getcpuclockid): Likewise.
39868         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
39869         Add weak_alias and libc_hidden_def.
39870         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
39871         * rt/clock_gettime.c (clock_gettime): Rename to
39872         __clock_gettime.  Add weak_alias and libc_hidden_def.
39873         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
39874         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
39875         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
39876         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
39877         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
39878         Likewise.
39879         * rt/clock_settime.c (clock_settime): Rename to
39880         __clock_settime.  Add weak_alias and libc_hidden_def.
39881         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
39883 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
39885         * mach/err_boot.sub: Remove trailing whitespace.
39886         * mach/err_ipc.sub: Likewise.
39887         * mach/err_mach.sub: Likewise.
39889         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
39890         (ROUNDING_TESTS_double): Likewise.
39891         (ROUNDING_TESTS_long_double): Likewise.
39892         (ROUNDING_TESTS): Likewise.
39893         * math/libm-test.inc: Include <math-tests.h>.
39894         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
39895         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
39896         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
39897         (IF_ROUND_INIT_FE_UPWARD): Likewise.
39899 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
39901         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
39902         of assigning.
39904 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
39906         * sysdeps/gnu/errlist.awk: Do not generate space at end of
39907         otherwise empty TRANS lines.
39908         * sysdeps/gnu/errlist.c: Regenerated.
39910         * catgets/gencat.c (error_print): Use (void) in function
39911         definition.
39912         * crypt/crypt_util.c (__init_des): Likewise.
39913         * crypt/speeds.c (Stop): Likewise.
39914         (main): Likewise.
39915         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
39916         * inet/ruserpass.c (token): Likewise.
39917         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
39918         * intl/localealias.c (extend_alias_table): Likewise.
39919         * intl/plural-exp.c (init_germanic_plural): Likewise.
39920         * libio/fcloseall.c (__fcloseall): Likewise.
39921         * libio/genops.c (_IO_flush_all): Likewise.
39922         (_IO_flush_all_linebuffered): Likewise.
39923         (_IO_cleanup): Likewise.
39924         (_IO_iter_begin): Likewise.
39925         (_IO_iter_end): Likewise.
39926         (_IO_list_lock): Likewise.
39927         (_IO_list_unlock): Likewise.
39928         (_IO_list_resetlock): Likewise.
39929         * libio/getchar.c (getchar): Likewise.
39930         * libio/getchar_u.c (getchar_unlocked): Likewise.
39931         * libio/getwchar.c (getwchar): Likewise.
39932         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
39933         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
39934         * login/getpt.c (__getpt): Likewise.
39935         * login/tst-utmp.c (main): Likewise.
39936         * malloc/hooks.c (__malloc_check_init): Likewise.
39937         * malloc/malloc.c (__malloc_stats): Likewise.
39938         * malloc/mtrace.c (tr_break): Likewise.
39939         (mtrace): Likewise.
39940         (muntrace): Likewise.
39941         * misc/fstab.c (endfsent): Likewise.
39942         * misc/getclktck.c (__getclktck): Likewise.
39943         * misc/getdtsz.c (__getdtablesize): Likewise.
39944         * misc/gethostid.c (gethostid): Likewise.
39945         * misc/getpagesize.c (__getpagesize): Likewise.
39946         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
39947         (__get_nprocs): Likewise.
39948         (__get_phys_pages): Likewise.
39949         (__get_avphys_pages): Likewise.
39950         * misc/getttyent.c (getttyent): Likewise.
39951         (setttyent): Likewise.
39952         (endttyent): Likewise.
39953         * misc/getusershell.c (getusershell): Likewise.
39954         (endusershell): Likewise.
39955         (setusershell): Likewise.
39956         (initshells): Likewise.
39957         * misc/hsearch.c (__hdestroy): Likewise.
39958         * misc/sync.c (sync): Likewise.
39959         * misc/syslog.c (closelog_internal): Likewise.
39960         (closelog): Likewise.
39961         * misc/ttyslot.c (ttyslot): Likewise.
39962         * misc/vhangup.c (vhangup): Likewise.
39963         * posix/fork.c (__fork): Likewise.
39964         * posix/getegid.c (__getegid): Likewise.
39965         * posix/geteuid.c (__geteuid): Likewise.
39966         * posix/getgid.c (__getgid): Likewise.
39967         * posix/getpid.c (__getpid): Likewise.
39968         * posix/getppid.c (__getppid): Likewise.
39969         * posix/getuid.c (__getuid): Likewise.
39970         * posix/pause.c (pause): Likewise.
39971         * posix/setpgrp.c (setpgrp): Likewise.
39972         * posix/setsid.c (__setsid): Likewise.
39973         * posix/test-vfork.c (noop): Likewise.
39974         * resolv/gethnamaddr.c (_endhtent): Likewise.
39975         (_gethtent): Likewise.
39976         (ht_endhostent): Likewise.
39977         (gethostent): Likewise.
39978         (dns_service): Likewise.
39979         * stdlib/drand48.c (drand48): Likewise.
39980         * stdlib/lrand48.c (lrand48): Likewise.
39981         * stdlib/mrand48.c (mrand48): Likewise.
39982         * stdlib/rand.c (rand): Likewise.
39983         * stdlib/random.c (__random): Likewise.
39984         * stdlib/setenv.c (clearenv): Likewise.
39985         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
39986         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
39987         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
39988         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
39989         (__get_nprocs): Likewise.
39990         (__get_phys_pages): Likewise.
39991         (__get_avphys_pages): Likewise.
39992         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
39993         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
39994         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
39995         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
39996         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
39997         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
39998         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
39999         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
40000         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
40001         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
40002         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
40003         * sysdeps/mach/hurd/sync.c (sync): Likewise.
40004         * sysdeps/posix/clock.c (clock): Likewise.
40005         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
40006         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
40007         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
40008         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
40009         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
40010         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
40011         (__get_nprocs_conf): Likewise.
40012         (__get_phys_pages): Likewise.
40013         (__get_avphys_pages): Likewise.
40014         * time/clock.c (clock): Likewise.
40015         * time/tzset.c (__tzname_max): Likewise.
40017 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
40019         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
40020         (__bswap_32): Do not use "register".
40021         * crypt/crypt.c (_ufc_doit_r): Likewise.
40022         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
40023         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
40024         * gmon/gmon.c (__monstartup): Likewise.
40025         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
40026         * hurd/hurdmalloc.c (more_memory): Likewise.
40027         (malloc): Likewise.
40028         (free): Likewise.
40029         (realloc): Likewise.
40030         (malloc_fork_prepare): Likewise.
40031         (malloc_fork_parent): Likewise.
40032         (malloc_fork_child): Likewise.
40033         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
40034         (_svcauth_des): Likewise.
40035         * inet/inet_lnaof.c (inet_lnaof): Likewise.
40036         * inet/inet_net.c (inet_network): Likewise.
40037         * inet/inet_netof.c (inet_netof): Likewise.
40038         * inet/rcmd.c (__validuser2_sa): Likewise.
40039         * io/fts.c (fts_open): Likewise.
40040         (fts_load): Likewise.
40041         (fts_close): Likewise.
40042         (fts_read): Likewise.
40043         (fts_children): Likewise.
40044         (fts_build): Likewise.
40045         (fts_stat): Likewise.
40046         (fts_sort): Likewise.
40047         (fts_alloc): Likewise.
40048         (fts_lfree): Likewise.
40049         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
40050         (_IO_file_xsgetn): Likewise.
40051         (_IO_file_xsgetn_mmap): Likewise.
40052         * libio/iofopncook.c (_IO_cookie_read): Likewise.
40053         (_IO_cookie_write): Likewise.
40054         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
40055         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
40056         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
40057         * malloc/obstack.c (_obstack_begin): Likewise.
40058         (_obstack_begin_1): Likewise.
40059         (_obstack_newchunk): Likewise.
40060         (_obstack_allocated_p): Likewise.
40061         (obstack_free): Likewise.
40062         (_obstack_memory_used): Likewise.
40063         * misc/getttyent.c (getttynam): Likewise.
40064         (getttyent): Likewise.
40065         (skip): Likewise.
40066         (value): Likewise.
40067         * misc/getusershell.c (initshells): Likewise.
40068         * misc/syslog.c (__vsyslog_chk): Likewise.
40069         * misc/ttyslot.c (ttyslot): Likewise.
40070         * nis/nis_hash.c (__nis_hash): Likewise.
40071         * posix/fnmatch_loop.c (FCT): Likewise.
40072         * posix/getconf.c (print_all): Likewise.
40073         (main): Likewise.
40074         * posix/getopt.c (exchange): Likewise.
40075         * posix/glob.c (globfree): Likewise.
40076         (prefix_array): Likewise.
40077         (__glob_pattern_type): Likewise.
40078         * resolv/arpa/nameser.h (NS_GET16): Likewise.
40079         (NS_GET32): Likewise.
40080         (NS_PUT16): Likewise.
40081         (NS_PUT32): Likewise.
40082         * resolv/gethnamaddr.c (getanswer): Likewise.
40083         (gethostbyname2): Likewise.
40084         (gethostbyaddr): Likewise.
40085         (_gethtent): Likewise.
40086         (_gethtbyname2): Likewise.
40087         (_gethtbyaddr): Likewise.
40088         * resolv/ns_print.c (dst_s_get_int16): Likewise.
40089         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
40090         * resolv/res_init.c (__res_vinit): Likewise.
40091         (net_mask): Likewise.
40092         * resolv/res_mkquery.c (outchar): Likewise.
40093         (PRINT): Likewise.
40094         * stdio-common/printf_fp.c (outchar): Likewise.
40095         (PRINT): Likewise.
40096         * stdio-common/printf_fphex.c (outchar): Likewise.
40097         (PRINT): Likewise.
40098         * stdio-common/printf_size.c (outchar): Likewise.
40099         (PRINT): Likewise.
40100         * stdio-common/test_rdwr.c (main): Likewise.
40101         * stdio-common/tfformat.c (matches): Likewise.
40102         * stdio-common/vfprintf.c (outchar): Likewise.
40103         (printf_unknown): Likewise.
40104         (buffered_vfprintf): Likewise.
40105         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
40106         * stdio-common/xbug.c (AppendToBuffer): Likewise.
40107         (ReadFile): Likewise.
40108         * stdlib/qsort.c (SWAP): Likewise.
40109         (_quicksort): Likewise.
40110         * stdlib/setenv.c (__add_to_environ): Likewise.
40111         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
40112         * stdlib/strtol_l.c (__strtol_l): Likewise.
40113         * stdlib/tst-strtod.c (main): Likewise.
40114         * stdlib/tst-strtol.c (main): Likewise.
40115         * stdlib/tst-strtoll.c (main): Likewise.
40116         * string/bits/string2.h (__strcmp_cc): Likewise.
40117         (__strcmp_cg): Likewise.
40118         (__strcspn_c1): Likewise.
40119         (__strcspn_c2): Likewise.
40120         (__strcspn_c3): Likewise.
40121         (__strspn_c1): Likewise.
40122         (__strspn_c2): Likewise.
40123         (__strspn_c3): Likewise.
40124         (__strsep_1c): Likewise.
40125         (__strsep_2c): Likewise.
40126         (__strsep_3c): Likewise.
40127         * string/memccpy.c (__memccpy): Likewise.
40128         * string/stpcpy.c (__stpcpy): Likewise.
40129         * string/strcmp.c (strcmp): Likewise.
40130         * string/strrchr.c (strrchr): Likewise.
40131         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
40132         Likewise.
40133         * sysdeps/mach/hurd/getcwd.c
40134         (_hurd_canonicalize_directory_name_internal): Likewise.
40135         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
40136         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
40137         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
40138         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
40139         Likewise, in both definitions.
40140         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
40141         definitions.
40142         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
40143         64] (__bswap_64): Likewise.
40144         * time/test_time.c (main): Likewise.
40145         * time/tzfile.c (__tzfile_read): Likewise.
40146         (__tzfile_compute): Likewise.
40147         * time/tzset.c (__tzset_parse_tz): Likewise.
40148         (tzset_internal): Likewise.
40149         (compute_change): Likewise.
40150         * wcsmbs/wcscat.c (__wcscat): Likewise.
40151         * wcsmbs/wcschr.c (wcschr): Likewise.
40152         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
40153         * wcsmbs/wcscspn.c (wcscspn): Likewise.
40154         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
40155         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
40156         * wcsmbs/wcsspn.c (wcsspn): Likewise.
40157         * wcsmbs/wcsstr.c (wcsstr): Likewise.
40158         * wcsmbs/wmemchr.c (wmemchr): Likewise.
40159         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
40160         * wcsmbs/wmemset.c (wmemset): Likewise.
40162 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
40164         * scripts/config.guess: Update to version 2013-05-16.
40165         * scripts/config.sub: Update to version 2013-04-24.
40166         * scripts/install-sh: Update to version 2011-11-20.07.
40167         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
40168         * scripts/move-if-change: Update to version 2012-01-06 07:23.
40170 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
40172         * debug/fgetws_u_chk.c: Fix leading whitespaces.
40173         * elf/sln.c: Likewise.
40174         * hurd/hurd/ioctl.h: Likewise.
40175         * hurd/hurdmalloc.c: Likewise.
40176         * hurd/xattr.c: Likewise.
40177         * include/shlib-compat.h: Likewise.
40178         * inet/ruserpass.c: Likewise.
40179         * libio/iofgets_u.c: Likewise.
40180         * libio/iofgetws_u.c: Likewise.
40181         * locale/programs/ld-identification.c: Likewise.
40182         * locale/programs/ld-time.c: Likewise.
40183         * mach/msg-destroy.c: Likewise.
40184         * nss/nss_files/files-netgrp.c: Likewise.
40185         * resolv/res_data.c: Likewise.
40186         * soft-fp/op-1.h: Likewise.
40187         * soft-fp/op-2.h: Likewise.
40188         * soft-fp/op-4.h: Likewise.
40189         * soft-fp/op-common.h: Likewise.
40190         * stdio-common/printf_fphex.c: Likewise.
40191         * stdlib/strtod_l.c: Likewise.
40192         * sunrpc/rpc/clnt.h: Likewise.
40193         * sysdeps/generic/framestate.c: Likewise.
40194         * sysdeps/i386/bsd-_setjmp.S: Likewise.
40195         * sysdeps/i386/bsd-setjmp.S: Likewise.
40196         * sysdeps/i386/__longjmp.S: Likewise.
40197         * sysdeps/i386/setjmp.S: Likewise.
40198         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40199         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40200         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40201         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
40202         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
40203         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
40204         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40205         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40206         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40207         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
40208         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
40209         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
40210         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
40211         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
40212         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
40213         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40214         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
40215         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
40216         * sysdeps/ieee754/support.c: Likewise.
40217         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
40218         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
40219         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
40220         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
40221         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
40222         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
40223         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
40224         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
40225         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
40226         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
40227         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
40228         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
40229         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
40230         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
40231         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
40232         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
40233         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
40234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
40236 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
40238         * posix/transbug.c: Remove executable mode.
40240 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
40242         * crypt/speeds.c: Remove trailing whitespace.
40243         * dlfcn/default.c: Likewise.
40244         * elf/ifuncdep2.c: Likewise.
40245         * elf/ifuncmain1.c: Likewise.
40246         * elf/ifuncmain1vis.c: Likewise.
40247         * elf/testobj.h: Likewise.
40248         * elf/tst-stackguard1.c: Likewise.
40249         * gmon/sys/gmon.h: Likewise.
40250         * hurd/hurdmsg.c: Likewise.
40251         * hurd/new-fd.c: Likewise.
40252         * hurd/ports-get.c: Likewise.
40253         * iconvdata/ibm1008_420.c: Likewise.
40254         * inet/tst-getni1.c: Likewise.
40255         * inet/tst-getni2.c: Likewise.
40256         * libio/ioungetc.c: Likewise.
40257         * libio/wfiledoalloc.c: Likewise.
40258         * manual/libm-err-tab.pl: Likewise.
40259         * math/w_dremf.c: Likewise.
40260         * misc/ftruncate.c: Likewise.
40261         * posix/bug-glob2.c: Likewise.
40262         * posix/tst-pcre.c: Likewise.
40263         * posix/wait4.c: Likewise.
40264         * resolv/README: Likewise.
40265         * resolv/res_debug.h: Likewise.
40266         * resolv/tst-inet_ntop.c: Likewise.
40267         * setjmp/bug269-setjmp.c: Likewise.
40268         * soft-fp/extended.h: Likewise.
40269         * soft-fp/op-1.h: Likewise.
40270         * soft-fp/op-2.h: Likewise.
40271         * soft-fp/op-4.h: Likewise.
40272         * soft-fp/op-8.h: Likewise.
40273         * soft-fp/testit.c: Likewise.
40274         * stdio-common/bug16.c: Likewise.
40275         * stdlib/random.c: Likewise.
40276         * sunrpc/rpcsvc/rquota.x: Likewise.
40277         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
40278         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40279         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40280         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40281         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40282         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40283         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40284         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40285         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40286         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40287         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40288         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
40289         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40290         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
40291         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40292         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
40293         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
40294         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40295         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
40296         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40297         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40298         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40299         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
40300         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
40301         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
40302         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
40303         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
40304         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
40305         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40306         * sysdeps/ieee754/s_lib_version.c: Likewise.
40307         * sysdeps/mach/hurd/check_fds.c: Likewise.
40308         * sysdeps/mach/hurd/getsockname.c: Likewise.
40309         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
40310         * sysdeps/mach/hurd/recvfrom.c: Likewise.
40311         * sysdeps/powerpc/bits/link.h: Likewise.
40312         * sysdeps/powerpc/dl-procinfo.c: Likewise.
40313         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
40314         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
40315         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
40316         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
40317         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
40318         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
40319         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
40320         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
40321         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
40322         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
40323         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
40324         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
40325         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
40326         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
40327         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
40328         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
40329         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
40330         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
40331         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
40332         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
40333         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
40334         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
40335         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
40336         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
40337         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
40338         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
40339         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
40340         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
40341         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
40342         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
40343         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
40344         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
40345         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
40346         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
40347         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
40348         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
40349         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
40350         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
40351         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
40352         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
40353         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
40354         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
40355         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
40356         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
40357         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
40358         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
40359         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
40360         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
40361         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
40362         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40363         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40364         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
40365         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
40366         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
40367         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
40368         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
40369         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
40370         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
40371         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
40372         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
40373         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
40374         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
40375         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
40376         * sysdeps/powerpc/sysdep.h: Likewise.
40377         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
40378         * sysdeps/s390/s390-64/sub_n.S: Likewise.
40379         * sysdeps/sh/dl-trampoline.S: Likewise.
40380         * sysdeps/sh/memset.S: Likewise.
40381         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
40382         * sysdeps/sh/strlen.S: Likewise.
40383         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
40384         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
40385         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
40386         * sysdeps/sparc/sparc32/rem.S: Likewise.
40387         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
40388         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
40389         * sysdeps/sparc/sparc32/strchr.S: Likewise.
40390         * sysdeps/sparc/sparc32/udiv.S: Likewise.
40391         * sysdeps/sparc/sparc32/urem.S: Likewise.
40392         * sysdeps/sparc/sparc64/add_n.S: Likewise.
40393         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
40394         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
40395         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
40396         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
40397         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
40398         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
40399         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
40400         * sysdeps/unix/bsd/times.c: Likewise.
40401         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
40402         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
40403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
40404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
40405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
40406         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
40407         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
40408         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
40409         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
40410         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
40411         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
40412         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
40413         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
40414         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
40415         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
40416         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
40417         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
40418         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
40419         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
40420         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
40421         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
40422         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
40423         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
40424         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
40425         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
40426         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
40427         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
40428         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40429         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
40430         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
40431         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
40432         * sysdeps/x86_64/strcspn.S: Likewise.
40434 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
40436         * locale/C-translit.h: Revert #include <stdint.h> because this is a
40437         generated file.  Regenerate properly from gen-translit.pl.
40438         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
40439         locale/C-translit.h.
40441 2013-06-05  Andreas Schwab  <schwab@suse.de>
40443         [BZ #15100]
40444         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
40445         week as 6 instead of -1.
40446         * time/tst-strptime.c (day_tests): Add test case.
40448 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
40450         * sysdeps/generic/math_private.h
40451         (libc_feholdexcept_setround_53bit): Replace with
40452         libc_feholdsetround_53bit.
40453         (libc_feupdateenv_53bit): Replace with
40454         libc_feresetround_53bit.
40455         (SET_RESTORE_ROUND_53BIT): Adjust.
40457 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
40459         * string/test-strchrnul.c: Add copyright header.
40461         * posix/tst-getaddrinfo4.c: Increase test timeout.
40463 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
40465         [BZ #15536]
40466         * math/libm-test.inc (MAX_EXP): Remove
40467         (MIN_EXP): Define.
40468         (ulp): Use MIN_EXP - MANT_DIG.
40469         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
40471 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
40473         * po/be.po: Revert last change.
40474         * po/zh_CN.po: Likewise.
40475         * po/header.pot: Likewise.
40477 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
40479         * Makefile ($(common-objpfx)linkobj/libc.so): Define
40480         link-libc-deps to empty as target-specific variable.
40481         * Makerules (link-libc-args): New variable.
40482         (libc-for-link): Likewise.
40483         (link-libc-deps): Likewise.
40484         (lib%.so): Depend on $(link-libc-deps).  Link with
40485         $(link-libc-args).
40486         (build-module): Link with $(link-libc-args).
40487         (build-module-asneeded): Likewise.
40488         (build-module-helper-objlist): Filter out $(link-libc-deps) from
40489         list of objects.
40490         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
40491         target-specific variable.
40492         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
40493         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
40494         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
40495         libc.
40496         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
40497         libc and ld.so.
40498         ($(objpfx)libpcprofile.so): Likewise.
40499         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
40500         libc_nonshared.a.
40501         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
40502         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
40503         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
40504         $(link-libc-deps).
40505         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
40506         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
40507         * login/Makefile ($(objpfx)libutil.so): Likewise.
40508         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
40509         * math/Makefile ($(objpfx)libm.so): Likewise.
40510         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
40511         $(objpfx)libnsl.so): Define libc-for-link as target-specific
40512         variable instead of depending directly on libc.
40513         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
40514         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
40515         $(link-libc-deps).
40516         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
40517         libc.
40518         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
40519         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
40520         ($(objpfx)libanl.so): Likewise.
40521         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
40522         ld.so.
40523         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
40524         $(link-libc-deps).
40525         * sysdeps/i386/fpu/Makefile: Remove file.
40526         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
40527         ($(objpfx)libm.so): Remove dependency on ld.so.
40529 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
40531         [BZ # 15553]
40532         * nis/yp_xdr.c (XDRMAXNAME): Define.
40533         (XDRMAXRECORD): Define.
40534         (xdr_domainname): Use XDRMAXNAME.
40535         (xdr_mapname): Likewise.
40536         (xdr_peername): Likewise.
40537         (xdr_keydat): Use XDRMAXRECORD.
40538         (xdr_valdat): Likewise.
40540 2013-05-30  Jeff Law  <law@redhat.com>
40542         [BZ #14256]
40543         * manual/errno.texi (ESTALE): Update to account for more than
40544         just NFS file systems.
40545         * sysdeps/gnu/errlist.c: Regenerated.
40547 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
40549         [BZ #15465]
40550         * elf/Makefile (tests): Add tst-null-argv.
40551         (modules-names):  Add tst-null-argv-lib.
40552         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
40553         (tst-null-argv-ENV): Set environment for tst-null-argv.
40554         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
40555         (RTLD_PROGNAME): New macro.
40556         * elf/tst-null-argv.c: New test case.
40557         * elf/tst-null-argv-lib.c: Library for test case.
40558         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
40559         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
40560         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
40561         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
40562         * elf/dl-init.c (call_init): Likewise.
40563         (_dl_init): Likewise.
40564         * elf/dl-load.c (print_search_path): Likewise.
40565         (_dl_map_object): Likewise.
40566         * elf/dl-lookup.c (do_lookup_x): Likewise.
40567         (add_dependency): Likewise.
40568         (_dl_lookup_symbol_x): Likewise.
40569         (_dl_debug_bindings): Likewise.
40570         * elf/dl-open.c (_dl_show_scope): Likewise.
40571         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
40572         * elf/dl-version.c (match_symbol): Likewise.
40573         (_dl_check_map_versions): Likewise.
40574         * elf/rtld.c (dl_main): Likewise.
40575         (print_unresolved): Use RTLD_PROGNAME.
40576         (print_missing_version): Likewise.
40577         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
40578         (elf_machine_rela): Likewise.
40579         * sysdeps/powerpc/powerpc32/dl-machine.c
40580         (__process_machine_rela): Likewise.
40581         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
40582         Likewise.
40583         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
40584         Likewise.
40585         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
40586         Likewise.
40587         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
40588         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
40589         Likewise.
40590         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
40591         Likewise.
40592         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
40594 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
40596         * po/be.po: Add descriptive title.
40597         * po/zh_CN.po: Likewise.
40598         * po/header.pot: Likewise.
40600 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
40602         * locale/programs/locarchive.c (create_archive): Inlucde fname in
40603         error message.
40604         (enlarge_archive): Likewise.
40606 2013-05-28  Ben North  <ben@redfrontdoor.org>
40608         * manual/arith.texi (frexp): It is the magnitude of the return
40609         value which lies in [0.5, 1), not the return value itself.
40611 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40613         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40615 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
40617         * stdio-common/bug26.c (main): Correct fscanf template.
40619         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
40620         declare _dl_skip_args.
40622         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
40623         Don't declare.
40625         * manual/platform.texi: Add missing @end deftypefun.
40627 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
40629         [BZ #15529]
40630         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
40631         bit of mantissa of 2^16382.
40632         * math/libm-test.inc (hypot_test_data): Add more tests.
40634         * math/libm-test.inc: Add drem and pow10 to list of tested
40635         functions.
40636         (pow10_test): New function.
40637         (drem_test): Likewise.
40638         (drem_test_tonearest): Likewise.
40639         (drem_test_towardzero): Likewise.
40640         (drem_test_downward): Likewise.
40641         (drem_test_upward): Likewise.
40642         (main): Call the new functions.
40644         * math/libm-test.inc (finite_test_data): Remove.
40645         (finite_test): Run tests from isfinite_test_data.
40646         (gamma_test_data): Remove.
40647         (gamma_test): Run tests from lgamma_test_data.
40648         * sysdeps/i386/fpu/libm-test-ulps: Update.
40649         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40651 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40653         * manual/platform.texi: Add PowerPC PPR function set documentation.
40654         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
40655         implementation.
40657 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
40659         * math/libm-test.inc (MAX_EXP): Define.
40660         (ULPDIFF): Define.
40661         (ulp): New function.
40662         (check_float_internal): Use ULPDIFF.
40663         (cpow_test): Disable failing test.
40664         (check_ulp): Test ulp() implemetnation.
40665         (main): Call check_ulp before starting tests.
40667 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
40669         * math/gen-libm-test.pl (generate_testfile): Do not handle
40670         START_DATA and END_DATA.
40671         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
40672         END_DATA.
40673         (acos_tonearest_test_data): Likewise.
40674         (acos_towardzero_test_data): Likewise.
40675         (acos_downward_test_data): Likewise.
40676         (acos_upward_test_data): Likewise.
40677         (acosh_test_data): Likewise.
40678         (asin_test_data): Likewise.
40679         (asin_tonearest_test_data): Likewise.
40680         (asin_towardzero_test_data): Likewise.
40681         (asin_downward_test_data): Likewise.
40682         (asin_upward_test_data): Likewise.
40683         (asinh_test_data): Likewise.
40684         (atan_test_data): Likewise.
40685         (atanh_test_data): Likewise.
40686         (atan2_test_data): Likewise.
40687         (cabs_test_data): Likewise.
40688         (cacos_test_data): Likewise.
40689         (cacosh_test_data): Likewise.
40690         (carg_test_data): Likewise.
40691         (casin_test_data): Likewise.
40692         (casinh_test_data): Likewise.
40693         (catan_test_data): Likewise.
40694         (catanh_test_data): Likewise.
40695         (cbrt_test_data): Likewise.
40696         (ccos_test_data): Likewise.
40697         (ccosh_test_data): Likewise.
40698         (ceil_test_data): Likewise.
40699         (cexp_test_data): Likewise.
40700         (cimag_test_data): Likewise.
40701         (clog_test_data): Likewise.
40702         (clog10_test_data): Likewise.
40703         (conj_test_data): Likewise.
40704         (copysign_test_data): Likewise.
40705         (cos_test_data): Likewise.
40706         (cos_tonearest_test_data): Likewise.
40707         (cos_towardzero_test_data): Likewise.
40708         (cos_downward_test_data): Likewise.
40709         (cos_upward_test_data): Likewise.
40710         (cosh_test_data): Likewise.
40711         (cosh_tonearest_test_data): Likewise.
40712         (cosh_towardzero_test_data): Likewise.
40713         (cosh_downward_test_data): Likewise.
40714         (cosh_upward_test_data): Likewise.
40715         (cpow_test_data): Likewise.
40716         (cproj_test_data): Likewise.
40717         (creal_test_data): Likewise.
40718         (csin_test_data): Likewise.
40719         (csinh_test_data): Likewise.
40720         (csqrt_test_data): Likewise.
40721         (ctan_test_data): Likewise.
40722         (ctan_tonearest_test_data): Likewise.
40723         (ctan_towardzero_test_data): Likewise.
40724         (ctan_downward_test_data): Likewise.
40725         (ctan_upward_test_data): Likewise.
40726         (ctanh_test_data): Likewise.
40727         (ctanh_tonearest_test_data): Likewise.
40728         (ctanh_towardzero_test_data): Likewise.
40729         (ctanh_downward_test_data): Likewise.
40730         (ctanh_upward_test_data): Likewise.
40731         (erf_test_data): Likewise.
40732         (erfc_test_data): Likewise.
40733         (exp_test_data): Likewise.
40734         (exp_tonearest_test_data): Likewise.
40735         (exp_towardzero_test_data): Likewise.
40736         (exp_downward_test_data): Likewise.
40737         (exp_upward_test_data): Likewise.
40738         (exp10_test_data): Likewise.
40739         (exp2_test_data): Likewise.
40740         (expm1_test_data): Likewise.
40741         (fabs_test_data): Likewise.
40742         (fdim_test_data): Likewise.
40743         (finite_test_data): Likewise.
40744         (floor_test_data): Likewise.
40745         (fma_test_data): Likewise.
40746         (fma_towardzero_test_data): Likewise.
40747         (fma_downward_test_data): Likewise.
40748         (fma_upward_test_data): Likewise.
40749         (fmax_test_data): Likewise.
40750         (fmin_test_data): Likewise.
40751         (fmod_test_data): Likewise.
40752         (fpclassify_test_data): Likewise.
40753         (frexp_test_data): Likewise.
40754         (gamma_test_data): Likewise.
40755         (hypot_test_data): Likewise.
40756         (ilogb_test_data): Likewise.
40757         (isfinite_test_data): Likewise.
40758         (isgreater_test_data): Likewise.
40759         (isgreaterequal_test_data): Likewise.
40760         (isinf_test_data): Likewise.
40761         (isless_test_data): Likewise.
40762         (islessequal_test_data): Likewise.
40763         (islessgreater_test_data): Likewise.
40764         (isnan_test_data): Likewise.
40765         (isnormal_test_data): Likewise.
40766         (issignaling_test_data): Likewise.
40767         (isunordered_test_data): Likewise.
40768         (j0_test_data): Likewise.
40769         (j1_test_data): Likewise.
40770         (jn_test_data): Likewise.
40771         (ldexp_test_data): Likewise.
40772         (lgamma_test_data): Likewise.
40773         (lrint_test_data): Likewise.
40774         (lrint_tonearest_test_data): Likewise.
40775         (lrint_towardzero_test_data): Likewise.
40776         (lrint_downward_test_data): Likewise.
40777         (lrint_upward_test_data): Likewise.
40778         (llrint_test_data): Likewise.
40779         (llrint_tonearest_test_data): Likewise.
40780         (llrint_towardzero_test_data): Likewise.
40781         (llrint_downward_test_data): Likewise.
40782         (llrint_upward_test_data): Likewise.
40783         (log_test_data): Likewise.
40784         (log10_test_data): Likewise.
40785         (log1p_test_data): Likewise.
40786         (log2_test_data): Likewise.
40787         (logb_test_data): Likewise.
40788         (logb_downward_test_data): Likewise.
40789         (lround_test_data): Likewise.
40790         (llround_test_data): Likewise.
40791         (modf_test_data): Likewise.
40792         (nearbyint_test_data): Likewise.
40793         (nextafter_test_data): Likewise.
40794         (nexttoward_test_data): Likewise.
40795         (pow_test_data): Likewise.
40796         (pow_tonearest_test_data): Likewise.
40797         (pow_towardzero_test_data): Likewise.
40798         (pow_downward_test_data): Likewise.
40799         (pow_upward_test_data): Likewise.
40800         (remainder_test_data): Likewise.
40801         (remainder_tonearest_test_data): Likewise.
40802         (remainder_towardzero_test_data): Likewise.
40803         (remainder_downward_test_data): Likewise.
40804         (remainder_upward_test_data): Likewise.
40805         (remquo_test_data): Likewise.
40806         (rint_test_data): Likewise.
40807         (rint_tonearest_test_data): Likewise.
40808         (rint_towardzero_test_data): Likewise.
40809         (rint_downward_test_data): Likewise.
40810         (rint_upward_test_data): Likewise.
40811         (round_test_data): Likewise.
40812         (scalb_test_data): Likewise.
40813         (scalbn_test_data): Likewise.
40814         (scalbln_test_data): Likewise.
40815         (signbit_test_data): Likewise.
40816         (sin_test_data): Likewise.
40817         (sin_tonearest_test_data): Likewise.
40818         (sin_towardzero_test_data): Likewise.
40819         (sin_downward_test_data): Likewise.
40820         (sin_upward_test_data): Likewise.
40821         (sincos_test_data): Likewise.
40822         (sinh_test_data): Likewise.
40823         (sinh_tonearest_test_data): Likewise.
40824         (sinh_towardzero_test_data): Likewise.
40825         (sinh_downward_test_data): Likewise.
40826         (sinh_upward_test_data): Likewise.
40827         (sqrt_test_data): Likewise.
40828         (tan_test_data): Likewise.
40829         (tan_tonearest_test_data): Likewise.
40830         (tan_towardzero_test_data): Likewise.
40831         (tan_downward_test_data): Likewise.
40832         (tan_upward_test_data): Likewise.
40833         (tanh_test_data): Likewise.
40834         (tgamma_test_data): Likewise.
40835         (trunc_test_data): Likewise.
40836         (y0_test_data): Likewise.
40837         (y1_test_data): Likewise.
40838         (yn_test_data): Likewise.
40839         (significand_test_data): Likewise.
40841         * math/gen-libm-test.pl (@functions): Remove variable.
40842         (generate_testfile): Don't handle START and END lines.
40843         * math/libm-test.inc (START): New macro.
40844         (END): Likewise.
40845         (END_COMPLEX): Likewise.
40846         (acos_test): Use END macro without arguments.
40847         (acos_test_tonearest): Likewise.
40848         (acos_test_towardzero): Likewise.
40849         (acos_test_downward): Likewise.
40850         (acos_test_upward): Likewise.
40851         (acosh_test): Likewise.
40852         (asin_test): Likewise.
40853         (asin_test_tonearest): Likewise.
40854         (asin_test_towardzero): Likewise.
40855         (asin_test_downward): Likewise.
40856         (asin_test_upward): Likewise.
40857         (asinh_test): Likewise.
40858         (atan_test): Likewise.
40859         (atanh_test): Likewise.
40860         (atan2_test): Likewise.
40861         (cabs_test): Likewise.
40862         (cacos_test): Use END_COMPLEX macro without arguments.
40863         (cacosh_test): Likewise.
40864         (carg_test): Use END macro without arguments.
40865         (casin_test): Use END_COMPLEX macro without arguments.
40866         (casinh_test): Likewise.
40867         (catan_test): Likewise.
40868         (catanh_test): Likewise.
40869         (cbrt_test): Use END macro without arguments.
40870         (ccos_test): Use END_COMPLEX macro without arguments.
40871         (ccosh_test): Likewise.
40872         (ceil_test): Use END macro without arguments.
40873         (cexp_test): Use END_COMPLEX macro without arguments.
40874         (cimag_test): Use END macro without arguments.
40875         (clog_test): Use END_COMPLEX macro without arguments.
40876         (clog10_test): Likewise.
40877         (conj_test): Likewise.
40878         (copysign_test): Use END macro without arguments.
40879         (cos_test): Likewise.
40880         (cos_test_tonearest): Likewise.
40881         (cos_test_towardzero): Likewise.
40882         (cos_test_downward): Likewise.
40883         (cos_test_upward): Likewise.
40884         (cosh_test): Likewise.
40885         (cosh_test_tonearest): Likewise.
40886         (cosh_test_towardzero): Likewise.
40887         (cosh_test_downward): Likewise.
40888         (cosh_test_upward): Likewise.
40889         (cpow_test): Use END_COMPLEX macro without arguments.
40890         (cproj_test): Likewise.
40891         (creal_test): Use END macro without arguments.
40892         (csin_test): Use END_COMPLEX macro without arguments.
40893         (csinh_test): Likewise.
40894         (csqrt_test): Likewise.
40895         (ctan_test): Likewise.
40896         (ctan_test_tonearest): Likewise.
40897         (ctan_test_towardzero): Likewise.
40898         (ctan_test_downward): Likewise.
40899         (ctan_test_upward): Likewise.
40900         (ctanh_test): Likewise.
40901         (ctanh_test_tonearest): Likewise.
40902         (ctanh_test_towardzero): Likewise.
40903         (ctanh_test_downward): Likewise.
40904         (ctanh_test_upward): Likewise.
40905         (erf_test): Use END macro without arguments.
40906         (erfc_test): Likewise.
40907         (exp_test): Likewise.
40908         (exp_test_tonearest): Likewise.
40909         (exp_test_towardzero): Likewise.
40910         (exp_test_downward): Likewise.
40911         (exp_test_upward): Likewise.
40912         (exp10_test): Likewise.
40913         (exp2_test): Likewise.
40914         (expm1_test): Likewise.
40915         (fabs_test): Likewise.
40916         (fdim_test): Likewise.
40917         (finite_test): Likewise.
40918         (floor_test): Likewise.
40919         (fma_test): Likewise.
40920         (fma_test_towardzero): Likewise.
40921         (fma_test_downward): Likewise.
40922         (fma_test_upward): Likewise.
40923         (fmax_test): Likewise.
40924         (fmin_test): Likewise.
40925         (fmod_test): Likewise.
40926         (fpclassify_test): Likewise.
40927         (frexp_test): Likewise.
40928         (gamma_test): Likewise.
40929         (hypot_test): Likewise.
40930         (ilogb_test): Likewise.
40931         (isfinite_test): Likewise.
40932         (isgreater_test): Likewise.
40933         (isgreaterequal_test): Likewise.
40934         (isinf_test): Likewise.
40935         (isless_test): Likewise.
40936         (islessequal_test): Likewise.
40937         (islessgreater_test): Likewise.
40938         (isnan_test): Likewise.
40939         (isnormal_test): Likewise.
40940         (issignaling_test): Likewise.
40941         (isunordered_test): Likewise.
40942         (j0_test): Likewise.
40943         (j1_test): Likewise.
40944         (jn_test): Likewise.
40945         (ldexp_test): Likewise.
40946         (lgamma_test): Likewise.
40947         (lrint_test): Likewise.
40948         (lrint_test_tonearest): Likewise.
40949         (lrint_test_towardzero): Likewise.
40950         (lrint_test_downward): Likewise.
40951         (lrint_test_upward): Likewise.
40952         (llrint_test): Likewise.
40953         (llrint_test_tonearest): Likewise.
40954         (llrint_test_towardzero): Likewise.
40955         (llrint_test_downward): Likewise.
40956         (llrint_test_upward): Likewise.
40957         (log_test): Likewise.
40958         (log10_test): Likewise.
40959         (log1p_test): Likewise.
40960         (log2_test): Likewise.
40961         (logb_test): Likewise.
40962         (logb_test_downward): Likewise.
40963         (lround_test): Likewise.
40964         (llround_test): Likewise.
40965         (modf_test): Likewise.
40966         (nearbyint_test): Likewise.
40967         (nextafter_test): Likewise.
40968         (nexttoward_test): Likewise.
40969         (pow_test): Likewise.
40970         (pow_test_tonearest): Likewise.
40971         (pow_test_towardzero): Likewise.
40972         (pow_test_downward): Likewise.
40973         (pow_test_upward): Likewise.
40974         (remainder_test): Likewise.
40975         (remainder_test_tonearest): Likewise.
40976         (remainder_test_towardzero): Likewise.
40977         (remainder_test_downward): Likewise.
40978         (remainder_test_upward): Likewise.
40979         (remquo_test): Likewise.
40980         (rint_test): Likewise.
40981         (rint_test_tonearest): Likewise.
40982         (rint_test_towardzero): Likewise.
40983         (rint_test_downward): Likewise.
40984         (rint_test_upward): Likewise.
40985         (round_test): Likewise.
40986         (scalb_test): Likewise.
40987         (scalbn_test): Likewise.
40988         (scalbln_test): Likewise.
40989         (signbit_test): Likewise.
40990         (sin_test): Likewise.
40991         (sin_test_tonearest): Likewise.
40992         (sin_test_towardzero): Likewise.
40993         (sin_test_downward): Likewise.
40994         (sin_test_upward): Likewise.
40995         (sincos_test): Likewise.
40996         (sinh_test): Likewise.
40997         (sinh_test_tonearest): Likewise.
40998         (sinh_test_towardzero): Likewise.
40999         (sinh_test_downward): Likewise.
41000         (sinh_test_upward): Likewise.
41001         (sqrt_test): Likewise.
41002         (tan_test): Likewise.
41003         (tan_test_tonearest): Likewise.
41004         (tan_test_towardzero): Likewise.
41005         (tan_test_downward): Likewise.
41006         (tan_test_upward): Likewise.
41007         (tanh_test): Likewise.
41008         (tgamma_test): Likewise.
41009         (trunc_test): Likewise.
41010         (y0_test): Likewise.
41011         (y1_test): Likewise.
41012         (yn_test): Likewise.
41013         (significand_test): Likewise.
41015 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
41017         [BZ #15381]
41018         * libio/genops.c (_IO_no_init): Initialize wide struct info.
41020 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
41022         [BZ #14894]
41023         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
41024         __ppc_mdoio and __ppc_mdoom.
41025         * manual/platform.texi: Document new functions __ppc_yield,
41026         __ppc_mdoio and __ppc_mdoom.
41028 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
41030         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
41031         (main): Mention "tls" pseudo-hwcap is legacy.
41032         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
41034 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
41036         * math/gen-libm-test.pl (parse_args): Output only string of
41037         arguments as text for test name, not full call or descriptions of
41038         tests for extra outputs.
41039         (generate_testfile): Do not pass function name to parse_args.
41040         Generate this_func variable from START.
41041         * math/libm-test.inc (struct test_f_f_data): Rename test_name
41042         field to arg_str.
41043         (struct test_ff_f_data): Likewise.
41044         (test_ff_f_data_nexttoward): Likewise.
41045         (struct test_fi_f_data): Likewise.
41046         (struct test_fl_f_data): Likewise.
41047         (struct test_if_f_data): Likewise.
41048         (struct test_fff_f_data): Likewise.
41049         (struct test_c_f_data): Likewise.
41050         (struct test_f_f1_data): Likewise.  Remove field extra_name.
41051         (struct test_fF_f1_data): Likewise.
41052         (struct test_ffI_f1_data): Likewise.
41053         (struct test_c_c_data): Rename test_name field to arg_str.
41054         (struct test_cc_c_data): Likewise.
41055         (struct test_f_i_data): Likewise.
41056         (struct test_ff_i_data): Likewise.
41057         (struct test_f_l_data): Likewise.
41058         (struct test_f_L_data): Likewise.
41059         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
41060         and extra2_name.
41061         (COMMON_TEST_SETUP): New macro.
41062         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
41063         (COMMON_TEST_CLEANUP): Likewise.
41064         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
41065         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
41066         macros.
41067         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
41068         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
41069         macros.
41070         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
41071         (RUN_TEST_fff_f): Take argument string.  Call new setup and
41072         cleanup macros.
41073         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
41074         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
41075         macros.
41076         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
41077         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
41078         macros.
41079         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
41080         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
41081         cleanup macros.
41082         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
41083         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
41084         cleanup macros.
41085         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
41086         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
41087         cleanup macros.
41088         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
41089         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
41090         macros.
41091         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
41092         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
41093         macros.
41094         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
41095         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
41096         macros.
41097         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
41098         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
41099         cleanup macros.
41100         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
41101         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
41102         cleanup macros.
41103         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
41104         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
41105         macros.
41106         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
41107         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
41108         cleanup macros.
41109         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
41110         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
41111         macros.
41112         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
41113         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
41114         macros.
41115         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
41116         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
41117         cleanup macros.
41118         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
41120 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
41122         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
41123         to _sifields.sigfault.
41124         (si_addr_lsb): Define new macro.
41125         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
41126         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
41127         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
41129 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
41131         [BZ #15441]
41132         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
41133         returns -1.
41134         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
41135         null return -1.
41136         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
41137         loading the domain.
41139 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
41141         * math/gen-libm-test.pl (parse_args): Do not include expected
41142         result in test name.
41143         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
41144         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41145         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
41146         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
41147         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
41148         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41150 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
41152         * benchtests/Makefile: Sort function entries.
41154         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
41155         tanh, asinh, acosh, atanh.
41156         * benchtests/acos-inputs: New file.
41157         * benchtests/acosh-inputs: New file.
41158         * benchtests/asin-inputs: New file.
41159         * benchtests/asinh-inputs: New file.
41160         * benchtests/atanh-inputs: New file.
41161         * benchtests/cosh-inputs: New file.
41162         * benchtests/log-inputs: New file.
41163         * benchtests/sinh-inputs: New file.
41164         * benchtests/tanh-inputs: New file.
41166 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
41168         [BZ #15339]
41169         * posix/tst-getaddrinfo4.c: New test.
41170         * posix/Makefile (tests): Add it.
41172 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
41174         [BZ #15339]
41175         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
41176         when no services were used.
41177         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
41178         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
41180 2013-05-21  Andreas Schwab  <schwab@suse.de>
41182         [BZ #15014]
41183         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
41184         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
41185         successful.
41186         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
41187         redundant variable declarations and reallocation of buffer when
41188         parsing as IPv6 address.  Always set NSS status when called from
41189         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
41190         buffer too small.  Correct computation of needed size.
41191         * nss/Makefile (tests): Add test-digits-dots.
41192         * nss/test-digits-dots.c: New test.
41194 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
41196         * benchtests/Makefile: Remove instructions for adding
41197         benchmark tests.
41198         * benchtests/README: New file to explain how to execute and
41199         enhance the benchmark tests.
41201 2013-05-21  Andreas Schwab  <schwab@suse.de>
41203         [BZ #15493]
41204         * setjmp/Makefile (tests): Add tst-sigsetjmp.
41205         * setjmp/tst-sigsetjmp.c: New test.
41207 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
41209         * sysdeps/x86_64/memset.S (memset): New implementation.
41210         (__bzero): Likewise.
41211         (__memset_tail): New function.
41213 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
41215         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
41216         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
41217         __memcpy_sse2_unaligned ifunc selection.
41218         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
41219         Add memcpy-sse2-unaligned.S.
41220         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
41221         Add: __memcpy_sse2_unaligned.
41223 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
41225         [BZ #15490]
41226         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
41227         math_force_eval before restoring floating-point envrionment.
41228         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
41229         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
41230         Likewise.
41231         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
41232         <math_private.h>.
41233         (__nearbyintl): Use math_force_eval before restoring
41234         floating-point environment.
41235         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
41237         * math/gen-libm-test.pl (special_functions): Remove.
41238         (parse_args): Don't handle TEST_extra.  Handle functions with no
41239         return value.
41240         * math/libm-test.inc (struct test_sincos_data): Replace with
41241         struct test_fFF_11_data.
41242         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
41243         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
41244         (sincos_test_data): Change element type to struct
41245         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
41246         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
41247         RUN_TEST_LOOP_sincos.
41248         * math/README.libm-test: Don't mention special handling of
41249         individual functions.
41250         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
41251         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41252         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
41253         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
41254         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
41255         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41257         * math/gen-libm-test.pl (get_variable): Remove function.
41258         (parse_args): Don't show pointer parameters to call in test
41259         names.  Use "extra output N" in test names for extra outputs
41260         rather than naming variables.
41262 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
41264         [BZ #15488]
41265         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
41266         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
41267         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
41268         double tests.
41269         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
41270         disable.
41271         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
41272         check_long_double.
41274         * math/gen-libm-test.pl (@tests): Remove variable.
41275         ($count): Likewise.
41276         (new_test): Remove function.
41277         (show_exceptions): New function.
41278         (special_functions): Use show_exceptions instead of new_test.
41279         (parse_args): Likewise.
41280         (generate_testfile): Pass only function name in generated call to
41281         print_max_error or print_complex_max_error.
41282         (get_ulps): Do not handle complex tests specially.
41283         (output_test): Rename to ...
41284         (get_all_ulps_for_test): ... this.  Return a string rather than
41285         printing to a file.  Require ulps to be present.
41286         (output_ulps): Generate arrays rather than #defines.
41287         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
41288         (struct ulp_data): New type.
41289         (BUILD_COMPLEX_ULP): Remove macro.
41290         (compare_ulp_data): New function.
41291         (find_ulps): Likewise.
41292         (find_test_ulps): Likewise.
41293         (find_function_ulps): Likewise.
41294         (find_complex_function_ulps): Likewise.
41295         (print_max_error): Determine allowed ulps using
41296         find_function_ulps.
41297         (print_complex_max_error): Determine allowed ulps using
41298         find_complex_function_ulps.
41299         (check_float_internal): Determine max ulps using find_test_ulps.
41300         (check_float): Do not take max_ulp parameter.  Update call to
41301         check_float_internal.
41302         (check_complex): Likewise.
41303         (check_int): Do not take max_ulp parameter.
41304         (check_long): Likewise.
41305         (check_bool): Likewise.
41306         (check_longlong): Likewise.
41307         (struct test_f_f_data): Remove max_ulp field.
41308         (struct test_ff_f_data): Likewise.
41309         (struct test_ff_f_data_nexttoward): Likewise.
41310         (struct test_fi_f_data): Likewise.
41311         (struct test_fl_f_data): Likewise.
41312         (struct test_if_f_data): Likewise.
41313         (struct test_fff_f_data): Likewise.
41314         (struct test_c_f_data): Likewise.
41315         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
41316         (struct test_fF_f1_data): Likewise.
41317         (struct test_ffI_f1_data): Likewise.
41318         (struct test_c_c_data): Remove max_ulp field.
41319         (struct test_cc_c_data): Likewise.
41320         (struct test_f_i_data): Likewise.
41321         (struct test_ff_i_data): Likewise.
41322         (struct test_f_l_data): Likewise.
41323         (struct test_f_L_data): Likewise.
41324         (struct test_sincos_data): Likewise.
41325         (RUN_TEST_f_f): Do not handle ulps.
41326         (RUN_TEST_LOOP_f_f): Likewise.
41327         (RUN_TEST_2_f): Likewise.
41328         (RUN_TEST_LOOP_2_f): Likewise.
41329         (RUN_TEST_fff_f): Likewise.
41330         (RUN_TEST_LOOP_fff_f): Likewise.
41331         (RUN_TEST_c_f): Likewise.
41332         (RUN_TEST_LOOP_c_f): Likewise.
41333         (RUN_TEST_f_f1): Likewise.
41334         (RUN_TEST_LOOP_f_f1): Likewise.
41335         (RUN_TEST_fF_f1): Likewise.
41336         (RUN_TEST_LOOP_fF_f1): Likewise.
41337         (RUN_TEST_fI_f1): Likewise.
41338         (RUN_TEST_LOOP_fI_f1): Likewise.
41339         (RUN_TEST_ffI_f1): Likewise.
41340         (RUN_TEST_LOOP_ffI_f1): Likewise.
41341         (RUN_TEST_c_c): Likewise.
41342         (RUN_TEST_LOOP_c_c): Likewise.
41343         (RUN_TEST_cc_c): Likewise.
41344         (RUN_TEST_LOOP_cc_c): Likewise.
41345         (RUN_TEST_f_i): Likewise.
41346         (RUN_TEST_LOOP_f_i): Likewise.
41347         (RUN_TEST_f_i_tg): Likewise.
41348         (RUN_TEST_LOOP_f_i_tg): Likewise.
41349         (RUN_TEST_ff_i_tg): Likewise.
41350         (RUN_TEST_LOOP_ff_i_tg): Likewise.
41351         (RUN_TEST_f_b): Likewise.
41352         (RUN_TEST_LOOP_f_b): Likewise.
41353         (RUN_TEST_f_b_tg): Likewise.
41354         (RUN_TEST_LOOP_f_b_tg): Likewise.
41355         (RUN_TEST_f_l): Likewise.
41356         (RUN_TEST_LOOP_f_l): Likewise.
41357         (RUN_TEST_f_L): Likewise.
41358         (RUN_TEST_LOOP_f_L): Likewise.
41359         (RUN_TEST_sincos): Likewise.
41360         (RUN_TEST_LOOP_sincos): Likewise.
41362 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
41364         [BZ #15480]
41365         [BZ #15485]
41366         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
41367         main case of finite arguments, set rounding mode to FE_TONEAREST
41368         and discard exceptions.
41369         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
41370         exceptions.
41371         (remainder_tonearest_test_data): New variable.
41372         (remainder_test_tonearest): New function.
41373         (remainder_towardzero_test_data): New variable.
41374         (remainder_test_towardzero): New function.
41375         (remainder_downward_test_data): New variable.
41376         (remainder_test_downward): New function.
41377         (remainder_upward_test_data): New variable.
41378         (remainder_test_upward): New function.
41379         (main): Call the new test functions.
41381         * math/libm-test.inc (struct test_f_f1_data): Remove field
41382         extra_init.
41383         (struct test_fF_f1_data): Likewise.
41384         (struct test_ffI_f1_data): Likewise.
41385         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
41386         based on value of EXTRA_EXPECTED.
41387         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
41388         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
41389         EXTRA_VAR based on value of EXTRA_EXPECTED.
41390         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
41391         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
41392         EXTRA_VAR based on value of EXTRA_EXPECTED.
41393         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
41394         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
41395         EXTRA_VAR based on value of EXTRA_EXPECTED.
41396         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
41397         * math/gen-libm-test.pl (parse_args): Don't output initializers
41398         for extra output values.
41400         * math/libm-test.inc (check_int): Expect result to be exactly
41401         equal to expected value and do not handle ulps.
41402         (check_long): Likewise.
41403         (check_longlong): Likewise.
41405         * math/libm-test.inc (ceil_test_data): Test for "inexact"
41406         exceptions.
41407         (cimag_test_data): Likewise.
41408         (conj_test_data): Likewise.
41409         (copysign_test_data): Likewise.
41410         (cproj_test_data): Likewise.
41411         (creal_test_data): Likewise.
41412         (fabs_test_data): Likewise.
41413         (fdim_test_data): Likewise.
41414         (finite_test_data): Likewise.
41415         (floor_test_data): Likewise.
41416         (fmax_test_data): Likewise.
41417         (fmin_test_data): Likewise.
41418         (fmod_test_data): Likewise.
41419         (fpclassify_test_data): Likewise.
41420         (frexp_test_data): Likewise.
41421         (ilogb_test_data): Likewise.
41422         (isfinite_test_data): Likewise.
41423         (isgreater_test_data): Likewise.
41424         (isgreaterequal_test_data): Likewise.
41425         (isinf_test_data): Likewise.
41426         (isless_test_data): Likewise.
41427         (islessequal_test_data): Likewise.
41428         (islessgreater_test_data): Likewise.
41429         (isnan_test_data): Likewise.
41430         (isnormal_test_data): Likewise.
41431         (issignaling_test_data): Likewise.
41432         (isunordered_test_data): Likewise.
41433         (ldexp_test_data): Likewise.
41434         (lrint_test_data): Likewise.
41435         (lrint_test_data) [TEST_FLOAT]: Disable one test.
41436         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
41437         (lrint_tonearest_test_data): Test for "inexact" exceptions.
41438         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
41439         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
41440         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
41441         test input.
41442         (lrint_towardzero_test_data): Test for "inexact" exceptions.
41443         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
41444         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
41445         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
41446         that test input.
41447         (lrint_downward_test_data): Test for "inexact" exceptions.
41448         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
41449         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
41450         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
41451         test input.
41452         (lrint_upward_test_data): Test for "inexact" exceptions.
41453         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
41454         test input.
41455         (llrint_test_data): Test for "inexact" exceptions.
41456         (llrint_test_data) [TEST_FLOAT]: Disable one test.
41457         (llrint_tonearest_test_data): Test for "inexact" exceptions.
41458         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
41459         (llrint_towardzero_test_data): Test for "inexact" exceptions.
41460         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
41461         (llrint_downward_test_data): Test for "inexact" exceptions.
41462         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
41463         (llrint_upward_test_data): Test for "inexact" exceptions.
41464         (logb_test_data): Likewise.
41465         (logb_downward_test_data): Likewise.
41466         (nextafter_test_data): Likewise.
41467         (nexttoward_test_data): Likewise.
41468         (remainder_test_data): Likewise.
41469         (remquo_test_data): Likewise.
41470         (scalbn_test_data): Likewise.
41471         (scalbln_test_data): Likewise.
41472         (signbit_test_data): Likewise.
41473         (sqrt_test_data): Likewise.
41474         (significand_test_data): Likewise.
41476 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
41478         [BZ #15424]
41479         * benchtests/bench-modf.c (struct args): Mark arg0 as
41480         volatile.
41481         * scripts/bench.pl: Mark members of struct args as volatile.
41483 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41485         [BZ # 15497]
41486         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
41487         negative infinity on POWER6 or lower.
41488         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
41490 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
41492         [BZ #15442]
41493         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
41494         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
41495         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
41496         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
41497         (_FP_SETQNAN): New macro.
41498         (_FP_SETQNAN_SEMIRAW): Likewise.
41499         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
41500         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
41501         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
41502         (FP_EXTEND): Use _FP_FRAC_SNANP.
41503         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
41504         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
41505         into account.
41506         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
41507         New macro.
41508         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
41509         Likewise.
41511 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
41513         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
41514         with DIVIDE_BY_ZERO_EXCEPTION.
41515         (gamma_test_data): Likewise.
41516         (lgamma_test_data): Likewise.
41517         (log_test_data): Likewise.
41518         (log10_test_data): Likewise.
41519         (log2_test_data): Likewise.
41520         (tgamma_test_data): Likewise.
41522         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
41523         (acos_test_tonearest): Likewise.
41524         (acos_test_towardzero): Likewise.
41525         (acos_test_downward): Likewise.
41526         (acos_test_upward): Likewise.
41527         (acosh_test): Likewise.
41528         (asin_test): Likewise.
41529         (asin_test_tonearest): Likewise.
41530         (asin_test_towardzero): Likewise.
41531         (asin_test_downward): Likewise.
41532         (asin_test_upward): Likewise.
41533         (asinh_test): Likewise.
41534         (atan_test): Likewise.
41535         (atanh_test): Likewise.
41536         (atan2_test): Likewise.
41537         (cabs_test): Likewise.
41538         (cacos_test): Likewise.
41539         (cacosh_test): Likewise.
41540         (casin_test): Likewise.
41541         (casinh_test): Likewise.
41542         (catan_test): Likewise.
41543         (catanh_test): Likewise.
41544         (cbrt_test): Likewise.
41545         (ccos_test): Likewise.
41546         (ccosh_test): Likewise.
41547         (cexp_test): Likewise.
41548         (clog_test): Likewise.
41549         (clog10_test): Likewise.
41550         (cos_test): Likewise.
41551         (cos_test_tonearest): Likewise.
41552         (cos_test_towardzero): Likewise.
41553         (cos_test_downward): Likewise.
41554         (cos_test_upward): Likewise.
41555         (cosh_test): Likewise.
41556         (cosh_test_tonearest): Likewise.
41557         (cosh_test_towardzero): Likewise.
41558         (cosh_test_downward): Likewise.
41559         (cosh_test_upward): Likewise.
41560         (cpow_test): Likewise.
41561         (csin_test): Likewise.
41562         (csinh_test): Likewise.
41563         (csqrt_test): Likewise.
41564         (ctan_test): Likewise.
41565         (ctan_test_tonearest): Likewise.
41566         (ctan_test_towardzero): Likewise.
41567         (ctan_test_downward): Likewise.
41568         (ctan_test_upward): Likewise.
41569         (ctanh_test): Likewise.
41570         (ctanh_test_tonearest): Likewise.
41571         (ctanh_test_towardzero): Likewise.
41572         (ctanh_test_downward): Likewise.
41573         (ctanh_test_upward): Likewise.
41574         (erf_test): Likewise.
41575         (erfc_test): Likewise.
41576         (exp_test): Likewise.
41577         (exp_test_tonearest): Likewise.
41578         (exp_test_towardzero): Likewise.
41579         (exp_test_downward): Likewise.
41580         (exp_test_upward): Likewise.
41581         (exp10_test): Likewise.
41582         (exp2_test): Likewise.
41583         (expm1_test): Likewise.
41584         (fmod_test): Likewise.
41585         (gamma_test): Likewise.
41586         (hypot_test): Likewise.
41587         (j0_test): Likewise.
41588         (j1_test): Likewise.
41589         (jn_test): Likewise.
41590         (lgamma_test): Likewise.
41591         (log_test): Likewise.
41592         (log10_test): Likewise.
41593         (log1p_test): Likewise.
41594         (log2_test): Likewise.
41595         (logb_test_downward): Likewise.
41596         (pow_test): Likewise.
41597         (pow_test_tonearest): Likewise.
41598         (pow_test_towardzero): Likewise.
41599         (pow_test_downward): Likewise.
41600         (pow_test_upward): Likewise.
41601         (remainder_test): Likewise.
41602         (remquo_test): Likewise.
41603         (sin_test): Likewise.
41604         (sin_test_tonearest): Likewise.
41605         (sin_test_towardzero): Likewise.
41606         (sin_test_downward): Likewise.
41607         (sin_test_upward): Likewise.
41608         (sincos_test): Likewise.
41609         (sinh_test): Likewise.
41610         (sinh_test_tonearest): Likewise.
41611         (sinh_test_towardzero): Likewise.
41612         (sinh_test_downward): Likewise.
41613         (sinh_test_upward): Likewise.
41614         (sqrt_test): Likewise.
41615         (tan_test): Likewise.
41616         (tan_test_tonearest): Likewise.
41617         (tan_test_towardzero): Likewise.
41618         (tan_test_downward): Likewise.
41619         (tan_test_upward): Likewise.
41620         (tanh_test): Likewise.
41621         (tgamma_test): Likewise.
41622         (y0_test): Likewise.
41623         (y1_test): Likewise.
41624         (yn_test): Likewise.
41626         * math/gen-libm-test.pl (adjust_arg): Remove function.
41627         (special_function): Remove argument $in_func.  Only handle
41628         generating output for tables of tests, not inside functions.
41629         (parse_args): Likewise.
41630         (generate_testfile): Remove variable $in_func.  Update call to
41631         parse_args.
41632         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
41633         (MINUS_ZERO_INIT): Rename macro to minus_zero.
41634         (PLUS_INFTY_INIT): Rename macro to plus_infty.
41635         (MINUS_INFTY_INIT): Rename macro to minus_infty.
41636         (QNAN_VALUE_INIT): Rename macro to qnan_value.
41637         (MAX_VALUE_INIT): Rename macro to max_value.
41638         (MIN_VALUE_INIT): Rename macro to min_value.
41639         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
41640         (plus_zero): Remove variable.
41641         (minus_zero): Likewise.
41642         (plus_infty): Likewise.
41643         (minus_infty): Likewise.
41644         (qnan_value): Likewise.
41645         (max_value): Likewise.
41646         (min_value): Likewise.
41647         (min_subnorm_value): Likewise.
41649 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
41651         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
41652         uint64_t or uint32_t usage.
41653         * crypt/sha256-block.c: Likewise.
41654         * crypt/sha256-crypt.c: Likewise.
41655         * crypt/sha256.c: Likewise.
41656         * crypt/sha512-block.c: Likewise.
41657         * crypt/sha512-crypt.c: Likewise.
41658         * crypt/sha512.c: Likewise.
41659         * debug/backtrace-tst.c: Likewise.
41660         * debug/pcprofiledump.c: Likewise.
41661         * elf/cache.c: Likewise.
41662         * elf/dl-cache.c: Likewise.
41663         * elf/dl-misc.c: Likewise.
41664         * elf/dl-profile.c: Likewise.
41665         * elf/dl-support.c: Likewise.
41666         * elf/ldconfig.c: Likewise.
41667         * elf/sprof.c: Likewise.
41668         * iconv/dummy-repertoire.c: Likewise.
41669         * iconv/iconv_charmap.c: Likewise.
41670         * iconv/skeleton.c: Likewise.
41671         * iconvdata/8bit-generic.c: Likewise.
41672         * iconvdata/cp737.h: Likewise.
41673         * iconvdata/cp775.h: Likewise.
41674         * iconvdata/ibm1008.h: Likewise.
41675         * iconvdata/ibm1025.h: Likewise.
41676         * iconvdata/ibm1046.h: Likewise.
41677         * iconvdata/ibm1097.h: Likewise.
41678         * iconvdata/ibm1112.h: Likewise.
41679         * iconvdata/ibm1122.h: Likewise.
41680         * iconvdata/ibm1123.h: Likewise.
41681         * iconvdata/ibm1124.h: Likewise.
41682         * iconvdata/ibm1129.h: Likewise.
41683         * iconvdata/ibm1130.h: Likewise.
41684         * iconvdata/ibm1132.h: Likewise.
41685         * iconvdata/ibm1133.h: Likewise.
41686         * iconvdata/ibm1137.h: Likewise.
41687         * iconvdata/ibm1140.h: Likewise.
41688         * iconvdata/ibm1141.h: Likewise.
41689         * iconvdata/ibm1142.h: Likewise.
41690         * iconvdata/ibm1143.h: Likewise.
41691         * iconvdata/ibm1144.h: Likewise.
41692         * iconvdata/ibm1145.h: Likewise.
41693         * iconvdata/ibm1146.h: Likewise.
41694         * iconvdata/ibm1147.h: Likewise.
41695         * iconvdata/ibm1148.h: Likewise.
41696         * iconvdata/ibm1149.h: Likewise.
41697         * iconvdata/ibm1153.h: Likewise.
41698         * iconvdata/ibm1154.h: Likewise.
41699         * iconvdata/ibm1155.h: Likewise.
41700         * iconvdata/ibm1156.h: Likewise.
41701         * iconvdata/ibm1157.h: Likewise.
41702         * iconvdata/ibm1158.h: Likewise.
41703         * iconvdata/ibm1160.h: Likewise.
41704         * iconvdata/ibm1161.h: Likewise.
41705         * iconvdata/ibm1162.h: Likewise.
41706         * iconvdata/ibm1163.h: Likewise.
41707         * iconvdata/ibm1164.h: Likewise.
41708         * iconvdata/ibm1166.h: Likewise.
41709         * iconvdata/ibm1167.h: Likewise.
41710         * iconvdata/ibm12712.h: Likewise.
41711         * iconvdata/ibm1390.h: Likewise.
41712         * iconvdata/ibm1399.h: Likewise.
41713         * iconvdata/ibm16804.h: Likewise.
41714         * iconvdata/ibm4517.h: Likewise.
41715         * iconvdata/ibm4899.h: Likewise.
41716         * iconvdata/ibm4909.h: Likewise.
41717         * iconvdata/ibm4971.h: Likewise.
41718         * iconvdata/ibm5347.h: Likewise.
41719         * iconvdata/ibm803.h: Likewise.
41720         * iconvdata/ibm856.h: Likewise.
41721         * iconvdata/ibm901.h: Likewise.
41722         * iconvdata/ibm902.h: Likewise.
41723         * iconvdata/ibm9030.h: Likewise.
41724         * iconvdata/ibm9066.h: Likewise.
41725         * iconvdata/ibm921.h: Likewise.
41726         * iconvdata/ibm922.h: Likewise.
41727         * iconvdata/ibm9448.h: Likewise.
41728         * iconvdata/isiri-3342.h: Likewise.
41729         * iconvdata/jis0201.h: Likewise.
41730         * include/link.h: Likewise.
41731         * include/netdb.h: Likewise.
41732         * inet/check_native.c: Likewise.
41733         * inet/check_pf.c: Likewise.
41734         * inet/getipv4sourcefilter.c: Likewise.
41735         * inet/getnameinfo.c: Likewise.
41736         * inet/getsourcefilter.c: Likewise.
41737         * inet/htonl.c: Likewise.
41738         * inet/setipv4sourcefilter.c: Likewise.
41739         * inet/setsourcefilter.c: Likewise.
41740         * inet/test-inet6_opt.c: Likewise.
41741         * inet/tst-network.c: Likewise.
41742         * locale/C-collate.c: Likewise.
41743         * locale/C-ctype.c: Likewise.
41744         * locale/C-time.c: Likewise.
41745         * locale/C-translit.h: Likewise.
41746         * locale/loadarchive.c: Likewise.
41747         * locale/programs/3level.h: Likewise.
41748         * locale/programs/charmap.c: Likewise.
41749         * locale/programs/charmap.h: Likewise.
41750         * locale/programs/ld-address.c: Likewise.
41751         * locale/programs/ld-collate.c: Likewise.
41752         * locale/programs/ld-ctype.c: Likewise.
41753         * locale/programs/ld-identification.c: Likewise.
41754         * locale/programs/ld-measurement.c: Likewise.
41755         * locale/programs/ld-messages.c: Likewise.
41756         * locale/programs/ld-monetary.c: Likewise.
41757         * locale/programs/ld-name.c: Likewise.
41758         * locale/programs/ld-numeric.c: Likewise.
41759         * locale/programs/ld-paper.c: Likewise.
41760         * locale/programs/ld-telephone.c: Likewise.
41761         * locale/programs/ld-time.c: Likewise.
41762         * locale/programs/linereader.c: Likewise.
41763         * locale/programs/locale.c: Likewise.
41764         * locale/programs/locarchive.c: Likewise.
41765         * locale/programs/locfile.h: Likewise.
41766         * locale/programs/repertoire.c: Likewise.
41767         * locale/programs/simple-hash.c: Likewise.
41768         * locale/programs/simple-hash.h: Likewise.
41769         * malloc/memusage.c: Likewise.
41770         * malloc/memusagestat.c: Likewise.
41771         * nis/nis_defaults.c: Likewise.
41772         * nis/nis_hash.c: Likewise.
41773         * nis/nis_print.c: Likewise.
41774         * nis/nis_xdr.c: Likewise.
41775         * nscd/connections.c: Likewise.
41776         * nscd/hstcache.c: Likewise.
41777         * nscd/nscd_gethst_r.c: Likewise.
41778         * nscd/nscd_getserv_r.c: Likewise.
41779         * nscd/nscd_helper.c: Likewise.
41780         * nscd/servicescache.c: Likewise.
41781         * nss/makedb.c: Likewise.
41782         * nss/nss_db/db-XXX.c: Likewise.
41783         * nss/nss_db/db-initgroups.c: Likewise.
41784         * nss/nss_db/db-netgrp.c: Likewise.
41785         * nss/nss_files/files-network.c: Likewise.
41786         * nss/nss_files/files-parse.c: Likewise.
41787         * posix/bug-regex5.c: Likewise.
41788         * posix/fnmatch_loop.c: Likewise.
41789         * posix/regcomp.c: Likewise.
41790         * posix/regexec.c: Likewise.
41791         * posix/tst-rfc3484-2.c: Likewise.
41792         * posix/tst-rfc3484-3.c: Likewise.
41793         * posix/tst-rfc3484.c: Likewise.
41794         * resolv/nss_dns/dns-canon.c: Likewise.
41795         * resolv/nss_dns/dns-network.c: Likewise.
41796         * resolv/res_init.c: Likewise.
41797         * resolv/res_mkquery.c: Likewise.
41798         * resolv/tst-aton.c: Likewise.
41799         * stdlib/cxa_atexit.c: Likewise.
41800         * stdlib/cxa_finalize.c: Likewise.
41801         * stdlib/gen-fpioconst.c: Likewise.
41802         * stdlib/strtol_l.c: Likewise.
41803         * string/tst-endian.c: Likewise.
41804         * sunrpc/auth_des.c: Likewise.
41805         * sunrpc/clnt_udp.c: Likewise.
41806         * sunrpc/rtime.c: Likewise.
41807         * sunrpc/svcauth_des.c: Likewise.
41808         * sunrpc/xdr.c: Likewise.
41809         * sunrpc/xdr_intXX_t.c: Likewise.
41810         * sunrpc/xdr_rec.c: Likewise.
41811         * sysdeps/generic/ldconfig.h: Likewise.
41812         * sysdeps/generic/ldsodefs.h: Likewise.
41813         * sysdeps/generic/memusage.h: Likewise.
41814         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
41815         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
41816         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
41817         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
41818         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41819         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
41820         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
41821         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
41822         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
41823         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
41824         * sysdeps/posix/getaddrinfo.c: Likewise.
41825         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
41826         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
41827         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
41828         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
41829         * sysdeps/powerpc/test-gettimebase.c: Likewise.
41830         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
41831         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
41832         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
41833         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
41834         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
41835         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
41836         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
41837         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
41838         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
41839         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
41840         * sysdeps/x86_64/dl-tls.h: Likewise.
41841         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
41842         * time/alt_digit.c: Likewise.
41843         * time/era.c: Likewise.
41844         * wcsmbs/tst-c16c32-1.c: Likewise.
41846 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
41848         * math/libm-test.inc (struct test_sincos_data): New type.
41849         (RUN_TEST_LOOP_sincos): New macro.
41850         (sincos_test_data): New variable.
41851         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
41853 2013-05-16  Richard Henderson  <rth@redhat.com>
41855         * math/atest-exp2.c (LIMB64): New macro.
41856         (CONSTSZ): New macro.
41857         (mp_exp1, mp_exp_m1, mp_log2): New variables.
41858         (hexdig): Move ...
41859         (print_mpn_fp): ... to function scope.
41860         (read_mpn_hex): Remove.
41861         (get_log2): Remove.
41862         (exp2_mpn): Use mp_log2.
41863         (main): Use mp_exp1.
41865 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
41867         * math/libm-test.inc: Remove comment about not testing "inexact"
41868         exceptions.
41869         (INEXACT_EXCEPTION): New macro.
41870         (NO_INEXACT_EXCEPTION): Likewise.
41871         (INVALID_EXCEPTION_OK): Update value.
41872         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
41873         (OVERFLOW_EXCEPTION_OK): Likewise.
41874         (UNDERFLOW_EXCEPTION_OK): Likewise.
41875         (IGNORE_ZERO_INF_SIGN): Likewise.
41876         (ERRNO_UNCHANGED): Likewise.
41877         (ERRNO_EDOM): Likewise.
41878         (ERRNO_ERANGE): Likewise.
41879         (test_exceptions): Handle testing "inexact" exceptions.
41880         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
41881         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
41882         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
41883         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
41884         INEXACT_EXCEPTION.
41885         (rint_towardzero_test_data): Likewise.
41886         (rint_downward_test_data): Likewise.
41887         (rint_upward_test_data): Likewise.
41889         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
41890         with OVERFLOW_EXCEPTION.
41891         (exp10_test_data): Likewise.
41892         (exp2_test_data): Likewise.
41893         (expm1_test_data): Likewise.
41894         (lgamma_test_data): Likewise.
41895         (pow_test_data): Likewise.
41896         (tgamma_test_data): Likewise.
41897         (yn_test_data): Remove duplicate test of overflow.
41899         * math/libm-test.inc (struct test_cc_c_data): New type.
41900         (RUN_TEST_LOOP_cc_c): New macro.
41901         (cpow_test_data): New variable.
41902         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
41904         * math/libm-test.inc (struct test_f_L_data): New type.
41905         (RUN_TEST_LOOP_f_L): New macro.
41906         (llrint_test_data): New variable.
41907         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
41908         (llrint_tonearest_test_data): New variable.
41909         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
41910         (llrint_towardzero_test_data): New variable.
41911         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
41912         (llrint_downward_test_data): New variable.
41913         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
41914         (llrint_upward_test_data): New variable.
41915         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
41916         (llround_test_data): New variable.
41917         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
41919 2013-05-13  Peter Collingbourne  <pcc@google.com>
41921         * math/atest-exp2.c (get_log2): Remove const attribute.
41923 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
41925         * math/libm-test.inc (struct test_f_l_data): New type.
41926         (RUN_TEST_LOOP_f_l): New macro.
41927         (lrint_test_data): New variable.
41928         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
41929         (lrint_tonearest_test_data): New variable.
41930         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
41931         (lrint_towardzero_test_data): New variable.
41932         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
41933         (lrint_downward_test_data): New variable.
41934         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
41935         (lrint_upward_test_data): New variable.
41936         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
41937         (lround_test_data): New variable.
41938         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
41940 2013-05-15  Peter Collingbourne  <pcc@google.com>
41942         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
41943         (EXTRACT_WORDS64) Use where appropriate.
41944         (INSERT_WORDS64) Likewise.
41946         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
41947         constraints with x constraints.
41948         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
41950         * malloc/obstack.c (_obstack_compat): Add initializer.
41952 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
41954         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
41955         si_trapno and add si_addr_lsb to _sifields.sigfault.
41956         (si_trapno): Remove macro.
41957         (si_addr_lsb): Define new macro.
41958         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
41960 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
41962         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
41963         instead of TEST_f_l.
41964         (llrint_test_tonearest): Likewise.
41965         (llrint_test_towardzero): Likewise.
41966         (llrint_test_downward): Likewise.
41967         (llrint_test_upward): Likewise.
41968         (llround_test): Likewise.
41970         * math/libm-test.inc (struct test_f_i_data): Add comment.
41971         (RUN_TEST_LOOP_f_b): New macro.
41972         (RUN_TEST_LOOP_f_b_tg): Likewise.
41973         (finite_test_data): New variable.
41974         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
41975         (isfinite_test_data): New variable.
41976         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
41977         (isinf_test_data): New variable.
41978         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
41979         (isnan_test_data): New variable.
41980         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
41981         (isnormal_test_data): New variable.
41982         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
41983         (issignaling_test_data): New variable.
41984         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
41985         (signbit_test_data): New variable.
41986         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
41988         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
41989         with INVALID_EXCEPTION.
41990         (acosh_test_data): Likewise.
41991         (asin_test_data): Likewise.
41992         (atanh_test_data): Likewise.
41993         (fmod_test_data): Likewise.
41994         (log_test_data): Likewise.
41995         (log10_test_data): Likewise.
41996         (log2_test_data): Likewise.
41997         (pow_test_data): Likewise.
41998         (sqrt_test_data): Likewise.
41999         (y0_test_data): Likewise.
42000         (y1_test_data): Likewise.
42001         (yn_test_data): Likewise.
42003         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
42004         function contents.
42006         * math/libm-test.inc (struct test_ff_i_data): New type.
42007         (RUN_TEST_LOOP_ff_i_tg): New macro.
42008         (isgreater_test_data): New variable.
42009         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
42010         (isgreaterequal_test_data): New variable.
42011         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
42012         (isless_test_data): New variable.
42013         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
42014         (islessequal_test_data): New variable.
42015         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
42016         (islessgreater_test_data): New variable.
42017         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
42018         (isunordered_test_data): New variable.
42019         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
42021 2013-05-14  David S. Miller  <davem@davemloft.net>
42023         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42025 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
42027         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
42029         * math/libm-test.inc (struct test_fF_f1_data): Change type of
42030         extra_test to int.
42031         (struct test_f_i_data): Change type of max_ulp to int.
42033         * math/libm-test.inc (test_ffI_f1_data): New type.
42034         (RUN_TEST_LOOP_ffI_f1): New macro.
42035         (remquo_test_data): New variable.
42036         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
42038         * setjmp/tst-setjmp-fp.c: New file.
42039         * setjmp/Makefile (tests): Add tst-setjmp-fp.
42040         (link-libm): New variable.
42041         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
42043         * math/libm-test.inc (struct test_f_i_data): New type.
42044         (RUN_TEST_LOOP_f_i): New macro.
42045         (RUN_TEST_LOOP_f_i_tg): Likewise.
42046         (fpclassify_test_data): New variable.
42047         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
42048         (ilogb_test_data): New variable.
42049         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
42051         * math/libm-test.inc (scalbln_test): Correct function name in END
42052         call.
42054         * math/libm-test.inc (struct test_f_f1_data): Add comment.
42055         (RUN_TEST_LOOP_fI_f1): New macro.
42056         (frexp_test_data): New variable.
42057         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
42059         * math/libm-test.inc (struct test_fF_f1_data): New type.
42060         (RUN_TEST_LOOP_fF_f1): New macro.
42061         (modf_test_data): New variable.
42062         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
42064         * math/libm-test.inc (struct test_f_f1_data): New type.
42065         (RUN_TEST_LOOP_f_f1): New macro.
42066         (gamma_test_data): New variable.
42067         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
42068         (lgamma_test_data): New variable.
42069         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
42071 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
42073         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
42074         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
42075         (main): Comment "tls" pseudo-hwcap.
42077 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
42079         * math/libm-test.inc (struct test_fl_f_data): New type.
42080         (RUN_TEST_LOOP_fl_f): New variable.
42081         (scalbln_test_data): New variable.
42082         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
42084         * math/libm-test.inc (struct test_fi_f_data): New type.
42085         (RUN_TEST_LOOP_fi_f): New macro.
42086         (ldexp_test_data): New variable.
42087         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
42088         (scalbn_test_data): New variable.
42089         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
42091         * math/libm-test.inc (struct test_c_f_data): New type.
42092         (RUN_TEST_LOOP_c_f): New macro.
42093         (cabs_test_data): New variable.
42094         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
42095         (carg_test_data): New variable.
42096         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
42097         (cimag_test_data): New variable.
42098         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
42099         (creal_test_data): New variable.
42100         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
42102         * math/libm-test.inc (struct test_if_f_data): New type.
42103         (RUN_TEST_LOOP_if_f): New macro.
42104         (jn_test_data): New variable.
42105         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
42106         (yn_test_data): New variable.
42107         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
42109         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
42111 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42113         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
42114         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
42116 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
42118         * benchtests/Makefile (CPPFLAGS-nonlib): Add
42119         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
42120         (bench-deps): Add bench-timing.h.
42121         * benchtests-bench-skeleton.c: Include bench-timing.h.
42122         (main): Use TIMING_* macros instead of clock_gettime.
42123         * benchtests/bench-timing.h: New file.
42125         [BZ #14582]
42126         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
42127         Renamed from _LIB_VERSION.
42128         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
42130 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
42132         * math/libm-test.inc (struct test_fff_f_data): New type.
42133         (RUN_TEST_LOOP_fff_f): New macro.
42134         (fma_test_data): New variable.
42135         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
42136         (fma_towardzero_test_data): New variable.
42137         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
42138         (fma_downward_test_data): New variable.
42139         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
42140         (fma_upward_test_data): New variable.
42141         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
42143         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
42144         (struct test_c_c_data): New type.
42145         (RUN_TEST_LOOP_c_c): New macro.
42146         (cacos_test_data): New variable.
42147         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
42148         (cacosh_test_data): New variable.
42149         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
42150         (casin_test_data): New variable.
42151         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
42152         (casinh_test_data): New variable.
42153         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
42154         (catan_test_data): New variable.
42155         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
42156         (catanh_test_data): New variable.
42157         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
42158         (ccos_test_data): New variable.
42159         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
42160         (ccosh_test_data): New variable.
42161         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
42162         (cexp_test_data): New variable.
42163         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
42164         (clog_test_data): New variable.
42165         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
42166         (clog10_test_data): New variable.
42167         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
42168         (conj_test_data): New variable.
42169         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
42170         (cproj_test_data): New variable.
42171         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
42172         (csin_test_data): New variable.
42173         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
42174         (csinh_test_data): New variable.
42175         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
42176         (csqrt_test_data): New variable.
42177         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
42178         (ctan_test_data): New variable.
42179         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
42180         (ctan_tonearest_test_data): New variable.
42181         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
42182         (ctan_towardzero_test_data): New variable.
42183         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
42184         (ctan_downward_test_data): New variable.
42185         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
42186         (ctan_upward_test_data): New variable.
42187         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
42188         (ctanh_test_data): New variable.
42189         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
42190         (ctanh_tonearest_test_data): New variable.
42191         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
42192         (ctanh_towardzero_test_data): New variable.
42193         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
42194         (ctanh_downward_test_data): New variable.
42195         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
42196         (ctanh_upward_test_data): New variable.
42197         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
42198         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
42199         of BUILD_COMPLEX.
42201         * math/libm-test.inc (struct test_ff_f_data): New type.
42202         (struct test_ff_f_data_nexttoward): Likewise.
42203         (RUN_TEST_LOOP_2_f): New macro.
42204         (RUN_TEST_LOOP_ff_f): Likewise.
42205         (atan2_test_data): New variable.
42206         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
42207         (copysign_test_data): New variable.
42208         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
42209         (fdim_test_data): New variable.
42210         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
42211         (fmax_test_data): New variable.
42212         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
42213         (fmin_test_data): New variable.
42214         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
42215         (fmod_test_data): New variable.
42216         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
42217         (hypot_test_data): New variable.
42218         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
42219         (nextafter_test_data): New variable.
42220         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
42221         (nexttoward_test_data): New variable.
42222         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
42223         (pow_test_data): New variable.
42224         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
42225         (pow_tonearest_test_data): New variable.
42226         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
42227         (pow_towardzero_test_data): New variable.
42228         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
42229         (pow_downward_test_data): New variable.
42230         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
42231         (pow_upward_test_data): New variable.
42232         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
42233         (remainder_test_data): New variable.
42234         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
42235         (scalb_test_data): New variable.
42236         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
42237         * sysdeps/i386/fpu/libm-test-ulps: Update.
42239 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
42241         * math/libm-test.inc (fma_test): Use max_value instead of local
42242         variable fltmax.
42243         (nextafter_test): Likewise.
42245         * math/libm-test.inc (acos_towardzero_test_data): New variable.
42246         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
42247         (acos_downward_test_data): New variable.
42248         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
42249         (acos_upward_test_data): New variable.
42250         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
42251         (acosh_test_data): New variable.
42252         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
42253         (asin_test_data): New variable.
42254         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
42255         (asin_tonearest_test_data): New variable.
42256         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
42257         (asin_towardzero_test_data): New variable.
42258         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
42259         (asin_downward_test_data): New variable.
42260         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
42261         (asin_upward_test_data): New variable.
42262         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
42263         (asinh_test_data): New variable.
42264         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
42265         (atan_test_data): New variable.
42266         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
42267         (atanh_test_data): New variable.
42268         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
42269         (cbrt_test_data): New variable.
42270         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
42271         (ceil_test_data): New variable.
42272         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
42273         (cos_test_data): New variable.
42274         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
42275         (cos_tonearest_test_data): New variable.
42276         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
42277         (cos_towardzero_test_data): New variable.
42278         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
42279         (cos_downward_test_data): New variable.
42280         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
42281         (cos_upward_test_data): New variable.
42282         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
42283         (cosh_test_data): New variable.
42284         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
42285         (cosh_tonearest_test_data): New variable.
42286         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
42287         (cosh_towardzero_test_data): New variable.
42288         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
42289         (cosh_downward_test_data): New variable.
42290         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
42291         (cosh_upward_test_data): New variable.
42292         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
42293         (erf_test_data): New variable.
42294         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
42295         (erfc_test_data): New variable.
42296         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
42297         (exp_test_data): New variable.
42298         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
42299         (exp_tonearest_test_data): New variable.
42300         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
42301         (exp_towardzero_test_data): New variable.
42302         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
42303         (exp_downward_test_data): New variable.
42304         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
42305         (exp_upward_test_data): New variable.
42306         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
42307         (exp10_test_data): New variable.
42308         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
42309         (exp2_test_data): New variable.
42310         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
42311         (expm1_test_data): New variable.
42312         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
42313         (fabs_test_data): New variable.
42314         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
42315         (floor_test_data): New variable.
42316         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
42317         (j0_test_data): New variable.
42318         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
42319         (j1_test_data): New variable.
42320         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
42321         (log_test_data): New variable.
42322         (log_test): Run tests with RUN_TEST_LOOP_f_f.
42323         (log10_test_data): New variable.
42324         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
42325         (log1p_test_data): New variable.
42326         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
42327         (log2_test_data): New variable.
42328         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
42329         (logb_test_data): New variable.
42330         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
42331         (logb_downward_test_data): New variable.
42332         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
42333         (nearbyint_test_data): New variable.
42334         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
42335         (rint_test_data): New variable.
42336         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
42337         (rint_tonearest_test_data): New variable.
42338         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
42339         (rint_towardzero_test_data): New variable.
42340         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
42341         (rint_downward_test_data): New variable.
42342         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
42343         (rint_upward_test_data): New variable.
42344         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
42345         (round_test_data): New variable.
42346         (round_test): Run tests with RUN_TEST_LOOP_f_f.
42347         (sin_test_data): New variable.
42348         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
42349         (sin_tonearest_test_data): New variable.
42350         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
42351         (sin_towardzero_test_data): New variable.
42352         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
42353         (sin_downward_test_data): New variable.
42354         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
42355         (sin_upward_test_data): New variable.
42356         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
42357         (sinh_test_data): New variable.
42358         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
42359         (sinh_tonearest_test_data): New variable.
42360         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
42361         (sinh_towardzero_test_data): New variable.
42362         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
42363         (sinh_downward_test_data): New variable.
42364         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
42365         (sinh_upward_test_data): New variable.
42366         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
42367         (sqrt_test_data): New variable.
42368         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
42369         (tan_test_data): New variable.
42370         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
42371         (tan_tonearest_test_data): New variable.
42372         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
42373         (tan_towardzero_test_data): New variable.
42374         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
42375         (tan_downward_test_data): New variable.
42376         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
42377         (tan_upward_test_data): New variable.
42378         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
42379         (tanh_test_data): New variable.
42380         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
42381         (tgamma_test_data): New variable.
42382         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
42383         (trunc_test_data): New variable.
42384         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
42385         (y0_test_data): New variable.
42386         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
42387         (y1_test_data): New variable.
42388         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
42389         (significand_test_data): New variable.
42390         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
42392 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
42394         [BZ #12387]
42395         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
42397 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
42399         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
42401 2013-05-10  Andreas Jaeger  <aj@suse.de>
42403         [BZ #15448]
42404         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
42405         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
42407 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
42409         * math/gen-libm-test.pl (adjust_arg): New function.
42410         (special_functions): Handle generating output in both functions
42411         and arrays.
42412         (parse_args): Likewise.
42413         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
42414         $in_func argument to parse_args.
42415         * math/libm-test.inc (struct test_f_f_data): New type.
42416         (IF_ROUND_INIT_): New macro.
42417         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
42418         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
42419         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
42420         (IF_ROUND_INIT_FE_UPWARD): Likewise.
42421         (ROUND_RESTORE_): Likewise.
42422         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
42423         (ROUND_RESTORE_FE_TONEAREST): Likewise.
42424         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
42425         (ROUND_RESTORE_FE_UPWARD): Likewise.
42426         (RUN_TEST_LOOP_f_f): New macro.
42427         (acos_test_data): New variable.
42428         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
42429         (acos_tonearest_test_data): New variable.
42430         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
42432 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
42434         * benchtests/bench-skeleton.c (startup): Fix coding style.
42436 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
42438         [BZ #6809]
42439         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
42440         negative infinity argument.
42441         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
42442         negative infinity argument.
42443         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
42444         negative infinity argument.
42445         * math/libm-test.inc (tgamma_test): Expect errno to be set for
42446         domain errors.
42448 2013-05-10  Florian Weimer  <fweimer@redhat.com>
42450         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
42451         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
42452         * iconv/iconv_prog.c (main): Likewise.
42453         * locale/programs/charmap-dir.c (charmap_readdir)
42454         (fopen_uncompressed): Likewise.
42455         * locale/programs/locfile.c (siblings_uncached)
42456         (write_locale_data): Use lstat64 instead of lstat.
42457         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
42458         stat.
42460 2013-05-10  Andreas Jaeger  <aj@suse.de>
42462         [BZ #15395]
42463         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
42464         localization.
42465         Include <locale.h>.
42467 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
42469         * elf/dl-close.c (_dl_close_worker): Add comments.
42471 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
42473         [BZ #15359]
42474         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
42475         high part of pi/2.
42476         (__ieee754_rem_pio2l): Update comments.
42478         [BZ #15429]
42479         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
42480         high part of pi/2.
42481         (__ieee754_rem_pio2l): Update comments.
42483         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
42484         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
42486         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
42487         M_PI_4l.
42489         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
42490         (M_PI_34_LOG10El): Likewise.
42491         (M_PI2_LOG10El): Likewise.
42492         (M_PI4_LOG10El): Likewise.
42493         (M_PI_LOG10El): Likewise.
42495 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42497         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42499 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
42501         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
42502         (MINUS_ZERO_INIT): Likewise.
42503         (PLUS_INFTY_INIT): Likewise.
42504         (MINUS_INFTY_INIT): Likewise.
42505         (QNAN_VALUE_INIT): Likewise.
42506         (MAX_VALUE_INIT): Likewise.
42507         (MIN_VALUE_INIT): Likewise.
42508         (MIN_SUBNORM_VALUE_INIT): Likewise.
42509         (plus_zero): Initialize with PLUS_ZERO_INIT.
42510         (minus_zero): Initialize with MINUS_ZERO_INIT.
42511         (plus_infty): Initialize with PLUS_INFTY_INIT.
42512         (minus_infty): Initialize with MINUS_INFTY_INIT.
42513         (qnan_value): Initialize with QNAN_VALUE_INIT.
42514         (max_value): Initialize with MAX_VALUE_INIT.
42515         (min_value): Initialize with MIN_VALUE_INIT.
42516         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
42518         * math/libm-test.inc (RUN_TEST_if_f): New macro.
42519         (jn_test): Use TEST_if_f instead of TEST_ff_f.
42520         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
42521         (yn_test): Use TEST_if_f instead of TEST_ff_f.
42523         * math/libm-test.inc (RUN_TEST_f_f): New macro.
42524         (RUN_TEST_2_f): Likewise.
42525         (RUN_TEST_ff_f): Likewise.
42526         (RUN_TEST_fi_f): Likewise.
42527         (RUN_TEST_fl_f): Likewise.
42528         (RUN_TEST_fff_f): Likewise.
42529         (RUN_TEST_c_f): Likewise.
42530         (RUN_TEST_f_f1): Likewise.
42531         (RUN_TEST_fF_f1): Likewise.
42532         (RUN_TEST_fI_f1): Likewise.
42533         (RUN_TEST_ffI_f1): Likewise.
42534         (RUN_TEST_c_c): Likewise.
42535         (RUN_TEST_cc_c): Likewise.
42536         (RUN_TEST_f_i): Likewise.
42537         (RUN_TEST_f_i_tg): Likewise.
42538         (RUN_TEST_ff_i_tg): Likewise.
42539         (RUN_TEST_f_b): Likewise.
42540         (RUN_TEST_f_b_tg): Likewise.
42541         (RUN_TEST_f_l): Likewise.
42542         (RUN_TEST_f_L): Likewise.
42543         (RUN_TEST_sincos): Likewise.
42544         * math/gen-libm-test.pl (new_test): Take new argument to indicate
42545         whether to show exceptions.  Do not include ");\n" in return
42546         value.
42547         (special_functions): Output call to RUN_TEST_sincos instead of
42548         check_float calls.  Update calls to new_test.
42549         (parse_args): Output call to single RUN_TEST_* macro instead of
42550         check_* calls and other assignments.  Update calls to new_test.
42552         [BZ #2546]
42553         [BZ #2560]
42554         [BZ #5159]
42555         [BZ #15426]
42556         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
42557         input to result for tgamma overflow.
42558         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
42559         (gamma_coeff): New variable.
42560         (NCOEFF): New macro.
42561         (gamma_positive): New function.
42562         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
42563         underflow here.  Use gamma_positive instead of exp (lgamma) for
42564         other arguments.
42565         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
42566         (gamma_coeff): New variable.
42567         (NCOEFF): New macro.
42568         (gammaf_positive): New function.
42569         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
42570         underflow here.  Use gamma_positive instead of exp (lgamma) for
42571         other arguments.
42572         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
42573         (gamma_coeff): New variable.
42574         (NCOEFF): New macro.
42575         (gammal_positive): New function.
42576         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
42577         underflow here.  Use gamma_positive instead of exp (lgamma) for
42578         other arguments.
42579         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
42580         (gamma_coeff): New variable.
42581         (NCOEFF): New macro.
42582         (gammal_positive): New function.
42583         (__ieee754_gammal_r): Handle positive infinity, overflow and
42584         underflow here.  Handle NaN the same as positive infinity.  Remove
42585         check x < 0xffffffff for negative integers.  Use gamma_positive
42586         instead of exp (lgamma) for other arguments.
42587         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
42588         (gamma_coeff): New variable.
42589         (NCOEFF): New macro.
42590         (gammal_positive): New function.
42591         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
42592         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
42593         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
42594         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
42595         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
42596         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
42597         * sysdeps/generic/math_private.h (__gamma_productf): New
42598         prototype.
42599         (__gamma_product): Likewise.
42600         (__gamma_productl): Likewise.
42601         * math/Makefile (libm-calls): Add gamma_product.
42602         * math/libm-test.inc (tgamma_test): Add more tests.
42603         * sysdeps/i386/fpu/libm-test-ulps: Update.
42604         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42606 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
42608         * benchtests/bench-skeleton.c (main): Preheat CPU.
42610 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
42612         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
42614 2013-05-07  Roland McGrath  <roland@hack.frob.com>
42616         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
42617         and _dl_skip_args_internal.
42619 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
42621         * manual/message.texi (Message Translation): Talk about users.
42622         Message to key mapping impacts design.
42624 2013-05-06  Roland McGrath  <roland@hack.frob.com>
42626         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
42628         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
42630         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
42631         * sysdeps/wordsize-64/glob64.c: ... here.
42633         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
42634         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
42635         New macros.
42637         * debug/getlogin_r_chk.c: Moved to ...
42638         * login/getlogin_r_chk.c: ... here.
42639         * debug/Makefile (routines): Move getlogin_r_chk to ...
42640         * login/Makefile (routines): ... here.
42641         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
42642         * login/Versions (libc: GLIBC_2.4): ... here.
42644         * io/poll.c (__poll): Renamed from poll.
42645         Add libc_hidden_def.
42646         (poll): Define as weak alias.
42648         * debug/ptsname_r_chk.c: Moved to ...
42649         * login/ptsname_r_chk.c: ... here.
42650         * debug/Makefile (routines): Move ptsname_r_chk to ...
42651         * login/Makefile (routines): ... here.
42652         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
42653         * login/Versions (libc: GLIBC_2.4): ... here.
42655         * posix/getlogin.c: Moved to ...
42656         * login/getlogin.c: ... here.
42657         * posix/getlogin_r.c: Moved to ...
42658         * login/getlogin_r.c: ... here.
42659         * posix/getlogin_r.c: Moved to ...
42660         * login/getlogin_r.c: ... here.
42661         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
42662         * login/Makefile (routines): ... here.
42663         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
42664         * login/Versions (libc: GLIBC_2.0): ... here.
42666         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
42667         (setrlimit): Define as weak alias.
42669         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
42670         Call __ names for open, ftruncate, and close.
42671         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
42672         (truncate): Define as weak alias.
42674 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
42676         * math/gen-libm-test.pl (parse_args): Initialize x before each
42677         test of frexp, modf and remquo.
42679         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
42680         test signgam value.
42682 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42684         [BZ #15418]
42685         [BZ #15419]
42686         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
42687         internal tests.
42688         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
42690 2013-05-06  Roland McGrath  <roland@hack.frob.com>
42692         * elf/dl-writev.h: New file.
42693         * elf/dl-misc.c: Include it.
42694         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
42695         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
42697 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
42699         * math/libm-test.inc (noXFails): Remove variable.
42700         (noXPasses): Likewise.
42701         (BUILD_COMPLEX_INT): Remove macro.
42702         (print_screen): Remove xfail argument.
42703         (print_screen_max_error): Likewise.
42704         (update_stats): Likewise.
42705         (print_max_error): Likewise.  Update calls to other affected
42706         functions.
42707         (print_complex_max_error): Likewise.
42708         (test_single_exception): Update calls to print_screen.
42709         (test_single_errno): Likewise.
42710         (check_float_internal): Remove xfail argument.  Update calls to
42711         other affected functions.
42712         (check_float): Likewise.
42713         (check_complex): Likewise.
42714         (check_int): Likewise.
42715         (check_long): Likewise.
42716         (check_bool): Likewise.
42717         (check_longlong): Likewise.
42718         (main): Don't print noXFails and noXPasses.
42719         * math/gen-libm-test.pl (top level): Don't mention expected
42720         failure handling in comment.
42721         (new_test): Don't handle expected failures.
42722         (parse_args): Don't mention expected failure handling in comment.
42723         (generate_testfile): Don't handle expected failures.
42724         (parse_ulps): Likewise.
42725         (print_ulps_file): Likewise.
42726         (get_failure): Remove function.
42727         (output_test): Don't handle expected failures.
42728         * make/README.libm-test: Don't mention expected failure handling.
42730         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
42731         (minus_zero): Likewise.
42732         (plus_infty): Likewise.
42733         (minus_infty): Likewise.
42734         (qnan_value): Likewise.
42735         (max_value): Likewise.
42736         (min_value): Likewise.
42737         (min_subnorm_value): Likewise.
42738         (initialize): Do not initialize those variables dynamically.
42740 2013-05-03  Roland McGrath  <roland@hack.frob.com>
42742         * io/open.c (__open_2): Moved to ...
42743         * io/open_2.c: ... this new file.
42744         * io/open64.c (__open64_2): Moved to ...
42745         * io/open64_2.c: ... this new file.
42746         * io/openat.c (__openat_2): Moved to ...
42747         * io/openat_2.c: ... this new file.
42748         * io/openat64.c (__openat64_2): Moved to ...
42749         * io/openat64_2.c: ... this new file.
42750         * io/Makefile (routines): Add them.
42751         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
42752         * sysdeps/unix/sysv/linux/open_2.c: File removed.
42753         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
42754         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
42755         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
42756         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
42757         (__openat64): Add hidden_ver.
42758         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
42759         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
42761         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
42762         Separately conditionalize setting of GLRO(dl_sysinfo) so
42763         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
42764         as well, but the actual setting is only under [NEED_DL_SYSINFO].
42766 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42768         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
42769         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
42770         definition.
42771         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
42772         * sysdeps/unix/sysv/linux/powerpc/init-first.c
42773         (_libc_vdso_platform_setup): Add __vdso_time initialization.
42774         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
42775         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
42777 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
42779         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
42780         test signgam value.
42782         * math/libm-test.inc (hypot_test): Do not use
42783         IGNORE_ZERO_INF_SIGN.
42785 2013-05-03  Andreas Jaeger  <aj@suse.de>
42787         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
42788         Linux 3.9.
42789         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
42790         (PF_MAX): Adjust for VSOCK change.
42792 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42794         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42796 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
42798         [BZ #15264]
42799         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
42800         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
42801         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
42803 2013-05-02  David S. Miller  <davem@davemloft.net>
42805         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42807 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
42809         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
42811 2013-05-01  Roland McGrath  <roland@hack.frob.com>
42813         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
42815 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
42817         [BZ #14952]
42818         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
42819         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
42820         Use __attribute__ ((__gnu_inline__)).
42821         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
42822         Don't use __attribute__ ((__gnu_inline__)).
42824 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
42826         [BZ #15423]
42827         * math/s_catan.c (__catan): Handle small real or imaginary part of
42828         input specially to avoid spurious underflow.
42829         * math/s_catanf.c (__catanf): Likewise.
42830         * math/s_catanh.c (__catanh): Likewise.
42831         * math/s_catanhf.c (__catanhf): Likewise.
42832         * math/s_catanhl.c (__catanhl): Likewise.
42833         * math/s_catanl.c (__catanl): Likewise.
42834         * math/libm-test.inc (catan_test): Add more tests.
42835         (catanh_test): Likewise.
42836         * sysdeps/i386/fpu/libm-test-ulps: Update.
42837         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42839 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42841         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42843 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
42845         [BZ #15416]
42846         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
42847         accurately for denominator in atan2.
42848         * math/s_catanf.c (__catanf): Likewise.
42849         * math/s_catanh.c (__catanh): Likewise.
42850         * math/s_catanhf.c (__catanhf): Likewise.
42851         * math/s_catanhl.c (__catanhl): Likewise.
42852         * math/s_catanl.c (__catanl): Likewise.
42853         * math/libm-test.inc (catan_test): Add more tests.
42854         (catanh_test): Likewise.
42855         * sysdeps/i386/fpu/libm-test-ulps: Update.
42856         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42858 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
42860         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
42862         * benchtests/Makefile (bench): Remove slow benchmarks.
42863         * benchtests/atan-inputs: Add slow benchmark inputs.
42864         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
42865         (BENCH_FUNC): Accept variant offset.
42866         (VARIANT): Define.
42867         * benchtests/bench-skeleton.c (main): Run benchmark for each
42868         variant.
42869         * benchtests/cos-inputs: Add slow benchmark inputs.
42870         * benchtests/exp-inputs: Likewise.
42871         * benchtests/pow-inputs: Likewise.
42872         * benchtests/sin-inputs: Likewise.
42873         * benchtests/slowatan-inputs: Remove.
42874         * benchtests/slowatan.c: Remove.
42875         * benchtests/slowcos-inputs: Remove.
42876         * benchtests/slowcos.c: Remove.
42877         * benchtests/slowexp-inputs: Remove.
42878         * benchtests/slowexp.c: Remove.
42879         * benchtests/slowpow-inputs: Remove.
42880         * benchtests/slowpow.c: Remove.
42881         * benchtests/slowsin-inputs: Remove.
42882         * benchtests/slowsin.c: Remove.
42883         * benchtests/slowtan-inputs: Remove.
42884         * benchtests/slowtan.c: Remove.
42885         * benchtests/tan-inputs: Add slow benchmark inputs.
42886         * scripts/bench.pl: Parse comments and directives.
42888         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
42889         in CPPFLAGS.
42890         ($(objpfx)bench-%.c): Remove *-ITER.
42891         * benchtests/bench-modf.c: Remove definition of ITER.
42892         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
42893         (main): Loop for DURATION seconds instead of fixed number of
42894         iterations.
42895         * scripts/bench.pl: Don't expect iterations in parameters.
42897 2013-04-29  Roland McGrath  <roland@hack.frob.com>
42899         * io/fchdir.c (__fchdir): Renamed from fchdir.
42900         (fchdir): Define as weak alias.
42902 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
42904         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
42905         (ERRNO_EDOM): Likewise.
42906         (ERRNO_ERANGE): Likewise.
42907         (noErrnoTests): New variable.
42908         (init_max_error): Set errno to 0.
42909         (test_single_errno): New function.
42910         (test_errno): Likewise.
42911         (check_float_internal): Call test_errno.  Set errno to 0.
42912         (check_complex): Refer to errno tests in comment.
42913         (check_int): Call test_errno.  Set errno to 0.
42914         (check_long): Likewise.
42915         (check_bool): Likewise.
42916         (check_longlong): Likewise.
42917         (cos_test): Use ERRNO_* flags for errno tests instead of
42918         check_int.
42919         (expm1_test): Likewise.
42920         (fmod_test): Likewise.
42921         (ilogb_test): Likewise.
42922         (lgamma_test): Likewise.
42923         (pow_test): Likewise.
42924         (remainder_test): Likewise.
42925         (sin_test): Likewise.
42926         (tan_test): Likewise.
42927         (yn_test): Likewise.
42928         (initialize): Set errno to 0.
42929         (main): Print number of errno tests.
42930         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
42932 2013-04-29  Andreas Jaeger  <aj@suse.de>
42934         [BZ #15084]
42935         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
42936         and RES_USEVC.
42938         [BZ #15085]
42939         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
42940         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
42941         unimplemented.
42943         [BZ #15380]
42944         * stdlib/random.c (__initstate): Return NULL if
42945         __initstate fails.
42947         [BZ #15086]
42948         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
42949         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
42950         RES_SNGLKUPREOP.
42952 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42954         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42956 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
42958         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
42959         of individual tests.
42960         (casin_test): Likewise.
42961         (casinh_test): Likewise.
42963 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
42965         [BZ #15409]
42966         * math/s_catan.c (__catan): Handle arguments with large real or
42967         imaginary part separately without squaring.
42968         * math/s_catanf.c (__catanf): Likewise.
42969         * math/s_catanh.c (__catanh): Likewise.
42970         * math/s_catanhf.c (__catanhf): Likewise.
42971         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
42972         and redefine.
42973         (__catanhl): Handle arguments with large real or imaginary part
42974         separately without squaring.
42975         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
42976         and redefine.
42977         (__catanl): Handle arguments with large real or imaginary part
42978         separately without squaring.
42979         * math/libm-test.inc (catan_test): Add more tests.
42980         (catanh_test): Likewise.
42981         * sysdeps/i386/fpu/libm-test-ulps: Update.
42982         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42984 2013-04-27  Andreas Jaeger  <aj@suse.de>
42986         [BZ #15007]
42987         * stdlib/stdlib.h: Update guards for qecvt.
42988         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
42989         <stdlib.h>.
42991 2013-04-27  Allan McRae  <allan@archlinux.org>
42993         * sysdeps/i386/fpu/libm-test-ulps: Update.
42995 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
42997         [BZ #15406]
42998         * math/s_catan.c: Include <float.h>.
42999         (__catan): Ensure underflow exception occurs for underflowed
43000         result.
43001         * math/s_catanf.c: Include <float.h>.
43002         (__catanf): Ensure underflow exception occurs for underflowed
43003         result.
43004         * math/s_catanh.c: Include <float.h>.
43005         (__catanh): Ensure underflow exception occurs for underflowed
43006         result.
43007         * math/s_catanhf.c: Include <float.h>.
43008         (__catanhf): Ensure underflow exception occurs for underflowed
43009         result.
43010         * math/s_catanhl.c: Include <float.h>.
43011         (__catanhl): Ensure underflow exception occurs for underflowed
43012         result.
43013         * math/s_catanl.c: Include <float.h>.
43014         (__catanl): Ensure underflow exception occurs for underflowed
43015         result.
43016         * math/libm-test.inc (catan_test): Add more tests.
43017         (catanh_test): Likewise.
43019         [BZ #15405]
43020         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
43021         underflowed result.
43022         * math/s_ccoshf.c (__ccoshf): Likewise.
43023         * math/s_ccoshl.c (__ccoshl): Likewise.
43024         * math/s_csin.c (__csin): Likewise.
43025         * math/s_csinf.c (__csinf): Likewise.
43026         * math/s_csinh.c (__csinh): Likewise.
43027         * math/s_csinhf.c (__csinhf): Likewise.
43028         * math/s_csinhl.c (__csinhl): Likewise.
43029         * math/s_csinl.c (__csinl): Likewise.
43030         * math/libm-test.inc (ccos_test): Add more tests.
43031         (ccosh_test): Likewise.
43032         (csin_test): Likewise.
43033         (csinh_test): Likewise.
43035 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43037         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
43038         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
43039         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
43040         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
43041         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
43042         powerpc/power5+/fpu folders.
43043         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
43046 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
43048         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43050 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
43052         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
43053         additions to variable.
43054         [$(config-machine) = x86_64] (modules-names): Likewise.
43055         ($(objpfx)tst-audit3): Remove dependency.
43056         ($(objpfx)tst-audit3.out): Likewise.
43057         ($(objpfx)tst-audit4): Likewise.
43058         ($(objpfx)tst-audit4.out): Likewise.
43059         ($(objpfx)tst-audit5): Likewise.
43060         ($(objpfx)tst-audit5.out): Likewise.
43061         ($(objpfx)tst-audit6): Likewise.
43062         ($(objpfx)tst-audit6.out): Likewise.
43063         ($(objpfx)tst-audit7): Likewise.
43064         ($(objpfx)tst-audit7.out): Likewise.
43065         (tst-audit3-ENV): Remove variable.
43066         (tst-audit4-ENV): Likewise.
43067         (tst-audit5-ENV): Likewise.
43068         (tst-audit6-ENV): Likewise.
43069         (tst-audit7-ENV): Likewise.
43070         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
43071         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
43072         addition to variable.
43073         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
43074         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
43075         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
43076         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
43077         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
43078         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
43079         tst-audit3, tst-audit4 and tst-audit5.
43080         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
43081         tst-audit6 and tst-audit7.
43082         [$(subdir) = elf] (modules-names): Add audit modules for those
43083         tests.
43084         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
43085         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
43086         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
43087         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
43088         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
43089         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
43090         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
43091         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
43092         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
43093         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
43094         [$(subdir) = elf] (tst-audit3-ENV): New variable.
43095         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
43096         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
43097         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
43098         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
43099         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
43100         Likewise.
43101         [$(subdir) = elf && $(config-cflags-avx) = yes]
43102         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
43103         [$(subdir) = elf && $(config-cflags-avx) = yes]
43104         (CFLAGS-tst-auditmod4a.c): Likewise.
43105         [$(subdir) = elf && $(config-cflags-avx) = yes]
43106         (CFLAGS-tst-auditmod4b.c): Likewise.
43107         [$(subdir) = elf && $(config-cflags-avx) = yes]
43108         (CFLAGS-tst-auditmod6b.c): Likewise.
43109         [$(subdir) = elf && $(config-cflags-avx) = yes]
43110         (CFLAGS-tst-auditmod6c.c): Likewise.
43111         [$(subdir) = elf && $(config-cflags-avx) = yes]
43112         (CFLAGS-tst-auditmod7b.c): Likewise.
43113         * elf/tst-audit3.c: Move to ...
43114         * sysdeps/x86_64/tst-audit3.c: ... here.
43115         * elf/tst-audit4.c: Move to ...
43116         * sysdeps/x86_64/tst-audit4.c: ... here.
43117         * elf/tst-audit5.c: Move to ...
43118         * sysdeps/x86_64/tst-audit5.c: ... here.
43119         * elf/tst-audit6.c: Move to ...
43120         * sysdeps/x86_64/tst-audit6.c: ... here.
43121         * elf/tst-audit7.c: Move to ...
43122         * sysdeps/x86_64/tst-audit7.c: ... here.
43123         * elf/tst-auditmod3a.c: Move to ...
43124         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
43125         * elf/tst-auditmod3b.c: Move to ...
43126         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
43127         * elf/tst-auditmod4a.c: Move to ...
43128         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
43129         * elf/tst-auditmod4b.c: Move to ...
43130         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
43131         * elf/tst-auditmod5a.c: Move to ...
43132         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
43133         * elf/tst-auditmod5b.c: Move to ...
43134         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
43135         * elf/tst-auditmod6a.c: Move to ...
43136         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
43137         * elf/tst-auditmod6b.c: Move to ...
43138         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
43139         * elf/tst-auditmod6c.c: Move to ...
43140         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
43141         * elf/tst-auditmod7a.c: Move to ...
43142         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
43143         * elf/tst-auditmod7b.c: Move to ...
43144         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
43146 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
43148         [BZ #15366]
43149         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
43150         define unconditionally.
43151         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
43152         define unconditionally.
43153         (INT8_C, INT16_C, etc.): Likewise.
43155 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
43157         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
43158         __ehdr_start with hidden visibility.
43160         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
43162 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
43164         * math/libm-test.inc (cos_test): Use accurate hex constants.
43165         (sincost_test): Likewise.
43167 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
43169         * math/libm-test.inc (catan_test): Add more tests.
43170         (catanh_test): Likewise.
43172         * math/s_catanf.c (__catanf): Use suffixed floating-point
43173         constants.
43174         * math/s_catanhf.c (__catanhf): Likewise.
43175         * math/s_catanhl.c (__catanhl): Likewise.
43176         * math/s_catanl.c (__catanl): Likewise.
43178         [BZ #15394]
43179         * math/s_catan.c (__catan): Calculate imaginary part of result
43180         with log1p not log unless computing log of number close to 0.
43181         * math/s_catanf.c (__catanf): Likewise.
43182         * math/s_catanl.c (__catanl): Likewise.
43183         * math/s_catanh.c (__catanh): Calculate real part of result with
43184         log1p not log unless computing log of number close to 0.
43185         * math/s_catanhf.c (__catanhf): Likewise.
43186         * math/s_catanhl.c (__catanhl): Likewise.
43187         * math/libm-test.inc (catan_test): Add more tests.
43188         (catanh_test): Likewise.
43189         * sysdeps/i386/fpu/libm-test-ulps: Update.
43190         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43192 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
43194         * benchtests/Makefile: Mention files in which fast and slow
43195         paths of math functions are implemented.
43197 2013-04-23  Roland McGrath  <roland@hack.frob.com>
43199         * sysdeps/posix/timespec_get.c: New file.
43201 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43203         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
43204         POWER.
43205         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
43206         for POWER.
43207         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
43208         powerpc/power5/fpu folders.
43209         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
43210         * benchtests/Makefile: Add modf testcase.
43211         * benchtests/bench-modf.c: New file: Benchmark test for mo
43213 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
43215         [BZ #14888]
43216         * time/Makefile (tests): Add tst-strptime-whitespace.
43217         * time/strptime_l.c (get_number): Use ISSPACE.
43218         (__strptime_internal): Likewise.
43219         * time/tst-strptime-whitespace.c: New test case.
43221 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
43223         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
43224         member.
43225         (_nss_files_init): Set it here.
43227 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
43229         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
43230         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
43231         unsigned.
43233 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
43235         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
43237 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
43239         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
43240         size just once.
43242 2013-04-21  David S. Miller  <davem@davemloft.net>
43244         * po/ru.po: Update Russion translation from translation project.
43246 2013-04-17  Adam Conrad  <adconrad@0c3.net>
43248         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
43249         and setfsgid.
43251 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
43253         * configure.in: Remove i386 configure warning. Remove i386 case.
43254         * configure: Regenerate.
43255         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
43256         Add example to error message.
43257         * sysdeps/i386/configure: Regenerate.
43259 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
43261         * benchtests/Makefile (bench): Add cos, tan, slowcos and
43262         slowtan.
43263         * benchtests/cos-inputs: New file.
43264         * benchtests/slowcos-inputs: New file.
43265         * benchtests/slowcos.c: New file.
43266         * benchtests/slowtan-inputs: New file.
43267         * benchtests/slowtan.c: New file.
43268         * benchtests/tan-inputs: New file.
43270 2013-04-16  Roland McGrath  <roland@hack.frob.com>
43272         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
43273         considered kosher.
43275 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
43277         * benchtests/Makefile: Include cppflags-iterator.mk to add
43278         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
43280         * Makefile.in (bench-clean): New target.
43281         * benchtests/Makefile (bench-clean): Likewise.
43283 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
43285         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
43287 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
43289         * stdio-common/tstdiomisc.c: Fix coding-style violation.
43291 2013-04-15  Andreas Schwab  <schwab@suse.de>
43293         * nscd/grpcache.c (cache_addgr): Properly check for short write.
43294         * nscd/initgrcache.c (addinitgroupsX): Likewise.
43295         * nscd/pwdcache.c (cache_addpw): Likewise.
43296         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
43297         more than recsize.
43299 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
43301         * benchtests/Makefile (bench): Write all output to
43302         bench-out.tmp together.
43304 2013-04-15  Andreas Schwab  <schwab@suse.de>
43306         * nscd/nscd.c (main): Don't fork again after closing files.
43308 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
43310         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
43312         * benchtests/Rules (bench-deps): Collect dependencies into a
43313         single variable.  Add Makefile to dependencies.
43314         ($(objpfx)bench-%.c): Depend on bench-deps.
43316 2013-04-12  Roland McGrath  <roland@hack.frob.com>
43317             Xavier Roche  <roche+kml2@exalead.com>
43319         [BZ #15361]
43320         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
43321         just that it's a file descriptor.
43322         * manual/llio.texi (Synchronizing AIO Operations): Update description
43323         for EBADF error from aio_fsync.
43325 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
43327         * Rules (bench): Move target definition...
43328         * benchtests/Makefile: ... here.
43330 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
43332         * math/libm-test.inc (cos_test): Fix PI/2 test.
43333         (sincos_test): Likewise.
43334         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
43335         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
43337 2013-04-11  Andreas Schwab  <schwab@suse.de>
43339         [BZ #13988]
43340         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
43341         accept exponent character only when digits were seen.
43342         * stdio-common/Makefile (tests): Add bug26.
43343         * stdio-common/bug26.c: New file.
43345         [BZ #14293]
43346         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
43347         non-freeable.
43349 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
43351         * Makeconfig (rtld-prefix): Define built linker prefix.
43352         * Rules (run-bench): Use it.
43353         * math/Makefile (run-regen-ulps): Likewise.
43355         * Rules (bench): Remove eval.
43357 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
43358             Roland McGrath  <roland@hack.frob.com>
43359             Ondrej Bilka  <neleai@seznam.cz>
43361         [BZ #15346]
43362         * time/getdate.c: Include ctype.h and alloca.h.
43363         (__getdate_r): Trim leading and trailing spaces of input.
43364         * time/tst-getdate.c (tests): Add tests with leading and
43365         trailing spaces.
43367 2013-04-08  Roland McGrath  <roland@hack.frob.com>
43369         [BZ #14280]
43370         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
43371         when computing value.
43373 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
43375         * math/README.libm-test (How can I generate "libm-test-ulps"?):
43376         Use testrun.sh to run libm tests.
43378         [BZ #15309]
43379         * elf/dl-open.c (dl_open_worker): memset all of seen array.
43381 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
43383         [BZ #15264]
43384         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
43386 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
43388         * Makefile.in (regen-ulps): New target.
43389         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
43390         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
43391         [ifneq (no,$(PERL)] (regen-ulps): New target.
43392         [ifeq (no,$(PERL)] (regen-ulps): New target.
43393         * math/libm-test.inc (ulps_file_name): Define.
43394         (output_dir): New variable.
43395         (options): Add "output-dir" option.
43396         (parse_opt): Handle 'o' case.
43397         (main): If output_dir is non-NULL use it as a prefix
43398         otherwise use "".
43399         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
43401 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
43403         [BZ #10060, #10062]
43404         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
43405         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
43406         fail configure if __sync_val_compare_and_swap is not inlined.
43407         * sysdeps/i386/configure: Regenerate.
43408         * configure.in: Build for i686 when configured for i386.
43409         * configure: Regenerate.
43410         * README: Remove i386 reference.
43412 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
43414         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
43415         * sysdeps/s390/s390-64/sysdep.h: Likewise.
43417 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
43419         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
43420         (lmsnanval): New variables.
43421         (F): Add conversion tests.
43422         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
43423         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
43425         * stdio-common/tstdiomisc.c (F): Properly collect individual
43426         tests' results.
43428         [BZ #14686, #15336]
43429         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
43430         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
43431         Instead, use input NaN values or generate a qNaN by arithmetic
43432         operation.  Also fix bugs to comply with the standard.
43433         * math/libm-test.inc (remainder_test): Add more tests.
43435         [BZ #15335, #15342]
43436         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
43437         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
43438         input NaN values or generate a qNaN by arithmetic operation.
43440         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
43441         unreachable code.
43443         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
43444         definitions.
43446 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
43448         [BZ #14478]
43449         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
43450         underflowed result.
43451         * math/s_cexpf.c (__cexpf): Likewise.
43452         * math/s_cexpl.c (__cexpl): Likewise.
43453         * math/libm-test.inc (cexp_test): Add more tests.
43455 2013-04-03  Andreas Schwab  <schwab@suse.de>
43457         [BZ #15330]
43458         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
43459         order arrays from heap if bigger than alloca cutoff.
43461 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
43463         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
43464         (SNAN_TESTS_double): Refer to GCC PR56831.
43465         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
43466         GCC PR56828.
43468 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
43470         * Rules (bench): Move bench.out after the run is complete.
43472         * Rules (bench): Echo currently running benchmark.
43474         * benchtests/Makefile (bench): Add atan and slowatan.
43475         * benchtests/atan-inputs: New file.
43476         * benchtests/slowatan-inputs: New file.
43477         * benchtests/slowatan.c: New file.
43479         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
43480         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
43481         its value.
43483         [BZ #15305]
43484         * sysdeps/unix/sysv/linux/kernel-features.h
43485         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
43486         __ASSUME_XFS_RESTRICTED_CHOWN.
43487         * sysdeps/unix/sysv/linux/pathconf.c
43488         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
43489         Save and restore errno.
43491 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
43493         [BZ #15327]
43494         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
43495         arguments using __kernel_casinh.
43496         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
43497         arguments using __kernel_casinhf.
43498         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
43499         arguments using __kernel_casinhl.
43500         * math/libm-test.inc (cacosh_test): Add more tests.
43501         * sysdeps/i386/fpu/libm-test-ulps: Update.
43502         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43504 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
43506         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
43507         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
43509         * bench/Makefile (bench): Add sin and slowsin.
43510         * benchtests/sin-inputs: New file.
43511         * benchtests/slowsin-inputs: New file.
43512         * benchtests/slowsin.c: New file.
43514         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
43515         (bench): Add slowexp and slowpow.
43516         (exp-ITER): Increase iterations.
43517         (pow-ITER): Likewise.
43518         * benchtests/exp-inputs: Change input.
43519         * benchtests/pow-inputs: Likewise.
43520         * benchtests/slowexp-inputs: New file.
43521         * benchtests/slowexp.c: New file.
43522         * benchtests/slowpow-inputs: New file.
43523         * benchtests/slowpow.c: New file.
43525 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43527         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
43528         instructions.
43529         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
43530         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
43531         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
43532         * benchtests/Makefile: Add rint benchtest.
43533         * benchtests/rint-inputs: Input for rint benchtest.
43535 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
43537         * Versions.def (libm): Add GLIBC_2.18.
43538         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
43539         hidden libm prototypes.
43540         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
43541         * math/Makefile (libm-calls): Add s_issignaling.
43542         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
43543         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
43544         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
43545         declaration.
43546         * math/math.h [__USE_GNU] (issignaling): New macro.
43547         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
43548         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
43549         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
43550         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
43551         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
43552         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
43553         * manual/arith.texi (issignaling): New section.
43554         * manual/libm-err-tab.pl (@all_functions): Update comment.
43555         * math/gen-libm-test.pl (parse_args): Apply special handling for
43556         issignaling.
43557         * math/libm-test.inc (print_float, issignaling_test): New
43558         functions.
43559         (check_float_internal): Add issignaling checks.
43560         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
43561         default definition.
43562         * sysdeps/powerpc/math-tests.h: New file.
43563         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
43564         tests.
43565         * math/test-snan.c (TEST_FUNC): Likewise.
43567 2013-03-30  David S. Miller  <davem@davemloft.net>
43569         * po/de.po: Update from translation team.
43571 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
43573         [BZ #10357]
43574         * math/k_casinh.c (__kernel_casinh): Handle arguments with
43575         imaginary part less than 1.0 and real part less than 0.5
43576         specially.
43577         * math/k_casinhf.c (__kernel_casinhf): Likewise.
43578         * math/k_casinhl.c (__kernel_casinhl): Likewise.
43579         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
43580         (cacos_test): Add more tests.
43581         (casin_test): Likewise.
43582         (casinh_test): Likewise.
43583         * sysdeps/i386/fpu/libm-test-ulps: Update.
43584         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43586 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
43588         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
43589         ONE with its value.
43591         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
43592         (__pow_mp): Replace ONE and MONE with their values.
43593         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
43594         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
43595         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
43596         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
43597         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
43598         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
43600         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
43602         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
43603         (__pow_mp): Replace ZERO and MZERO with their values.
43604         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
43605         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
43606         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
43607         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
43608         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
43609         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
43610         (__sqr): Likewise.
43612         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
43614         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
43616 2013-03-28  Roland McGrath  <roland@hack.frob.com>
43618         * include/stdlib.h [!SHARED] (__call_tls_dtors):
43619         Declare with __attribute__ ((weak)).
43620         * stdlib/exit.c (__libc_atexit) [!SHARED]:
43621         Call __call_tls_dtors only if it's not NULL.
43623 2013-03-28  Roland McGrath  <roland@hack.frob.com>
43625         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
43626         didn't do it already, then set _dl_phdr and _dl_phnum based on the
43627         magic __ehdr_start linker symbol if it's defined.
43628         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
43629         them up here if it was already done.
43631         * elf/dl-support.c (_dl_phdr): Make pointer to const.
43632         (_dl_aux_init): Use const in cast when setting it.
43633         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
43634         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
43635         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
43637         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
43638         Declare them here.
43639         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
43640         * csu/libc-tls.c: Nor here.
43641         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
43643         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
43644         (__libc_message): Never call vsyslog.
43646 2013-03-28  Alan Modra  <amodra@gmail.com>
43648         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
43649         Define as empty.
43650         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
43651         Likewise.
43653 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43655         [BZ #15214]
43656         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
43657         underflow.
43658         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43660 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43662         [BZ #15304]
43663         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
43664         Don't add gid passed as argument.
43666         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
43668 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
43670         [BZ #15307]
43671         * math/k_casinh.c (__kernel_casinh): Handle arguments with
43672         imaginary part between 1.0 and 1.5 and real part less than 0.5
43673         specially.
43674         * math/k_casinhf.c (__kernel_casinhf): Likewise.
43675         * math/k_casinhl.c (__kernel_casinhl): Likewise.
43676         * math/libm-test.inc (cacos_test): Add more tests.
43677         (casin_test): Likewise.
43678         (casinh_test): Likewise.
43679         * sysdeps/i386/fpu/libm-test-ulps: Update.
43680         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43682 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
43684         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
43685         constants.
43686         (norm): Likewise.
43687         (denorm): Likewise.
43688         (__dbl_mp): Likewise.
43689         (add_magnitudes): Likewise.
43690         (sub_magnitudes): Likewise.
43691         (__add): Likewise.
43692         (__sub): Likewise.
43693         (__mul): Likewise.
43694         (__sqr): Likewise.
43695         (__inv): Likewise.
43696         (__dvd): Likewise.
43698         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
43699         commented code.
43700         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
43701         (__dubcos): Likewise.
43702         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
43703         (__ieee754_acos): Likewise.
43704         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
43705         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
43706         (__exp1): Likewise.
43707         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
43708         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
43709         (log1): Likewise.
43710         (my_log2): Likewise.
43711         (checkint): Likewise.
43712         * sysdeps/ieee754/dbl-64/e_remainder.c
43713         (__ieee754_remainder): Likewise.
43714         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
43715         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
43716         (bsloww): Likewise.
43717         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
43719         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
43720         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
43721         MANTISSA_STORE_T to store computations on mantissa.  Use
43722         macros for rounding and division.
43723         (denorm): Likewise.
43724         (__dbl_mp): Likewise.
43725         (add_magnitudes): Likewise.
43726         (sub_magnitudes): Likewise.
43727         (__mul): Likewise.
43728         (__sqr): Likewise.
43729         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
43730         powers of two in terms of TWOPOW macro.
43731         (mp_no): Make type of mantissa as MANTISSA_T.
43732         [!RADIXI]: Define RADIXI.
43733         [!TWO52]: Define TWO52.
43734         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
43736 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43738         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
43739         llroundl symbol when building for PPC32.
43741 2013-03-24  Mark H Weaver  <mhw@netris.org>
43743         * manual/arith.texi (Normalization Functions): Fix prototypes for
43744         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
43746 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43748         [BZ #13889]
43749         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
43750         high value to check if expl overflow.
43751         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
43752         to check for underflow and overflow.
43753         * math/libm-test.inc: Add exp test.
43755 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
43757         [BZ #11120]
43758         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
43759         with NOT_IN_libc.
43761 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43763         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
43764         symbol.
43766 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
43768         * math/gen-libm-test.pl (parse_args, special_functions): Properly
43769         wrap blocks consisting of several statements.
43771         * sysdeps/generic/math-tests.h: New file.
43772         * sysdeps/i386/fpu/math-tests.h: Likewise.
43773         * math/test-snan.c: Include it.
43774         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
43776 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
43778         [BZ #15285]
43779         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
43780         (__ieee754_j0l): Do not improve calculations using cos of twice
43781         input for inputs above LDBL_MAX / 2.0L.
43782         (__ieee754_y0l): Likewise.
43783         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
43784         (__ieee754_j1l): Do not improve calculations using cos of twice
43785         input for inputs above LDBL_MAX / 2.0L.
43786         (__ieee754_y1l): Likewise.
43787         * math/libm-test.inc (j0_test): Add another test.
43788         (j1_test): Likewise.
43789         (y0_test): Likewise.
43790         (y1_test): Likewise.
43791         * sysdeps/i386/fpu/libm-test-ulps: Update.
43793 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
43795         * Rules ($(objpfx)bench-%.c): Include code from a C source
43796         file.
43798 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
43800         [BZ #15287]
43801         * math/k_casinh.c (__kernel_casinh): Handle arguments with
43802         imaginary part 1.0 and real part less than 0.5 specially.
43803         * math/k_casinhf.c (__kernel_casinhf): Likewise.
43804         * math/k_casinhl.c (__kernel_casinhl): Likewise.
43805         * math/libm-test.inc (cacos_test): Add more tests.
43806         (casin_test): Likewise.
43807         (casinh_test): Likewise.
43808         * sysdeps/i386/fpu/libm-test-ulps: Update.
43809         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43811 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
43813         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
43814         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
43816 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
43818         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
43819         * config.make.in (config-cflags-sse4): Remove variable.
43820         (config-cflags-avx): Likewise.
43821         (config-cflags-sse2avx): Likewise.
43822         (config-cflags-novzeroupper): Likewise.
43823         (config-asflags-i686): Likewise.
43824         (have-mfma4): Likewise.
43825         (have-as-vis3): Likewise.
43826         (MIG): Likewise.
43827         * configure.in (MIG): Do not AC_SUBST.
43828         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
43829         (libc_cv_cc_sse4): Do not AC_SUBST.
43830         (libc_cv_cc_avx): Likewise.
43831         (libc_cv_cc_sse2avx): Likewise.
43832         (libc_cv_cc_novzeroupper): Likewise.
43833         (libc_cv_cc_fma4): Likewise.
43834         (libc_cv_as_i686): Likewise.
43835         (libc_cv_sparc_as_vis3): Likewise.
43836         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
43837         LIBC_CONFIG_VAR.
43838         (config-asflags-i686): Likewise.
43839         (config-cflags-avx): Likewise.
43840         (config-cflags-sse2avx): Likewise.
43841         (have-mfma4): Likewise.
43842         (config-cflags-novzeroupper): Likewise.
43843         * sysdeps/mach/configure.in (MIG): Likewise.
43844         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
43845         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
43846         LIBC_CONFIG_VAR.
43847         (config-cflags-avx): Likewise.
43848         (config-cflags-sse2avx): Likewise.
43849         (have-mfma4): Likewise.
43850         (config-cflags-novzeroupper): Likewise.
43851         * configure: Regenerated.
43852         * sysdeps/i386/configure: Likewise.
43853         * sysdeps/mach/configure: Likewise.
43854         * sysdeps/sparc/configure: Likewise.
43855         * sysdeps/x86_64/configure: Likewise.
43857 2013-03-20  Roland McGrath  <roland@hack.frob.com>
43859         [BZ #14812]
43860         * locale/programs/localedef.c (options): Put N_ translation marker
43861         on argument names, not just descriptions.
43863 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
43865         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
43867 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
43869         [BZ #14176]
43870         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
43872 2013-03-19  Roland McGrath  <roland@hack.frob.com>
43874         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
43875         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
43876         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
43877         [!BEFORE_ABORT] (before_abort): New function.
43878         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
43879         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
43880         (writev_for_fatal): New function.
43881         (WRITEV_FOR_FATAL): New macro; call that.
43882         (backtrace_and_maps): New function.
43883         (BEFORE_ABORT): New macro; call that.
43884         (struct str_list): Type removed.
43885         (__libc_message, __libc_fatal): Functions removed.
43886         Include <sysdeps/posix/libc_fatal.c> instead.
43888 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
43890         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
43891         constants.
43892         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
43893         double constants.
43895 2013-03-19  Andreas Schwab  <schwab@suse.de>
43897         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
43898         * sysdeps/gnu/configure: Regenerate.
43900         * configure.in: Substitute libc_cv_rtlddir.
43901         * configure: Regenerate.
43902         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
43903         * Makeconfig (rtlddir, inst_rtlddir): New variables.
43904         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
43905         * elf/Makefile (install-others, CFLAGS-interp.c)
43906         (ldso_install, common-ldd-rewrite): Likewise.
43907         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
43908         $(inst_slibdir)/$(rtld-installed-name).
43909         * scripts/rellns-sh: Add -p option.
43910         * Makerules (make-shlib-link): Use rellns-sh to get relative name
43911         for source.
43913 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
43915         * manual/nptl.texi: Renamed to ...
43916         * manual/threads.texi: ... this.
43917         * manual/Makefile (chapters): Update.
43919 2013-03-18  Roland McGrath  <roland@hack.frob.com>
43921         [BZ #14812]
43922         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
43923         on argument names, not just descriptions.
43924         * malloc/memusagestat.c (options): Likewise.
43925         * nss/getent.c (options): Likewise.
43927 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
43929         [BZ #14812]
43930         * iconv/iconv_prog.c (options): Put N_ translation marker
43931         on argument names, not just descriptions.
43932         * iconv/iconvconfig.c (options): Likewise.
43934 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
43936         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
43937         implementation which is faster on all x86_64 architectures.
43938         Tested on AMD, Intel Nehalem, SNB, IVB.
43939         * sysdeps/x86_64/strnlen.S: Likewise.
43941         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
43942         Remove all multiarch strlen and strnlen versions.
43943         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
43944         Remove strlen and strnlen related parts.
43946         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
43947         Inline strlen part.
43948         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
43950         * sysdeps/x86_64/multiarch/strlen.S: Remove.
43951         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
43952         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
43953         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
43954         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
43955         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
43957 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
43959         * manual/memory.texi (Malloc Tunable Parameters):
43960         Sort parameters alphabetically. Add comments for missing entries.
43962 2013-03-17  David S. Miller  <davem@davemloft.net>
43964         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43966 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
43968         [BZ #15283]
43969         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
43970         for arguments at most half maximum finite value.
43971         * math/libm-test.inc (j0_test): Add more tests.
43972         (j1_test): Likewise.
43973         (y0_test): Likewise.
43974         (y1_test): Likewise.
43975         * sysdeps/i386/fpu/libm-test-ulps: Update.
43976         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43978         [BZ #14155]
43979         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
43980         1 / x and functions P and Q for arguments above 0x1p256L.
43981         (__ieee754_y0l): Likewise.
43982         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
43983         (__ieee754_y1l): Likewise.
43984         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
43985         (j1_test): Likewise.
43986         (y0_test): Likewise.
43987         (y1_test): Likewise.
43989 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
43991         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
43992         variable.
43994 2013-03-15  Roland McGrath  <roland@hack.frob.com>
43996         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
43997         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
43998         zero since it's initialized to EXEC_PAGESIZE.
44000         * sysdeps/unix/sysv/linux/ldsodefs.h
44001         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
44002         * sysdeps/generic/ldsodefs.h: ... here.
44004 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
44006         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
44008         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
44009         math/test-snan.c.
44010         * math/test-snan.c: Renamed from
44011         sysdeps/powerpc/fpu/test-powerpc-snan.c.
44012         * math/Makefile (tests): Add test-snan.
44013         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
44014         test-powerpc-snan.
44016         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
44017         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
44018         functions.
44019         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
44020         __builtin_nan family of functions.
44021         * math/libm-test.inc (initialize): Initialize qnan_value with
44022         __builtin_nan family of functions.
44023         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
44024         Remove variables.
44025         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
44026         Remove functions.
44027         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
44028         storage class.  Initialize qNaN_var and sNaN_var with
44029         __builtin_nan and __builtin_nans families of functions,
44030         respectively.
44032         * math/libm-test.inc (acosh_test): Also test with qNaN input.
44033         (sqrt_test): Remove duplicate test with qNaN input.
44034         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
44035         (round_test, signbit_test, significand_test): Note missing +/-Inf
44036         as well as qNaN tests.
44038         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
44039         qNaN_var.  Fix a few strings, too.
44040         * math/libm-test.inc (nan_value): Rename to qnan_value.
44041         * math/gen-libm-test.pl (%beautify): Adjust to that.
44042         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
44043         * math/test-misc.c (main): Likewise.
44044         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
44045         to __qnan_bytes, and __qnan_union, respectively.
44046         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
44047         Likewise.
44048         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
44049         and lqnanval, respectively.
44050         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
44051         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
44052         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
44053         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
44055         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
44056         * math/test-misc.c (main) [__x86_64__]: Enable test for long
44057         doubles.
44059         * math/test-misc.c (main): Fix copy'n'pastos.
44060         * misc/tst-efgcvt.c (special): Likewise.
44062         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
44063         Remove declarations.
44065 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
44067         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
44068         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
44069         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
44070         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
44072 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44074         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
44075         macro to return vdso values correctly in IFUNC implementations.
44076         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
44077         Optimization by using IFUNC.
44079 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
44080             Richard Henderson  <rth@redhat.com>
44081             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
44083         * Makefile.in (bench): New target.
44084         * NEWS: Mention the benchmark framework.
44085         * Rules (bench): Likewise.
44086         (binaries-bench): Generate binaries for functions to
44087         benchmark.
44088         * benchtests/Makefile: New makefile for benchmark tests.
44089         * benchtests/bench-skeleton.c: New skeleton file for benchmark
44090         programs.
44091         * benchtests/exp-inputs: New input file for EXP function.
44092         * benchtests/pow-inputs: New input file for POW function.
44093         * scripts/bench.pl: New script to generate source files for
44094         benchmark programs.
44096 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
44098         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
44099         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
44100         computations on mantissa.  Use macros for rounding and
44101         division.
44102         (denorm): Likewise.
44103         (__dbl_mp): Likewise.
44104         (add_magnitudes): Likewise.
44105         (sub_magnitudes): Likewise.
44106         (__mul): Likewise.
44107         (__sqr): Likewise.
44108         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
44109         powers of two in terms of TWOPOW macro.
44110         (mp_no): Make type of mantissa as MANTISSA_T.
44111         [!RADIXI]: Define RADIXI.
44112         [!TWO52]: Define TWO52.
44113         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
44115         * manual/nptl.texi (cindex): Modify threads to pthreads.
44117 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
44119         * sysdeps/x86_64/preconfigure: Regenerated.
44121 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
44123         [BZ #14155]
44124         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
44125         0x1p28 and above.
44126         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
44127         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
44128         0x1p28 and above.
44129         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
44130         * math/libm-test.inc (j0_test): Do not allow one spurious
44131         underflow exception.
44132         (y1_test): Likewise.
44134 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
44136         * manual/Makefile (chapters): Add nptl.
44137         * manual/debug.texi (Debugging Support): Add link to Threads
44138         chapter.
44139         * manual/nptl.texi: New file.
44141         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
44143 2013-03-14  Petr Baudis  <pasky@ucw.cz>
44145         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
44146         for non-NULL pointer before the memory validity test. Pointed
44147         out by Holger Brunck <holger.brunck@keymile.com>.
44149 2013-03-13  Andreas Schwab  <schwab@suse.de>
44151         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
44152         instead of .os.
44154 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
44156         * timezone/zic.c: Update from tzcode 2013b.
44158 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
44160         * manual/install.texi (Configuring and compiling):
44161         Mention i686 and i586.
44162         * INSTALL: Regenerate.
44164 2013-03-12  Roland McGrath  <roland@hack.frob.com>
44166         * sysdeps/init_array/elf-init.c: New file.
44167         * csu/elf-init.c
44168         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
44169         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
44171         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
44172         __gmon_start__ as global, but as static with a .preinit_array pointer.
44173         * sysdeps/init_array/gmon-start.c: New file.  Use that.
44174         * sysdeps/init_array/crti.S: New file, empty except for comments.
44175         * sysdeps/init_array/crtn.S: Likewise.
44177 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
44179         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
44180         definining bcopy.
44181         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44182         Remove Prefer_SSE_for_memop.
44183         * sysdeps/x86_64/multiarch/init-arch.h: Remove
44184         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
44185         HAS_PREFER_SSE_FOR_MEMOP.
44186         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
44187         memset-x86-64.
44188         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
44189         Remove bzero, memset ifunc support.
44190         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
44191         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
44192         * sysdeps/x86_64/multiarch/memset.S: Likewise.
44193         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
44195 2013-03-11  Andreas Schwab  <schwab@suse.de>
44197         [BZ #15234]
44198         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
44199         by SHLIB_COMPAT.
44200         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
44201         (GLIBC_2.16): Remove pthread_atfork.
44203 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
44205         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
44206         (ptestcases.h): Likewise.
44208 2013-03-08  Roland McGrath  <roland@hack.frob.com>
44210         * Makeconfig ($(common-objpfx)config.status): Depend on
44211         sysdeps/*/preconfigure{,.in} too.
44213 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
44215         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
44216         (__free_hook): Use void * instead of __malloc_ptr_t.
44217         (__malloc_hook): Likewise.
44218         (__realloc_hook): Likewise.
44219         (__memalign_hook): Likewise.
44220         (__after_morecore_hook): Likewise.
44221         * malloc/arena.c (save_malloc_hook): Likewise.
44222         (save_free_hook): Likewise.
44223         * malloc/hooks.c (malloc_hook_ini): Likewise.
44224         (realloc_hook_ini): Likewise.
44225         (memalign_hook_ini): Likewise.
44226         * malloc/malloc.c (malloc_hook_ini): Likewise.
44227         (realloc_hook_ini): Likewise.
44228         (memalign_hook_ini): Likewise.
44229         (__free_hook): Likewise.
44230         (__malloc_hook): Likewise.
44231         (__realloc_hook): Likewise.
44232         (__memalign_hook): Likewise.
44233         (__libc_malloc): Likewise.
44234         (__libc_free): Likewise.
44235         (__libc_realloc): Likewise.
44236         (__libc_memalign): Likewise.
44237         (__libc_valloc): Likewise.
44238         (__libc_pvalloc): Likewise.
44239         (__libc_calloc): Likewise.
44240         (__posix_memalign): Likewise.
44241         * malloc/morecore.c (__sbrk): Likewise.
44242         (__default_morecore): Likewise.
44244         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
44246         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
44247         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
44248         __malloc_ptrdiff_t.
44250         * malloc/malloc.h (__malloc_size_t): Remove macro.
44251         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
44252         __malloc_size_t.
44253         (old_memalign_hook): Likewise.
44254         (old_realloc_hook): Likewise.
44255         (struct hdr): Likewise.
44256         (flood): Likewise.
44257         (mallochook): Likewise.
44258         (memalignhook): Likewise.
44259         (reallochook): Likewise.
44260         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
44261         (tr_old_realloc_hook): Likewise.
44262         (tr_old_memalign_hook): Likewise.
44263         (tr_mallochook): Likewise.
44264         (tr_reallochook): Likewise.
44265         (tr_memalignhook): Likewise.
44267 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44269         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
44270         default_ldbl_pack and using as default implementation.
44271         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
44272         implementation.
44273         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
44274         redundant definition.
44275         (ldbl_insert_mantissa): Likewise.
44276         (ldbl_canonicalize): Likewise.
44277         (ldbl_nearbyint): Likewise.
44278         (ldbl_pack): Rename to ldbl_pack_ppc.
44279         (ldbl_unpack): Rename to ldbl_unpack_ppc.
44280         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
44281         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
44283 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
44285         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
44286         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
44287         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
44288         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
44289         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
44290         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
44291         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
44292         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
44294 2013-03-07  Andreas Jaeger  <aj@suse.de>
44296         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44297         bits/mman-linux.h.
44299 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
44301         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
44302         Include mpa.h and declare __MPEXP.
44303         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
44304         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
44305         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
44306         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
44307         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
44308         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
44309         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
44311         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
44312         (__slowpow): Use long double EXPL and LOGL functions to
44313         compute POW.
44314         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
44315         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
44316         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
44317         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
44318         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
44319         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
44321         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
44322         intermediate variable to calculate exponent.
44323         (__sqr): Likewise.
44324         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
44325         Likewise.
44326         (__sqr): Likewise.
44328         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
44329         [!NO__SQR]: Define __sqr.
44330         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
44331         and NO__SQR.  Remove all code except __mul and __sqr.  Include
44332         sysdeps/ieee754/dbl-64/mpa.c.
44333         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
44335         [BZ #12723]
44336         * posix/Makefile (tests): Add tst-pathconf.
44337         * posix/tst-pathconf.c: New test case.
44338         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
44339         _PC_PIPE_BUF.
44340         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
44342 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
44344         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
44346 2013-03-06  Andreas Jaeger  <aj@suse.de>
44348         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
44349         definition via __MAP_ANONYMOUS.
44351         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
44352         it's not part of Linux headers.
44354         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
44355         (MAP_HUGE_MASK): Define.
44357         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
44358         Define.
44359         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
44360         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
44361         Define.
44362         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
44363         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
44364         Define.
44365         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
44366         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
44367         Define.
44368         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
44370         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
44371         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
44372         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
44373         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
44374         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
44375         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
44377         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
44378         Handle f2fs.
44380         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44381         Handle f2fs and efivarfs.
44383         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
44384         f2fs.
44386         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
44387         (EFIVARFS_MAGIC): Add.
44388         (F2FS_LINK_MAX): Add.
44390 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
44392         * stdio-common/vfprintf.c: Replace __builtin_expect with
44393         __glibc_unlikely.
44395 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
44397         [BZ #13550]
44398         * sysdeps/generic/bp-sym.h: Remove file.
44399         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
44400         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
44401         <bp-sym.h> and <bp-asm.h>.
44402         (__longjmp): Don't use BP_SYM.
44403         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
44404         and <bp-asm.h>.
44405         (memcpy): Don't use BP_SYM.
44406         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
44407         <bp-sym.h> and <bp-asm.h>.
44408         (memcpy): Don't use BP_SYM.
44409         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
44410         <bp-asm.h>.
44411         (memcpy): Don't use BP_SYM.
44412         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
44413         <bp-asm.h>.
44414         (memset): Don't use BP_SYM.
44415         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
44416         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
44417         (__bzero): Don't use BP_SYM.
44418         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
44419         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
44420         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
44421         <bp-sym.h> and <bp-asm.h>.
44422         (memcmp): Don't use BP_SYM.  Remove comment about bounded
44423         pointers.
44424         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
44425         <bp-sym.h> and <bp-asm.h>.
44426         (memcpy): Don't use BP_SYM.
44427         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
44428         <bp-sym.h> and <bp-asm.h>.
44429         (memset): Don't use BP_SYM.
44430         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
44431         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
44432         (__bzero): Don't use BP_SYM.
44433         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
44434         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
44435         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
44436         <bp-sym.h> and <bp-asm.h>.
44437         (strncmp): Don't use BP_SYM.  Remove comment about bounded
44438         pointers.
44439         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
44440         <bp-sym.h> and <bp-asm.h>.
44441         (memcpy): Don't use BP_SYM.
44442         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
44443         <bp-sym.h> and <bp-asm.h>.
44444         (memset): Don't use BP_SYM.
44445         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
44446         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
44447         (__bzero): Don't use BP_SYM.
44448         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
44449         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
44450         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
44451         <bp-sym.h> and <bp-asm.h>.
44452         (__memchr): Don't use BP_SYM.
44453         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
44454         <bp-sym.h> and <bp-asm.h>.
44455         (memcmp): Don't use BP_SYM.  Remove comment about bounded
44456         pointers.
44457         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
44458         <bp-sym.h> and <bp-asm.h>.
44459         (memcpy): Don't use BP_SYM.
44460         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
44461         <bp-sym.h> and <bp-asm.h>.
44462         (__mempcpy): Don't use BP_SYM.
44463         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
44464         <bp-sym.h> and <bp-asm.h>.
44465         (__memrchr): Don't use BP_SYM.
44466         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
44467         <bp-sym.h> and <bp-asm.h>.
44468         (memset): Don't use BP_SYM.
44469         (__bzero): Likewise.
44470         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
44471         <bp-sym.h> and <bp-asm.h>.
44472         (__rawmemchr): Don't use BP_SYM.
44473         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
44474         <bp-sym.h> and <bp-asm.h>.
44475         (__STRCMP): Don't use BP_SYM.
44476         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
44477         <bp-sym.h> and <bp-asm.h>.
44478         (strchr): Don't use BP_SYM.
44479         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
44480         <bp-sym.h> and <bp-asm.h>.
44481         (__strchrnul): Don't use BP_SYM.
44482         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
44483         <bp-sym.h> and <bp-asm.h>.
44484         (strlen): Don't use BP_SYM.
44485         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
44486         <bp-sym.h> and <bp-asm.h>.
44487         (strncmp): Don't use BP_SYM.  Remove comment about bounded
44488         pointers.
44489         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
44490         <bp-sym.h> and <bp-asm.h>.
44491         (__strnlen): Don't use BP_SYM.
44492         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
44493         <bp-sym.h> and <bp-asm.h>.
44494         (__GI__setjmp): Don't use BP_SYM.
44495         (_setjmp): Likewise.
44496         (__sigsetjmp): Likewise.
44497         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
44498         (L(start_addresses)): Don't use BP_SYM.
44499         (_start): Likewise.
44500         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
44501         <bp-asm.h>.
44502         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
44503         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
44504         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
44505         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
44506         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
44507         <bp-asm.h>.
44508         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
44509         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
44510         about bounded pointers.
44511         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
44512         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
44513         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
44514         <bp-asm.h>.
44515         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
44516         about bounded pointers.  Remove GKM FIXME comments.
44517         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
44518         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
44519         <bp-asm.h>.
44520         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
44521         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
44522         Remove GKM FIXME comments.
44523         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
44524         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
44525         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
44526         <bp-asm.h>.
44527         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
44528         about bounded pointers.  Remove GKM FIXME comment.
44529         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
44530         and <bp-asm.h>.
44531         (strncmp): Don't use BP_SYM.  Remove comment about bounded
44532         pointers.
44533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
44534         <bp-sym.h> and <bp-asm.h>.
44535         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
44536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
44537         <bp-sym.h> and <bp-asm.h>.
44538         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
44539         comment.
44541 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
44543         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
44544         call free(NULL).
44546 2013-03-05  David S. Miller  <davem@davemloft.net>
44548         * po/es.po: Update from translation team.
44550 2013-03-05  Andreas Jaeger  <aj@suse.de>
44552         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
44553         <bits/mman-linux.h>.
44554         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
44555         is fine.
44556         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
44557         <bits/mman-linux.h> to end of file.
44558         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
44559         is fine.
44560         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
44561         <bits/mman-linux.h> to end of file.
44562         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
44563         is fine.
44564         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
44565         <bits/mman-linux.h> to end of file.
44567         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
44568         (MCL_CURRENT, MCL_FUTURE): Define here.
44570 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44572         [BZ #15232]
44573         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
44574         attribute_hidden.
44575         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
44577 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44579         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
44580         fourth parameter needed for rt_sigprocmask syscall.
44581         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
44582         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
44583         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
44584         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
44585         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
44586         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
44588 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
44590         [BZ #13550]
44591         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
44592         comment about bounded pointers.
44593         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
44594         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
44596 2013-03-04  Andreas Jaeger  <aj@suse.de>
44598         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
44599         common definitions.
44601         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
44602         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
44603         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
44604         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
44605         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
44606         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
44608 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44610         [BZ #15055]
44611         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
44612         __ieee754_sqrl instead of __sqrl.
44614 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
44616         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
44617         * sysdeps/powerpc/fpu_control.h: ... here.
44618         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
44619         * sysdeps/powerpc/bits/fenvinline.h: ... here.
44620         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
44621         * sysdeps/powerpc/bits/mathinline.h: ... here.
44623 2013-03-01  Roland McGrath  <roland@hack.frob.com>
44625         * elf/dl-hwcaps.c (_dl_important_hwcaps):
44626         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
44627         to just [NEED_DL_SYSINFO_DSO].
44628         * elf/dl-support.c: Likewise.
44629         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
44630         * elf/rtld.c (dl_main): Likewise.
44631         * elf/setup-vdso.h (setup_vdso): Likewise.
44632         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
44633         * sysdeps/unix/sysv/linux/dl-sysdep.c
44634         (_dl_discover_osversion): Likewise.
44636 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
44638         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
44639         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
44641 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
44643         * NEWS: Mention libm performance improvements and non-x86 PI
44644         futex support.
44646         * csu/libc-start.c (__pthread_initialize_minimal): Change
44647         function arguments.
44648         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
44650 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
44652         [BZ #13550]
44653         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
44654         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
44655         <bp-sym.h> and <bp-asm.h>.
44656         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
44657         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
44658         and <bp-asm.h>.
44659         (memcpy): Don't use BP_SYM.
44660         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
44661         <bp-asm.h>.
44662         (__mpn_add_n): Don't use BP_SYM.
44663         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
44664         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
44665         and <bp-asm.h>.
44666         (__mpn_addmul_1): Don't use BP_SYM.
44667         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44668         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
44669         <bp-sym.h>.
44670         (_setjmp): Don't use BP_SYM.
44671         (__novmx_setjmp): Likewise.
44672         (__GI__setjmp): Likewise.
44673         (__vmx_setjmp): Likewise.
44674         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
44675         <bp-sym.h>.
44676         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
44677         (__bzero): Don't use BP_SYM.
44678         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
44679         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
44680         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
44681         <bp-sym.h> and <bp-asm.h>.
44682         (memcpy): Don't use BP_SYM.
44683         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
44684         <bp-sym.h> and <bp-asm.h>.
44685         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
44686         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
44687         <bp-sym.h> and <bp-asm.h>.
44688         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
44689         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
44690         <bp-asm.h>.
44691         (__mpn_lshift): Don't use BP_SYM.
44692         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
44693         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
44694         <bp-asm.h>.
44695         (memset): Don't use BP_SYM.
44696         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
44697         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
44698         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
44699         <bp-asm.h>.
44700         (__mpn_mul_1): Don't use BP_SYM.
44701         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44702         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
44703         <bp-sym.h> and <bp-asm.h>.
44704         (memcmp): Don't use BP_SYM.
44705         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
44706         <bp-sym.h> and <bp-asm.h>.
44707         (memcpy): Don't use BP_SYM.
44708         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
44709         <bp-sym.h> and <bp-asm.h>.
44710         (memset): Don't use BP_SYM.
44711         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
44712         <bp-sym.h> and <bp-asm.h>.
44713         (strncmp): Don't use BP_SYM.
44714         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
44715         <bp-sym.h> and <bp-asm.h>.
44716         (memcpy): Don't use BP_SYM.
44717         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
44718         <bp-sym.h> and <bp-asm.h>.
44719         (memset): Don't use BP_SYM.
44720         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
44721         <bp-sym.h> and <bp-asm.h>.
44722         (__memchr): Don't use BP_SYM.
44723         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
44724         <bp-sym.h> and <bp-asm.h>.
44725         (memcmp): Don't use BP_SYM.
44726         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
44727         <bp-sym.h> and <bp-asm.h>.
44728         (memcpy): Don't use BP_SYM.
44729         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
44730         <bp-sym.h> and <bp-asm.h>.
44731         (__mempcpy): Don't use BP_SYM.
44732         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
44733         <bp-sym.h> and <bp-asm.h>.
44734         (__memrchr): Don't use BP_SYM.
44735         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
44736         <bp-sym.h> and <bp-asm.h>.
44737         (memset): Don't use BP_SYM.
44738         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
44739         <bp-sym.h> and <bp-asm.h>.
44740         (__rawmemchr): Don't use BP_SYM.
44741         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
44742         <bp-sym.h> and <bp-asm.h>.
44743         (__STRCMP): Don't use BP_SYM.
44744         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
44745         <bp-sym.h> and <bp-asm.h>.
44746         (strchr): Don't use BP_SYM.
44747         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
44748         <bp-sym.h> and <bp-asm.h>.
44749         (__strchrnul): Don't use BP_SYM.
44750         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
44751         <bp-sym.h> and <bp-asm.h>.
44752         (strlen): Don't use BP_SYM.
44753         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
44754         <bp-sym.h> and <bp-asm.h>.
44755         (strncmp): Don't use BP_SYM.
44756         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
44757         <bp-sym.h> and <bp-asm.h>.
44758         (__strnlen): Don't use BP_SYM.
44759         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
44760         <bp-asm.h>.
44761         (__mpn_rshift): Don't use BP_SYM.
44762         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
44763         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
44764         <bp-sym.h> and <bp-asm.h>.
44765         (__sigsetjmp): Don't use BP_SYM.
44766         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
44767         (L(start_addresses)): Don't use BP_SYM.
44768         (_start): Likewise.
44769         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
44770         <bp-asm.h>.
44771         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
44772         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
44773         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
44774         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
44775         <bp-asm.h>.
44776         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
44777         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
44778         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
44779         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
44780         <bp-asm.h>.
44781         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
44782         comments.
44783         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
44784         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
44785         <bp-asm.h>.
44786         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
44787         FIXME comments.
44788         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
44789         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
44790         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
44791         <bp-asm.h>.
44792         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
44793         comment.
44794         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
44795         and <bp-asm.h>.
44796         (strncmp): Don't use BP_SYM,
44797         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
44798         <bp-asm.h>.
44799         (__mpn_sub_n): Don't use BP_SYM.
44800         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
44801         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
44802         and <bp-asm.h>.
44803         (__mpn_submul_1): Don't use BP_SYM.
44804         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
44806         <bp-sym.h> and <bp-asm.h>.
44807         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
44808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
44809         <bp-sym.h> and <bp-asm.h>.
44810         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
44811         comment.
44813 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44815         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
44816         Use ZK to minimize writes to Z.
44817         (sub_magnitudes): Simplify code a bit.
44818         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
44819         Use ZK to minimize writes to Z.
44820         (sub_magnitudes): Simplify code a bit.
44822 2013-02-27  Roland McGrath  <roland@hack.frob.com>
44824         * csu/gmon-start.c: Add special exception to license text.
44826 2013-02-27  Richard Henderson  <rth@redhat.com>
44828         * scripts/config.guess: Update from config.git.
44829         * scripts/config.sub: Likewise.
44831 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
44833         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
44835         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
44837         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
44839         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
44841         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
44843 2013-02-26  Roland McGrath  <roland@hack.frob.com>
44845         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
44846         [$(build-shared = yes].
44848 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44850         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
44851         (__mul): Reduce iterations for calculating mantissa.
44853         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
44854         MPTWO.
44855         (__mpranred): Likewise.
44857         [BZ #15160]
44858         * malloc/memusagestat.c (main): Draw graphs for heap and stack
44859         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
44861 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
44863         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
44864         Define __attribute__.
44866 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44868         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
44869         unused.
44870         * posix/regex_internal.h (__attribute): Remove.
44871         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
44872         (re_string_context_at): Likewise.
44873         (bitset_not): Use __attribute__ and mark function as possibly
44874         unused.
44875         (bitset_merge): Likewise.
44876         (bitset_mask): Likewise.
44877         (re_string_char_size_at): Likewise.
44878         (re_string_wchar_at): Likewise.
44879         (re_string_elem_size_at): Likewise.
44881 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
44883         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
44884         code.
44885         (cc32): Likewise.
44887         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
44888         (__acr): Likewise.
44889         (__cpy): Likewise.
44890         (norm): Likewise.
44891         (denorm): Likewise.
44892         (__dbl_mp): Likewise.
44893         (add_magnitudes): Likewise.
44894         (sub_magnitudes): Likewise.
44895         (__mul): Likewise.
44896         (__inv): Likewise.
44898         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
44899         style.
44901         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
44902         style.
44904         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
44905         code.
44907         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
44908         up changes with default code.
44909         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
44910         Likewise.
44912 2013-02-24  Allan McRae  <allan@archlinux.org>
44914         * manual/socket.texi (The Internet Namespace): Order menu items
44915         to match that in the file.
44917         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
44918         node listing of the info page menu.
44920 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
44922         [BZ #13550]
44923         * sysdeps/i386/bp-asm.h: Remove file.
44924         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
44925         (PARMS): Do not use macros from bp-asm.h.
44926         (S1): Likewise.
44927         (S2): Likewise.
44928         (SIZE): Likewise.
44929         (__mpn_add_n): Do not use BP_SYM
44930         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
44931         "bp-asm.h".
44932         (PARMS): Do not use macros from bp-asm.h.
44933         (S1): Likewise.
44934         (SIZE): Likewise.
44935         (__mpn_addmul_1): Do not use BP_SYM
44936         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
44937         "bp-asm.h".
44938         (PARMS): Do not use macros from bp-asm.h.
44939         (SIGMSK): Likewise.
44940         (_setjmp): Likewise.  Do not use BP_SYM.
44941         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
44942         "bp-asm.h".
44943         (PARMS): Do not use macros from bp-asm.h.
44944         (SIGMSK): Likewise.
44945         (setjmp): Likewise.  Do not use BP_SYM.
44946         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
44947         "bp-asm.h".
44948         (PARMS): Do not use macros from bp-asm.h.
44949         (__frexp): Do not use BP_SYM.
44950         (frexp): Likewise.
44951         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
44952         "bp-asm.h".
44953         (PARMS): Do not use macros from bp-asm.h.
44954         (__frexpf): Do not use BP_SYM.
44955         (frexpf): Likewise.
44956         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
44957         "bp-asm.h".
44958         (PARMS): Do not use macros from bp-asm.h.
44959         (__frexpl): Do not use BP_SYM.
44960         (frexpl): Likewise.
44961         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
44962         "bp-asm.h".
44963         (PARMS): Do not use macros from bp-asm.h.
44964         (__remquo): Do not use BP_SYM.
44965         (remquo): Likewise.
44966         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
44967         "bp-asm.h".
44968         (PARMS): Do not use macros from bp-asm.h.
44969         (__remquof): Do not use BP_SYM.
44970         (remquof): Likewise.
44971         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
44972         "bp-asm.h".
44973         (PARMS): Do not use macros from bp-asm.h.
44974         (__remquol): Do not use BP_SYM.
44975         (remquol): Likewise.
44976         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
44977         "bp-asm.h".
44978         (PARMS): Do not use macros from bp-asm.h.
44979         (DEST): Likewise.
44980         (SRC): Likewise.
44981         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
44982         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
44983         "bp-asm.h".
44984         (PARMS): Do not use macros from bp-asm.h.
44985         (strlen): Do not use BP_SYM.
44986         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
44987         "bp-asm.h".
44988         (PARMS): Do not use macros from bp-asm.h.
44989         (S1): Likewise.
44990         (S2): Likewise.
44991         (SIZE): Likewise.
44992         (__mpn_add_n): Do not use BP_SYM.
44993         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
44994         "bp-asm.h".
44995         (PARMS): Do not use macros from bp-asm.h.
44996         (S1): Likewise.
44997         (SIZE): Likewise.
44998         (__mpn_addmul_1): Do not use BP_SYM.
44999         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
45000         weak_alias.
45001         (bzero): Likewise.
45002         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
45003         "bp-asm.h".
45004         (PARMS): Do not use macros from bp-asm.h.
45005         (S): Likewise.
45006         (SIZE): Likewise.
45007         (__mpn_lshift): Do not use BP_SYM.
45008         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
45009         "bp-asm.h".
45010         (PARMS): Do not use macros from bp-asm.h.
45011         (DEST): Likewise.
45012         (SRC): Likewise.
45013         (LEN): Likewise.
45014         (memcpy): Likewise.  Do not use BP_SYM.
45015         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
45016         libc_hidden_def and weak_alias.
45017         (mempcpy): Do not use BP_SYM in weak_alias.
45018         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
45019         "bp-asm.h".
45020         (PARMS): Do not use macros from bp-asm.h.
45021         (DEST): Likewise.
45022         (LEN): Likewise.
45023         [!BZERO_P] (CHR): Likewise.
45024         (memset): Likewise.  Do not use BP_SYM.
45025         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
45026         "bp-asm.h".
45027         (PARMS): Do not use macros from bp-asm.h.
45028         (S1): Likewise.
45029         (SIZE): Likewise.
45030         (__mpn_mul_1): Do not use BP_SYM.
45031         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
45032         "bp-asm.h".
45033         (PARMS): Do not use macros from bp-asm.h.
45034         (S): Likewise.
45035         (SIZE): Likewise.
45036         (__mpn_rshift): Do not use BP_SYM.
45037         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
45038         "bp-asm.h".
45039         (PARMS): Do not use macros from bp-asm.h.
45040         (STR): Likewise.
45041         (CHR): Likewise.
45042         (strchr): Likewise.  Do not use BP_SYM.
45043         (index): Do not use BP_SYM in weak_alias.
45044         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
45045         "bp-asm.h".
45046         (PARMS): Do not use macros from bp-asm.h.
45047         (DEST): Likewise.
45048         (SRC): Likewise.
45049         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
45050         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
45051         "bp-asm.h".
45052         (PARMS): Do not use macros from bp-asm.h.
45053         (strlen): Do not use BP_SYM.
45054         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
45055         "bp-asm.h".
45056         (PARMS): Do not use macros from bp-asm.h.
45057         (S1): Likewise.
45058         (S2): Likewise.
45059         (SIZE): Likewise.
45060         (__mpn_sub_n): Do not use BP_SYM.
45061         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
45062         "bp-asm.h".
45063         (PARMS): Do not use macros from bp-asm.h.
45064         (S1): Likewise.
45065         (SIZE): Likewise.
45066         (__mpn_submul_1): Do not use BP_SYM.
45067         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
45068         "bp-asm.h".
45069         (PARMS): Do not use macros from bp-asm.h.
45070         (S1): Likewise.
45071         (S2): Likewise.
45072         (SIZE): Likewise.
45073         (__mpn_add_n): Do not use BP_SYM.
45074         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
45075         weak_alias.
45076         (bzero): Likewise.
45077         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
45078         "bp-asm.h".
45079         (PARMS): Do not use macros from bp-asm.h.
45080         (BLK2): Likewise.
45081         (LEN): Likewise.
45082         (memcmp): Do not use BP_SYM.
45083         (bcmp): Do not use BP_SYM in weak_alias.
45084         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
45085         "bp-asm.h".
45086         (PARMS): Do not use macros from bp-asm.h.
45087         (DEST): Likewise.
45088         (SRC): Likewise.
45089         (LEN): Likewise.
45090         (memcpy): Likewise.  Do not use BP_SYM.
45091         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
45092         "bp-asm.h".
45093         (PARMS): Do not use macros from bp-asm.h.
45094         (DEST): Likewise.
45095         (SRC): Likewise.
45096         (LEN): Likewise.
45097         (memmove): Likewise.  Do not use BP_SYM.
45098         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
45099         "bp-asm.h".
45100         (PARMS): Do not use macros from bp-asm.h.
45101         (DEST): Likewise.
45102         (SRC): Likewise.
45103         (LEN): Likewise.
45104         (__mempcpy): Likewise.  Do not use BP_SYM.
45105         (mempcpy): Do not use BP_SYM in weak_alias.
45106         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
45107         "bp-asm.h".
45108         (PARMS): Do not use macros from bp-asm.h.
45109         (DEST): Likewise.
45110         (LEN): Likewise.
45111         [!BZERO_P] (CHR): Likewise.
45112         (memset): Likewise.  Do not use BP_SYM.
45113         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
45114         "bp-asm.h".
45115         (PARMS): Do not use macros from bp-asm.h.
45116         (STR2): Likewise.
45117         (strcmp): Do not use BP_SYM.
45118         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
45119         "bp-asm.h".
45120         (PARMS): Do not use macros from bp-asm.h.
45121         (STR): Likewise.
45122         (DELIM): Likewise.
45123         [USE_AS_STRTOK_R] (SAVE): Likewise.
45124         (FUNCTION): Likewise.  Do not use BP_SYM.
45125         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
45126         aliases.
45127         (strtok_r): Likewise.
45128         (__GI___strtok_r): Likewise.
45129         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
45130         (PARMS): Do not use macros from bp-asm.h.
45131         (S): Likewise.
45132         (SIZE): Likewise.
45133         (__mpn_lshift): Do not use BP_SYM.
45134         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
45135         (PARMS): Do not use macros from bp-asm.h.
45136         (STR): Likewise.
45137         (CHR): Likewise.
45138         (__memchr): Do not use BP_SYM.
45139         (memchr): Do not use BP_SYM in weak_alias.
45140         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
45141         (PARMS): Do not use macros from bp-asm.h.
45142         (BLK2): Likewise.
45143         (LEN): Likewise.
45144         (memcmp): Do not use BP_SYM.
45145         (bcmp): Do not use BP_SYM in weak_alias.
45146         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
45147         (PARMS): Do not use macros from bp-asm.h.
45148         (S1): Likewise.
45149         (SIZE): Likewise.
45150         (__mpn_mul_1): Do not use BP_SYM.
45151         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
45152         "bp-asm.h".
45153         (PARMS): Do not use macros from bp-asm.h.
45154         (STR): Likewise.
45155         (CHR): Likewise.
45156         (__rawmemchr): Do not use BP_SYM.
45157         (rawmemchr): Do not use BP_SYM in weak_alias.
45158         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
45159         (PARMS): Do not use macros from bp-asm.h.
45160         (S): Likewise.
45161         (SIZE): Likewise.
45162         (__mpn_rshift): Do not use BP_SYM.
45163         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
45164         (PARMS): Do not use macros from bp-asm.h.
45165         (SIGMSK): Likewise.
45166         (__sigsetjmp): Likewise.  Do not use BP_SYM.
45167         * sysdeps/i386/start.S: Do not include "bp-sym.h".
45168         (_start): Do not use BP_SYM.
45169         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
45170         (PARMS): Do not use macros from bp-asm.h.
45171         (DEST): Likewise.
45172         (SRC): Likewise.
45173         (__stpcpy): Likewise.  Do not use BP_SYM.
45174         (stpcpy): Do not use BP_SYM in weak_alias.
45175         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
45176         "bp-asm.h".
45177         (PARMS): Do not use macros from bp-asm.h.
45178         (DEST): Likewise.
45179         (SRC): Likewise.
45180         (LEN): Likewise.
45181         (__stpncpy): Likewise.  Do not use BP_SYM.
45182         (stpncpy): Do not use BP_SYM in weak_alias.
45183         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
45184         (PARMS): Do not use macros from bp-asm.h.
45185         (STR): Likewise.
45186         (CHR): Likewise.
45187         (strchr): Likewise.  Do not use BP_SYM.
45188         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
45189         "bp-asm.h".
45190         (PARMS): Do not use macros from bp-asm.h.
45191         (STR): Likewise.
45192         (CHR): Likewise.
45193         (__strchrnul): Likewise.  Do not use BP_SYM.
45194         (strchrnul): Do not use BP_SYM in weak_alias.
45195         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
45196         "bp-asm.h".
45197         (PARMS): Do not use macros from bp-asm.h.
45198         (STOP): Likewise.
45199         (strcspn): Do not use BP_SYM.
45200         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
45201         "bp-asm.h".
45202         (PARMS): Do not use macros from bp-asm.h.
45203         (STR): Likewise.
45204         (STOP): Likewise.
45205         (strpbrk): Likewise.  Do not use BP_SYM.
45206         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
45207         "bp-asm.h".
45208         (PARMS): Do not use macros from bp-asm.h.
45209         (STR): Likewise.
45210         (CHR): Likewise.
45211         (strrchr): Likewise.  Do not use BP_SYM.
45212         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
45213         (PARMS): Do not use macros from bp-asm.h.
45214         (SKIP): Likewise.
45215         (strspn): Do not use BP_SYM.
45216         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
45217         (PARMS): Do not use macros from bp-asm.h.
45218         (STR): Likewise.
45219         (DELIM): Likewise.
45220         (SAVE): Likewise.
45221         (FUNCTION): Likewise.  Do not use BP_SYM.
45222         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
45223         aliases.
45224         (strtok_r): Likewise.
45225         (__GI___strtok_r): Likewise.
45226         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
45227         (PARMS): Do not use macros from bp-asm.h.
45228         (S1): Likewise.
45229         (S2): Likewise.
45230         (SIZE): Likewise.
45231         (__mpn_sub_n): Do not use BP_SYM.
45232         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
45233         "bp-asm.h".
45234         (PARMS): Do not use macros from bp-asm.h.
45235         (S1): Likewise.
45236         (SIZE): Likewise.
45237         (__mpn_submul_1): Do not use BP_SYM.
45238         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
45239         <bp-sym.h>.
45240         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
45241         and <bp-asm.h>.
45242         (PARMS): Do not use macros from bp-asm.h.
45243         (FLAGS): Likewise.
45244         (PTID): Likewise.
45245         (TLS): Likewise.
45246         (CTID): Likewise.
45247         (__clone): Do not use BP_SYM.
45248         (clone): Do not use BP_SYM in weak_alias.
45249         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
45250         and <bp-asm.h>.
45251         (PARMS): Do not use macros from bp-asm.h.
45252         (LEN): Likewise.
45253         (__mmap64): Do not use BP_SYM.
45254         (mmap64): Do not use BP_SYM in weak_alias.
45255         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
45256         <bp-sym.h> and <bp-asm.h>.
45257         (PARMS): Do not use macros from bp-asm.h.
45258         (__posix_fadvise64_l64): Do not use BP_SYM.
45259         * sysdeps/unix/sysv/linux/i386/semtimedop.S
45260         (PARMS): Do not use macros from bp-asm.h.
45261         (NSOPS): Likewise.
45262         (semtimedop): Do not use BP_SYM.
45263         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
45264         and <bp-asm.h>.
45266 2013-02-21  Allan McRae  <allan@archlinux.org>
45268         * manual/message.texi (Charset conversion in gettext):
45269         Move @end statement to beginning of line.
45271 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
45273         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
45274         static.
45275         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
45276         Likewise.
45278         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
45279         (denorm): Likewise.
45280         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
45281         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
45283 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45285         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
45286         tail-call to the resolved function if pltexit isn't needed.
45288 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
45290         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
45291         or Y being zero as being unlikely.
45292         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
45293         Likewise.
45295 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
45297         * manual/nss.texi (System Databases and Name Service Switch):
45298         Remove frobnicate @pxref.
45300 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
45302         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
45303         __attribute__ ((unused)) to __attribute__ ((__unused__)).
45305 2013-02-20  Petr Machata  <pmachata@redhat.com>
45307         * elf/elf.h (R_ARM_TARGET1): New macro.
45308         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
45309         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
45310         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
45311         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
45312         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
45313         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
45314         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
45315         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
45316         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
45317         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
45318         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
45319         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
45320         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
45321         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
45322         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
45323         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
45324         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
45325         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
45326         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
45327         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
45328         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
45329         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
45330         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
45331         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
45332         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
45333         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
45334         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
45335         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
45336         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
45337         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
45338         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
45339         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
45340         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
45341         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
45342         (R_ARM_THM_GOT_BREL12): Likewise.
45343         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
45344         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
45345         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
45346         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
45347         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
45348         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
45349         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
45350         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
45351         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
45353 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
45355         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
45356         __attribute_used__ to __attribute__ ((unused)).
45358 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
45360         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
45361         powerpc mpa.c.
45362         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
45363         comment formatting.
45364         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
45366 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
45368         [BZ #13550]
45369         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
45370         Remove macro.
45371         (ENTER): Remove both macro definitions.
45372         (LEAVE): Likewise.
45373         (CHECK_BOUNDS_LOW): Likewise.
45374         (CHECK_BOUNDS_HIGH): Likewise.
45375         (CHECK_BOUNDS_BOTH): Likewise.
45376         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
45377         (RETURN_BOUNDED_POINTER): Likewise.
45378         (RETURN_NULL_BOUNDED_POINTER): Likewise.
45379         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
45380         (POP_ERRNO_LOCATION_RETURN): Likewise.
45381         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
45382         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
45383         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
45384         macros.
45385         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
45386         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
45387         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
45388         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
45389         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
45390         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
45391         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
45392         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
45393         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
45394         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
45395         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
45396         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
45397         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
45398         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
45399         removed macros.
45400         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
45401         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
45402         macros.
45403         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
45404         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
45405         * sysdeps/i386/i586/memset.S (memset): Likewise.
45406         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
45407         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
45408         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
45409         macros.
45410         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
45411         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
45412         Change uses of L(2) to L(out).
45413         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
45414         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
45415         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
45416         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
45417         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
45418         removed macros.
45419         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
45420         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
45421         macros.
45422         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
45423         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
45424         (RETURN): Do not use macro LEAVE.
45425         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
45426         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
45427         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
45428         * sysdeps/i386/i686/memset.S (memset): Likewise.
45429         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
45430         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
45431         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
45432         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
45433         Likewise.
45434         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
45435         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
45436         L(1_2) and L(1_3) into L(1).
45437         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
45438         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
45439         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
45440         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
45441         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
45442         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
45443         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
45444         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
45445         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
45446         macros.
45447         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
45448         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
45449         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
45450         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
45451         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
45452         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
45453         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
45454         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
45455         * sysdeps/i386/strcspn.S (strcspn): Likewise.
45456         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
45457         * sysdeps/i386/strrchr.S (strrchr): Likewise.
45458         * sysdeps/i386/strspn.S (strspn): Likewise.
45459         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
45460         conditional code.
45461         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
45462         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
45463         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
45464         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
45465         L(1_3) into L(1_1).
45466         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
45467         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
45468         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
45469         macros.
45470         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
45472 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
45474         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
45475         macro.
45477 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
45479         * math/atest-exp.c (exp_mpn): Remove ROUND.
45480         * math/atest-exp2.c (exp_mpn): Likewise.
45481         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
45483         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
45484         * stdlib/tst-tls-atexit-lib.c: Likewise.
45485         * stdlib/tst-tls-atexit.c: Likewise.
45487 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
45489         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
45490         and __attribute_alloc_size__.
45492 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
45494         * include/programs/xmalloc.h: Change __attribute_alloc_size to
45495         __attribute_alloc_size__.
45496         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
45497         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
45499 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
45501         * include/programs/xmalloc.h: New file.
45502         * catgets/gencat.c: Include it.
45503         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
45504         * elf/pldd.c: Likewise.
45505         * iconv/iconv_charmap.c: Likewise.
45506         * iconv/iconvconfig.c: Likewise.
45507         * iconv/strtab.c: Likewise.
45508         * locale/programs/locale.c: Likewise.
45509         * locale/programs/localedef.h: Likewise.
45510         * locale/programs/simple-hash.c: Likewise.
45511         * nscd/nscd.h: Likewise.
45512         * nss/makedb.c: Likewise.
45513         * sysdeps/generic/ldconfig.h: Likewise.
45515 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
45517         * Versions.def: Add GLIBC_2.18.
45518         * include/link.h (struct link_map): New member l_tls_dtor_count.
45519         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
45520         (__call_tls_dtors): Likewise.
45521         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
45522         __cxa_thread_atexit_impl.
45523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45524         Likewise.
45525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45526         Likewise.
45527         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
45528         Likewise.
45529         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
45530         Likewise.
45531         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
45532         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
45533         Likewise.
45534         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
45535         Likewise.
45536         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
45537         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
45538         Likewise.
45539         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
45540         (tests): Add test case tst-tls-atexit.
45541         (modules-names): Add shared library for tst-tls-atexit.
45542         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
45543         (GLIBC_PRIVATE): Add __call_tls_dtors.
45544         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
45545         for libstdc++.
45546         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
45547         * stdlib/tst-tls-atexit.c: New test case.
45548         * stdlib/tst-tls-atexit-lib.c: New test case.
45550         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
45552         * elf/Versions (ld): Add _dl_find_dso_for_object.
45553         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
45554         * elf/dl-open.c (_dl_find_dso_for_object): New function.
45555         (dl_open_worker): Use _dl_find_dso_for_object.
45556         * elf/dl-sym.c (do_sym): Likewise.
45557         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
45559 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45561         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
45562         Syntactic changes only.
45563         (_dl_runtime_profile): Do a tail-call to the resolved function.
45565 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
45567         [BZ #13550]
45568         * sysdeps/x86_64/bp-asm.h: Remove file.
45569         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
45570         <bp-sym.h> and <bp-asm.h>.
45571         (__clone): Do not use BP_SYM.
45572         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
45573         <bp-sym.h> and <bp-asm.h>.
45574         * sysdeps/unix/x86_64/sysdep.S: Likewise.
45575         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
45576         "bp-asm.h".
45577         (_setjmp): Do not use BP_SYM.
45578         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
45579         "bp-asm.h".
45580         (setjmp): Do not use BP_SYM.
45581         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
45582         libc_hidden_def.
45583         (mempcpy): Do not use BP_SYM in weak_alias.
45584         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
45585         "bp-asm.h".
45586         (strchr): Do not use BP_SYM.
45587         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
45588         "bp-asm.h".
45589         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
45590         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
45591         (_start): Do not use BP_SYM.
45592         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
45593         "bp-asm.h".
45594         (strcat): Do not use BP_SYM.
45595         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
45596         "bp-asm.h".
45597         (STRCMP): Do not use BP_SYM.
45598         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
45599         "bp-asm.h".
45600         (STRCPY): Do not use BP_SYM.
45601         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
45602         "bp-asm.h".
45603         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
45604         "bp-asm.h".
45605         (FUNCTION): Do not use BP_SYM.
45606         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
45607         weak_alias.
45608         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
45610 2013-02-17  Andreas Jaeger  <aj@suse.de>
45612         * time/Versions: Sort entries.
45613         * string/Versions: Likewise.
45614         * resolv/Versions: Likewise.
45615         * posix/Versions: Likewise.
45616         * iconv/Versions: Likewise.
45617         * elf/Versions: Likewise.
45618         * wcsmbs/Versions: Likewise.
45620 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
45622         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
45623         loop termination condition.
45625         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
45626         variable to calculate EZ.
45627         (__sqr): Likewise.
45629         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
45630         the lower precision input.
45632 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
45634         [BZ #13550]
45635         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
45636         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
45637         (run-via-rtld-prefix): Do not handle %-bp tests.
45638         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
45639         (all-object-suffixes): Remove .ob.
45640         (bppfx): Remove variable.
45641         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
45642         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
45643         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
45644         [$(build-bounded) = yes] (libtype.ob): Likewise.
45645         * Makerules (elide-routines.ob): Remove variable.
45646         (do-tests-clean): Do not handle *-bp.out.
45647         (common-mostlyclean): Do not handle *-bp and *-bp.out.
45648         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
45649         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
45650         (tests): Do not include $(tests-bp.out).
45651         (xtests): Do not include $(xtests-bp.out).
45652         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
45653         [$(build-bounded) = yes] ($(addprefix
45654         $(objpfx),$(binaries-bounded))): Remove rule.
45655         ($(objpfx)%-bp.out): Remove rule.
45656         * config.make.in (build-bounded): Remove variable.
45657         * crypt/Makefile [$(build-bounded) = yes]
45658         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
45659         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
45660         append to variable.
45661         [$(build-bounded) = yes] (install-lib): Likewise.
45662         [$(build-bounded) = yes] (generated): Likewise.
45663         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
45664         Remove rule.
45665         * intl/Makefile [$(build-bounded) = yes]
45666         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
45667         * math/Makefile [$(build-bounded) = yes]
45668         ($(tests:%=$(objpfx)%-bp): Likewise.
45669         * misc/Makefile [$(build-bounded) = yes]
45670         ($(objpfx)tst-tsearch-bp): Likewise.
45671         * nptl/Makeconfig (bounded-thread-library): Remove variable.
45672         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
45673         Remove dependency.
45674         * string/Makefile (o-objects.ob): Remove variable.
45675         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
45676         (CFLAGS-.ob): Remove variable.
45677         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
45678         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
45679         both definitions of variable.
45680         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
45681         (ASFLAGS-.ob): Remove variable.
45683 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
45685         [BZ #13550]
45686         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
45687         Remove __BOUNDED_POINTERS__ from condition.
45688         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
45689         * string/bits/string2.h [!__NO_STRING_INLINES &&
45690         !__BOUNDED_POINTERS__]: Likewise.
45691         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
45692         Likewise.
45693         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
45694         Remove conditional code.
45695         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
45696         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
45697         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
45698         condition.
45700         [BZ #13550]
45701         * csu/libc-start.c: Do not include <bp-sym.h>.
45702         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
45703         * elf/dl-open.c: Do not include <bp-sym.h>.
45704         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
45705         * math/fegetenv.c: Do not include <bp-sym.h>.
45706         (fegetenv): Do not use BP_SYM in versioned symbols.
45707         * nptl/sysdeps/pthread/bits/libc-lockP.h
45708         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
45709         <bp-sym.h>.
45710         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45711         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
45712         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45713         (__pthread_mutex_destroy): Likewise.
45714         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45715         (__pthread_mutex_lock): Likewise.
45716         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45717         (__pthread_mutex_trylock): Likewise.
45718         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45719         (__pthread_mutex_unlock): Likewise.
45720         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45721         (__pthread_mutexattr_init): Likewise.
45722         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45723         (__pthread_mutexattr_destroy): Likewise.
45724         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45725         (__pthread_mutexattr_settype): Likewise.
45726         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45727         (__pthread_rwlock_init): Likewise.
45728         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45729         (__pthread_rwlock_destroy): Likewise.
45730         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45731         (__pthread_rwlock_rdlock): Likewise.
45732         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45733         (__pthread_rwlock_tryrdlock): Likewise.
45734         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45735         (__pthread_rwlock_wrlock): Likewise.
45736         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45737         (__pthread_rwlock_trywrlock): Likewise.
45738         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45739         (__pthread_rwlock_unlock): Likewise.
45740         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45741         (__pthread_key_create): Likewise.
45742         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45743         (__pthread_setspecific): Likewise.
45744         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45745         (__pthread_getspecific): Likewise.
45746         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
45747         Likewise.
45748         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45749         (_pthread_cleanup_push_defer): Likewise.
45750         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45751         (_pthread_cleanup_pop_restore): Likewise.
45752         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45753         (pthread_setcancelstate): Likewise.
45754         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
45755         <bp-sym.h>.
45756         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
45757         (memchr): Do not use BP_SYM in weak_alias.
45758         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
45759         (fegetenv): Do not use BP_SYM in versioned symbols.
45760         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
45761         (fesetenv): Do not use BP_SYM in versioned symbols.
45762         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
45763         (feupdateenv): Do not use BP_SYM in versioned symbols.
45764         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
45765         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
45766         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
45767         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
45768         (open64): Do not use BP_SYM in weak_alias.
45769         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
45770         (fegetenv): Do not use BP_SYM in versioned symbols.
45771         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
45772         (fesetenv): Do not use BP_SYM in versioned symbols.
45773         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
45774         (feupdateenv): Do not use BP_SYM in versioned symbols.
45775         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
45776         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
45777         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
45778         (feraiseexcept): Do not use BP_SYM in versioned symbols.
45779         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
45780         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
45781         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
45782         <bp-sym.h>.
45783         (__libc_start_main): Do not use BP_SYM.
45785 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
45787         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
45788         redundant return line.
45789         (norm): Likewise.
45790         (denorm): Likewise.
45791         (dbl_mp): Likewise.
45792         (sub_magnitudes): Likewise.
45793         (__add): Likewise.
45794         (__sub): Likewise.
45795         (__mul): Likewise.
45796         (__inv): Likewise.
45797         (__dvd): Likewise.
45798         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
45799         (norm): Likewise.
45800         (denorm): Likewise.
45801         (dbl_mp): Likewise.
45802         (sub_magnitudes): Likewise.
45803         (__add): Likewise.
45804         (__sub): Likewise.
45805         (__mul): Likewise.
45806         (__inv): Likewise.
45807         (__dvd): Likewise.
45809         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
45810         instead of __mul.
45811         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
45812         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
45813         (cc32): Likewise.
45815         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
45816         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
45817         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
45818         of __mul for squares.
45819         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
45820         function
45821         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
45822         Likewise.
45823         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
45824         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
45826 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
45828         [BZ #13550]
45829         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
45830         code.
45831         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
45832         prototype or function definition.  Rename ubp_* variables and
45833         parameters.  Remove argv definitions conditional on
45834         [__BOUNDED_POINTERS__].
45835         * debug/backtrace.c (__backtrace): Do not use __unbounded.
45836         * elf/dl-runtime.c (_dl_fixup): Likewise.
45837         * include/set-hooks.h (RUN_HOOK): Likewise.
45838         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
45839         definition.
45840         * string/strcpy.c (strcpy): Do not use __unbounded.
45841         * sysdeps/generic/frame.h (struct layout): Likewise.
45842         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
45843         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
45844         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
45845         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
45846         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
45847         (__backtrace): Likewise.
45848         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
45849         use __ptrvalue.
45850         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
45851         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
45852         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
45853         Likewise.
45854         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
45855         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
45856         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
45857         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
45858         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
45859         Do not use __unbounded.
45860         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
45861         Rename __unboundedrlimits parameter to rlimits in prototype.
45862         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
45863         Do not use __unbounded.
45864         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
45865         not use __ptrvalue.
45866         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
45867         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
45868         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
45869         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
45870         __ptrvalue or __unbounded.
45871         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
45872         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
45873         use __unbounded.
45874         (__new_msgctl): Do not use __ptrvalue.
45875         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
45876         __unbounded.
45877         (__libc_msgrcv): Do not use __ptrvalue.
45878         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
45879         startup_info): Do not use __unbounded.
45880         (__libc_start_main): Likewise.  Rename ubp_* variables and
45881         parameters.  Remove argv definitions conditional on
45882         [__BOUNDED_POINTERS__].
45883         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
45884         __ptrvalue.
45885         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
45886         use __unbounded.
45887         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
45888         or __ptrvalue.
45889         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
45890         use __unbounded.
45891         (__new_shmctl): Do not use __ptrvalue.
45892         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
45893         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
45894         Likewise.
45895         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
45896         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
45897         (__libc_sigaction): Likewise.
45898         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
45899         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
45900         Likewise.
45901         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
45903 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
45905         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
45907         * string/mempcpy.c: Implement by calling memcpy.
45909 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
45911         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
45913         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
45914         evaluation.
45916         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
45917         values in the mantissa.
45919         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
45920         minimize writes to Z.
45921         (sub_magnitudes): Simplify code a bit.
45923 2013-02-12  Roland McGrath  <roland@hack.frob.com>
45925         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
45926         from the message.  The linker prefixes all warnings with that already.
45928 2013-02-12  Andreas Schwab  <schwab@suse.de>
45930         [BZ #15078]
45931         * posix/regexec.c (extend_buffers): Add parameter min_len.
45932         (check_matching): Pass minimum needed length.
45933         (clean_state_log_if_needed): Likewise.
45934         (get_subexp): Likewise.
45935         * posix/Makefile (tests): Add bug-regex34.
45936         (bug-regex34-ENV): Define.
45937         * posix/bug-regex34.c: New file.
45939         [BZ #11561]
45940         * posix/regcomp.c (parse_bracket_exp): When looking up collating
45941         elements compare against the byte sequence of it, not its name.
45942         * posix/Makefile (tests): Add bug-regex35.
45943         (bug-regex35-ENV): Define.
45944         * posix/bug-regex35.c: New file.
45946 2013-02-11  Tom de Vries  <tom@codesourcery.com>
45948         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
45949         comment.
45950         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
45951         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
45952         (CHECK_EOL): Add undef.
45954 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
45956         * bits/stdlib-bsearch.h: New file.
45957         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
45958         * stdlib/stdlib.h: Likewise.
45960 2013-02-11  Roland McGrath  <roland@hack.frob.com>
45962         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
45963         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
45964         declaration.
45965         * manual/search.texi (Array Search Function): Add missing const in
45966         lfind prototype.
45967         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
45968         declaration to use rlim_t.
45969         (Basic Scheduling Functions): Remove erroneous const from
45970         sched_getparam prototype.  Remove erroneous * from
45971         sched_get_priority_max and sched_get_priority_min prototypes.
45972         (Resource Usage): Fix summary @comment on vtimes to refer to
45973         sys/vtimes.h rather than vtimes.h.
45974         Add missing *s in vtimes prototype.
45975         (Limits on Resources): Fix ulimit prototype to return long int.
45976         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
45977         prototypes to use long int rather than double.
45978         (BSD Random): Fix initstate and setstate to use char *, not void *.
45979         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
45980         prototype to make second argument 'struct aiocb64 *const[]'.
45981         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
45982         (Status of AIO Operations): Remove erroneous const in aio_return and
45983         aio_return64 prototypes.
45984         (Synchronizing I/O): Fix sync prototype to return void.
45985         * manual/startup.texi (Suboptions): Remove an erroneous const in
45986         getsubopt prototype.
45987         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
45988         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
45989         use size_t rather than int.
45990         (Scanning All Users): Likewise for getpwent_r.
45991         (Setting Groups): Add missing const to setgroups prototype.
45992         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
45993         * manual/socket.texi (Host Names): Fix gethostbyaddr and
45994         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
45995         'const void *' rather than 'const char *'.
45996         (Host Address Functions): Likewise for inet_ntop.
45997         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
45998         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
45999         ssize_t for return value.
46000         (Sending Data): Likewise for send, sendto, sendmsg.
46001         (Socket Option Functions): Add a missing const in setsockopt prototype.
46002         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
46003         use wchar_t for the argument.
46004         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
46005         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
46006         take no arguments.
46007         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
46008         double/float/long double for second argument.
46009         Fix return types of significand, significandf, significandl.
46010         * manual/filesys.texi (Setting Permissions): Use mode_t for second
46011         argument in fchmod prototype.
46012         (File Owner): Use uid_t and gid_t in fchown prototype.
46013         (File Times): Add const to utimes, futimes, and lutimes prototypes.
46014         (Making Special Files): Use mode_t and dev_t in mknod prototype.
46015         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
46016         use 'const struct dirent **' as argument types to CMP function pointer
46017         argument.
46018         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
46019         (File Times): Fix summary magic @comment for struct utimbuf and utime
46020         to refer to utime.h, not time.h.
46021         * manual/string.texi (Argz Functions): Add missing const in
46022         argz_extract and argz_next prototypes.
46023         (Finding Tokens in a String): Likewise for basename.
46024         (String/Array Comparison): Fix typo in wcscasecmp prototype.
46025         (Copying and Concatenation): Fix typo in wmemmove prototype.
46026         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
46027         (Signal Stack): Remove erroneous const in sigstack prototype.
46028         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
46029         prototype.
46030         (Simple Calendar Time): Likewise for stime.
46031         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
46032         prototype.
46033         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
46034         say sys/sysctl.h instead.
46035         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
46036         and vsyslog prototypes.
46038 2013-02-11  Tom de Vries  <tom@codesourcery.com>
46040         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
46041         Remove.
46043 2013-02-11  Roland McGrath  <roland@hack.frob.com>
46045         * misc/sys/mman.h: Fix typo in mremap comment.
46047 2013-02-08  Roland McGrath  <roland@hack.frob.com>
46049         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
46050         the '\0' terminator.
46052 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
46054         [BZ #13550]
46055         * debug/segfault.c: Don't include <bp-checks.h>.
46056         * sysdeps/generic/bp-checks.h: Remove file.
46057         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
46058         (__GETDENTS): Don't use CHECK_N.
46059         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
46060         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
46061         (__getgroups): Don't use CHECK_N.
46062         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
46063         (setgroups): Don't use CHECK_N.
46064         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
46065         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
46066         (__libc_msgrcv): Don't use CHECK_N.
46067         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
46068         (__libc_msgsnd): Don't use CHECK_N.
46069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
46070         <bp-checks.h>.
46071         (__libc_pread): Don't use CHECK_N.
46072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
46073         include <bp-checks.h>.
46074         (__libc_pread64): Don't use CHECK_N.
46075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
46076         include <bp-checks.h>.
46077         (__libc_pwrite): Don't use CHECK_N.
46078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
46079         include <bp-checks.h>.
46080         (__libc_pwrite64): Don't use CHECK_N.
46081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
46082         <bp-checks.h>.
46083         (__libc_pread): Don't use CHECK_N.
46084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
46085         include <bp-checks.h>.
46086         (__libc_pread64): Don't use CHECK_N.
46087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
46088         include <bp-checks.h>.
46089         (__libc_pwrite): Don't use CHECK_N.
46090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
46091         include <bp-checks.h>.
46092         (__libc_pwrite64): Don't use CHECK_N.
46093         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
46094         (do_pread): Don't use CHECK_N.
46095         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
46096         (do_pread64): Don't use CHECK_N.
46097         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
46098         (do_pwrite): Don't use CHECK_N.
46099         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
46100         (do_pwrite64): Don't use CHECK_N.
46101         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
46102         (__libc_readv): Don't use CHECK_N.
46103         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
46104         (semop): Don't use CHECK_N.
46105         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
46106         <bp-checks.h>.
46107         (semtimedop): Don't use CHECK_N.
46108         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
46109         (__libc_pread): Don't use CHECK_N.
46110         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
46111         <bp-checks.h>.
46112         (__libc_pread64): Don't use CHECK_N.
46113         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
46114         <bp-checks.h>.
46115         (__libc_pwrite): Don't use CHECK_N.
46116         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
46117         <bp-checks.h>.
46118         (__libc_pwrite64): Don't use CHECK_N.
46119         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
46120         <bp-checks.h>.
46121         (__libc_msgrcv): Don't use CHECK_N.
46122         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
46123         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
46124         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
46125         (__libc_writev): Don't use CHECK_N.
46127 2013-02-08  Roland McGrath  <roland@hack.frob.com>
46129         * string/strcpy.c: Removed unused variable.
46131         * Makeconfig (+sysdep-includes): Define with := rather than =.
46132         Use an existing include/ subdir of each sysdeps dir before it.
46134 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
46136         * nscd/connection.c (register_traced_file): Comment function.
46137         [HAVE_INOTIFY] (union __inev): Define.
46138         [HAVE_INOTIFY] (inotify_check_files): New function.
46139         [HAVE_INOTIFY] (clear_db_cache): Likewise.
46140         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
46141         clear_db_cache.
46142         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
46144 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
46146         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
46147         loaded if not already and that a failure is permanent.
46149 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
46151         [BZ #15006]
46152         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
46153         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
46155 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
46157         [BZ #13550]
46158         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
46159         (CHECK_1_NULL_OK): Likewise.
46160         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
46161         (__fxstat): Do not use CHECK_1.
46162         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
46163         <bp-checks.h>.
46164         (___fxstat64): Do not use CHECK_1.
46165         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
46166         <bp-checks.h>.
46167         (__fxstatat): Do not use CHECK_1.
46168         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
46169         <bp-checks.h>.
46170         (__fxstatat64): Do not use CHECK_1.
46171         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
46172         <bp-checks.h>.
46173         (__fxstat): Do not use CHECK_1.
46174         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
46175         <bp-checks.h>.
46176         (__fxstatat): Do not use CHECK_1.
46177         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
46178         <bp-checks.h>.
46179         (__getresgid): Do not use CHECK_1.
46180         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
46181         <bp-checks.h>.
46182         (__getresuid): Do not use CHECK_1.
46183         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
46184         <bp-checks.h>.
46185         (__lxstat): Do not use CHECK_1.
46186         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
46187         <bp-checks.h>.
46188         (__old_msgctl): Do not use CHECK_1.
46189         (__new_msgctl): Likewise.
46190         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
46191         <bp-checks.h>.
46192         (__new_setrlimit): Do not use CHECK_1.
46193         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
46194         <bp-checks.h>.
46195         (__old_shmctl): Do not use CHECK_1.
46196         (__new_shmctl): Likewise.
46197         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
46198         <bp-checks.h>.
46199         (__xstat): Do not use CHECK_1.
46200         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
46201         (__lxstat): Do not use CHECK_1.
46202         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
46203         <bp-checks.h>.
46204         (___lxstat64): Do not use CHECK_1.
46205         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
46206         (__old_msgctl): Do not use CHECK_1.
46207         (__new_msgctl): Likewise.
46208         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
46209         <bp-checks.h>.
46210         (__gettimeofday): Do not use CHECK_1.
46211         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
46212         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
46213         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
46214         <bp-checks.h>.
46215         (__gettimeofday): Do not use CHECK_1.
46216         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
46217         (__old_shmctl): Do not use CHECK_1_NULL_OK.
46218         (__new_shmctl): Do not use CHECK_1.
46219         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
46220         <bp-checks.h>.
46221         (do_sigtimedwait): Do not use CHECK_1.
46222         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
46223         <bp-checks.h>.
46224         (do_sigwaitinfo): Do not use CHECK_1.
46225         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
46226         <bp-checks.h>.
46227         (msgctl): Do not use CHECK_1.
46228         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
46229         <bp-checks.h>.
46230         (shmctl): Do not use CHECK_1.
46231         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
46232         (ustat): Do not use CHECK_1.
46233         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
46234         <bp-checks.h>.
46235         (__fxstat): Do not use CHECK_1.
46236         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
46237         <bp-checks.h>.
46238         (__fxstatat): Do not use CHECK_1.
46239         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
46240         <bp-checks.h>.
46241         (__lxstat): Do not use CHECK_1.
46242         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
46243         <bp-checks.h>.
46244         (__xstat): Do not use CHECK_1.
46245         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
46246         (__xstat): Do not use CHECK_1.
46247         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
46248         (___xstat64): Do not use CHECK_1.
46250         [BZ #13550]
46251         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
46252         definitions.
46253         (CHECK_BOUNDS_HIGH): Likewise.
46254         * string/strcpy.c: Do not include <bp-checks.h>.
46255         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
46257 2013-02-07  Roland McGrath  <roland@hack.frob.com>
46259         * nscd/nscd-client.h (__nscd_drop_map_ref):
46260         Add __attribute__ ((unused)).
46261         * nis/nss-nisplus.h (niserr2nss): Likewise.
46263         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
46264         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
46266         * csu/libc-tls.c (init_static_tls, init_slotinfo):
46267         Remove inline keyword.
46268         * include/rounding-mode.h (round_away): Likewise.
46269         * libio/wfileops.c (adjust_wide_data): Likewise.
46270         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
46271         (__m128i_strloadu_tolower): Likewise.
46272         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
46273         (__m128i_strloadu_tolower): Likewise.
46274         * time/mktime.c (ydhms_diff): Likewise.
46275         * locale/elem-hash.h (elem_hash): Likewise.
46276         * locale/setlocale.c (setdata): Likewise.
46277         * posix/regex_internal.h (re_string_char_size_at): Likewise.
46278         (re_string_wchar_at): Likewise.
46279         (bitset_not, bitset_merge, bitset_mask): Likewise.
46280         [!(__GNUC__ > 3)] (inline): Remove macro.
46281         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
46282         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
46283         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
46284         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
46285         * string/memcmp.c (memcmp_bytes): Likewise.
46286         * locale/programs/locarchive.c (compute_hashval): Likewise.
46287         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
46288         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
46289         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
46290         * nss/getent.c (print_rpc, print_protocols): Likewise.
46291         (print_passwd, print_group, print_aliases): Likewise.
46292         * nis/nss-nisplus.h (niserr2nss): Likewise.
46293         * nscd/connections.c (restart_p): Likewise.
46294         Change return type to bool.
46296 2013-02-05  Roland McGrath  <roland@hack.frob.com>
46298         * Makeconfig (all-Depend-files): Add existing
46299         $(sorted-subdirs:=/Depend) files.
46300         (all-subdirs): Remove nss.
46301         * sysdeps/unix/inet/Subdirs: Add it here instead.
46302         * hesiod/Depend: New file.
46304         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
46305         instead of calling alloca.
46307         * io/lseek.c (__lseek): Rename to __libc_lseek.
46308         Define __lseek as an alias.
46310         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
46312 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
46314         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
46315         else clause and remove check for non-standard endianness.
46317 2013-02-04  David S. Miller  <davem@davemloft.net>
46319         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46321 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
46323         [BZ #13550]
46324         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
46325         (__ubp_memchr): Remove prototype.
46326         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
46327         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
46328         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
46329         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
46330         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
46331         Remove alias.
46332         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
46333         (__ubp_memchr): Likewise.
46334         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
46335         (__ubp_memchr): Likewise.
46336         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
46337         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
46338         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
46339         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
46340         CHECK_STRING.
46341         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
46342         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
46343         (__getcwd): Do not use CHECK_STRING.
46344         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
46345         <bp-checks.h>.
46346         (__real_chown): Do not use CHECK_STRING.
46347         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
46348         <bp-checks.h>.
46349         (fchownat): Do not use CHECK_STRING.
46350         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
46351         CHECK_STRING.
46352         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
46353         <bp-checks.h>.
46354         (__lchown): Do not use CHECK_STRING.
46355         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
46356         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
46357         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
46358         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
46359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
46360         include <bp-checks.h>.
46361         (truncate64): Do not use CHECK_STRING.
46362         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
46363         <bp-checks.h>.
46364         (__real_chown): Do not use CHECK_STRING.
46365         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
46366         <bp-checks.h>.
46367         (__lchown): Do not use CHECK_STRING.
46368         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
46369         <bp-checks.h>.
46370         (__chown): Do not use CHECK_STRING.
46371         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
46372         <bp-checks.h>.
46373         (truncate64): Do not use CHECK_STRING.
46374         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
46375         Likewise.
46376         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
46377         (__xmknod): Do not use CHECK_STRING.
46378         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
46379         <bp-checks.h>.
46380         (__xmknodat): Do not use CHECK_STRING.
46381         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
46382         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
46384 2013-02-04  Andreas Schwab  <schwab@suse.de>
46386         [BZ #14142]
46387         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
46388         * include/netdb.h: Likewise for h_errno.
46389         * elf/tst-stackguard1.c: Include <tls.h>.
46391 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
46393         * elf/link.h (struct link_map): Extend the l_addr comment.
46394         * include/link.h (struct link_map): Likewise.
46396 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
46398         [BZ #13550]
46399         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
46400         (BOUNDED_1): Remove macro.
46401         * debug/backtrace.c: Don't include <bp-checks.h>.
46402         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
46403         (__backtrace): Likewise.
46404         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
46405         <bp-checks.h>.
46406         (__backtrace): Don't use BOUNDED_1.
46407         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
46408         <bp-checks.h>.
46409         (__backtrace): Don't use BOUNDED_1.
46410         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
46411         (__backtrace): Don't use BOUNDED_1.
46412         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
46413         (shmat): Don't use BOUNDED_N.
46415 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
46417         [BZ #13550]
46418         * sysdeps/generic/bp-start.h: Remove file.
46419         * csu/libc-start.c: Don't include <bp-start.h>.
46420         (LIBC_START_MAIN): Set up __environ directly instead of using
46421         INIT_ARGV_and_ENVIRON.
46422         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
46423         <bp-start.h>.
46425         [BZ #13550]
46426         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
46427         definitions.
46428         (CHECK_FCNTL): Likewise.
46429         (CHECK_N_PAGES): Likewise.
46431         [BZ #13550]
46432         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
46433         definitions.
46434         (CHECK_SIGSET_NULL_OK): Likewise.
46435         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
46436         <bp-checks.h>.
46437         (sigpending): Don't use CHECK_SIGSET.
46438         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
46439         <bp-checks.h>.
46440         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
46441         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
46442         <bp-checks.h>.
46443         (do_sigsuspend): Don't use CHECK_SIGSET.
46444         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
46445         use CHECK_SIGSET.
46446         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
46447         (do_sigwait): Don't use CHECK_SIGSET.
46448         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
46449         use CHECK_SIGSET.
46450         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
46451         include <bp-checks.h>.
46452         (sigpending): Don't use CHECK_SIGSET.
46453         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
46454         include <bp-checks.h>.
46455         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
46456         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
46457         <bp-checks.h>.
46458         (sigpending): Don't use CHECK_SIGSET.
46459         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
46460         <bp-checks.h>.
46461         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
46463         [BZ #13550]
46464         * sysdeps/generic/bp-semctl.h: Remove file.
46465         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
46466         <bp-checks.h> and <bp-semctl.h>.
46467         (__old_semctl): Don't use CHECK_SEMCTL.
46468         (__new_semctl): Likewise.
46469         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
46470         and <bp-semctl.h>.
46471         (__old_semctl): Don't use CHECK_SEMCTL.
46472         (__new_semctl): Likewise.
46473         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
46474         <bp-checks.h> and <bp-semctl.h>.
46475         (__old_semctl): Don't use CHECK_SEMCTL.
46476         (__new_semctl): Likewise.
46477         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
46478         <bp-checks.h> and <bp-semctl.h>.
46479         (semctl): Don't use CHECK_SEMCTL.
46481         [BZ #13550]
46482         * Makerules (elide-bp-thunks): Remove variable.
46483         (elide-routines.oS): Don't use $(elide-bp-thunks).
46484         (elide-routines.os): Likewise.
46485         (elide-routines.o): Likewise.
46486         (elide-routines.op): Likewise.
46487         (elide-routines.og): Likewise.
46488         (objects): Don't use $(bp-thunks).
46489         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
46490         include.
46491         (common-generated): Do not add s-proto-bp.d.
46492         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
46493         (int): Likewise.
46494         (typ): Likewise.
46495         Do not generate makefile rules for bounded-pointer thunks.
46496         * sysdeps/generic/bp-thunks.h: Remove file.
46497         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
46498         * sysdeps/unix/s-proto-bp.S: Likewise.
46500         [BZ #15062]
46501         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
46502         parts of result separately when argument is not close to line from
46503         -i to i and one part of argument is small.
46504         * math/k_casinhf.c (__kernel_casinhf): Likewise.
46505         * math/k_casinhl.c (__kernel_casinhl): Likewise.
46506         * math/libm-test.inc (cacos_test): Add more tests.
46507         (casin_test): Likewise.
46508         (casinh_test): Likewise.
46509         * sysdeps/i386/fpu/libm-test-ulps: Update.
46510         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46512 2013-01-31  David S. Miller  <davem@davemloft.net>
46514         * po/de.po: Update from translation team.
46516 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
46518         * time/tzfile.c: Include stdint.h for SIZE_MAX.
46520 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
46522         * configure.in (_AC_PROG_CC_C89): New definition.
46523         * configure: Regenerate.
46525         * configure.in (AC_PROG_CPP): New definition.
46526         * configure: Regenerate.
46528 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
46530         * debug/tst-backtrace.h: New file.
46531         * debug/tst-backtrace2.c: Include tst-backtrace.h.
46532         (ret): Remove variable.
46533         (x): Likewise.
46534         (FAIL): Remove macro.
46535         (NO_INLINE): Likewise.
46536         (fn1): Use match function instead of strstr.
46537         * debug/tst-backtrace3.c: Include tst-backtrace.h.
46538         (ret): Remove variable.
46539         (x): Likewise.
46540         (FAIL): Remove macro.
46541         (NO_INLINE): Likewise.
46542         (fn): Use match function instead of strstr.
46543         * debug/tst-backtrace4.c: Include tst-backtrace.h.
46544         (ret): Remove variable.
46545         (x): Likewise.
46546         (FAIL): Remove macro.
46547         (NO_INLINE): Likewise.
46548         (handle_signal): Use match function instead of strstr.
46549         * debug/tst-backtrace5.c: Include tst-backtrace.h.
46550         (ret): Remove variable.
46551         (x): Likewise.
46552         (FAIL): Remove macro.
46553         (NO_INLINE): Likewise.
46554         (handle_signal): Use match function instead of strstr.
46556 2013-01-23  Roland McGrath  <roland@hack.frob.com>
46558         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
46560 2013-01-23  David S. Miller  <davem@davemloft.net>
46562         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
46563         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
46564         argument of CAS if possible.
46565         * sysdeps/sparc/sparc64/bits/atomic.h
46566         (__arch_compare_and_exchange_val_32_acq): Likewise.
46567         (__arch_compare_and_exchange_val_64_acq): Likewise.
46569 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
46571         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
46572         * sysdeps/posix/ulimit.c: ... this.
46573         Include <limits.h>.
46574         * sysdeps/unix/bsd/ulimit.c: Remove file.
46576 2013-01-23  Adam Conrad  <adconrad@0c3.net>
46578         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
46579         (LDFLAGS-tst-array5): Likewise.
46581 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
46583         [BZ #15036]
46584         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
46585         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
46586         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
46587         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
46589 2013-01-21  David S. Miller  <davem@davemloft.net>
46591         * sysdeps/sparc/backtrace.c: New file.
46592         * sysdeps/sparc/sparc32/backtrace.h: New file.
46593         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
46594         * sysdeps/sparc/sparc64/backtrace.h: New file.
46595         * sysdeps/sparc/sparc64/backtrace.c: Delete.
46596         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
46597         -funwind-tables.
46599 2013-01-21  Andreas Schwab  <schwab@suse.de>
46601         [BZ #15020]
46602         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
46603         closed its stdout.
46605 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
46607         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
46608         "mpa2.h".
46609         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
46611 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
46612             Mark Mitchell  <mark@codesourcery.com>
46613             Tom de Vries  <tom@codesourcery.com>
46614             Paul Pluzhnikov  <ppluzhnikov@google.com>
46616         * debug/tst-backtrace2.c: New file.
46617         * debug/tst-backtrace3.c: Likewise.
46618         * debug/tst-backtrace4.c: Likewise.
46619         * debug/tst-backtrace5.c: Likewise.
46620         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
46621         (CFLAGS-tst-backtrace3.c): Likewise.
46622         (CFLAGS-tst-backtrace4.c): Likewise.
46623         (CFLAGS-tst-backtrace5.c): Likewise.
46624         (LDFLAGS-tst-backtrace2): Likewise.
46625         (LDFLAGS-tst-backtrace3): Likewise.
46626         (LDFLAGS-tst-backtrace4): Likewise.
46627         (LDFLAGS-tst-backtrace5): Likewise.
46628         (tests): Add new tests tst-backtrace2, tst-backtrace3,
46629         tst-backtrace4 and tst-backtrace5.
46631 2013-01-18  Anton Blanchard  <anton@samba.org>
46632             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46634         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
46635         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
46636         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
46637         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
46638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
46639         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
46640         "+r" and remove output regs list as redundant.  Add explicit inline
46641         asm to specify register of return val to work around compiler codegen
46642         bug.  Remove (int) cast on return value.  Add return type parameter to
46643         use in macro so that this macro does not truncate return value for
46644         64-bit values.
46645         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
46646         pass to INTERNAL_VSYSCALL_NCS.
46647         (INLINE_VSYSCALL): Add 'long int' as return type to
46648         INTERNAL_VSYSCALL_NCS macro invocation.
46649         (INTERNAL_VSYSCALL): Add 'long int' as return type to
46650         INTERNAL_VSYSCALL_NCS macro invocation.
46651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
46653 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
46655         [BZ #14496]
46656         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
46657         Fix application of SIMD FP exception mask.
46659         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
46660         mp_no from a power of two.
46661         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
46662         __mpexp_twomm1.  Use __pow_mp.
46664         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
46665         multiplication.
46667 2013-01-17  David S. Miller  <davem@davemloft.net>
46669         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46671 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
46673         [BZ #15023]
46674         * include/complex.h: Condition contents on [!_COMPLEX_H].
46675         (__kernel_casinhf): New prototype.
46676         (__kernel_casinh): Likewise.
46677         (__kernel_casinhl): Likewise.
46678         * math/Makefile (libm_calls): Add k_casinh.
46679         * math/k_casinh.c: New file.
46680         * math/k_casinhf.c: Likewise.
46681         * math/k_casinhl.c: Likewise.
46682         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
46683         finite nonzero arguments.
46684         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
46685         finite nonzero arguments.
46686         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
46687         finite nonzero arguments.
46688         * math/s_casinh.c: Do not include <float.h>.
46689         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
46690         * math/s_casinhf.c: Do not include <float.h>.
46691         (__casinhf): Move code for finite nonzero arguments to
46692         k_casinhf.c.
46693         * math/s_casinhl.c: Do not include <float.h>.
46694         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
46695         redefine.
46696         (__casinhl): Move code for finite nonzero arguments to
46697         k_casinhl.c.
46698         * math/libm-test.inc (cacos_test): Add more tests.
46699         * sysdeps/i386/fpu/libm-test-ulps: Update.
46700         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46702 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
46704         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
46705         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
46706         [!HAVE_MREMAP]: Remove [defined linux] case.
46707         * malloc/arena.c: Do not include <malloc-sysdep.h>.
46709 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
46711         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
46713 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
46715         * elf/elf.h (R_386_SIZE32): New relocation.
46716         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
46717         R_386_SIZE32.
46718         (elf_machine_rela): Likewise.
46719         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
46720         R_X86_64_SIZE64 and R_X86_64_SIZE32.
46722 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
46724         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
46725         (FP_FAST_FMA): Do not define.
46726         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
46727         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
46728         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
46729         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
46730         !_SOFT_FLOAT]: Likewise.
46731         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
46732         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
46733         value.
46734         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
46735         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
46736         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
46737         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
46738         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
46739         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
46740         file.
46742 2013-01-16  Andreas Schwab  <schwab@suse.de>
46744         [BZ #14327]
46745         * include/stdlib.h (__mktemp): Add declaration.
46746         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
46747         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
46749 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
46751         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
46752         definitions.
46753         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
46754         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
46755         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
46756         definitions here.
46757         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
46758         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
46759         definitions.
46760         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
46761         and ONE.
46762         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
46763         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
46764         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
46765         definitions.
46766         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
46767         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
46768         definitions.
46769         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
46771         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
46773 2013-01-15  David S. Miller  <davem@davemloft.net>
46775         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
46776         trunc{,f} to libm-sysdep_routes.
46777         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
46778         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
46779         file.
46780         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
46781         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
46782         file.
46783         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
46784         file.
46785         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
46786         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
46787         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
46788         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
46789         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
46790         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
46791         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
46792         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
46794         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
46795         nearbyint{,f} to libm-sysdep_routes.
46796         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
46797         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
46798         New file.
46799         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
46800         file.
46801         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
46802         New file.
46803         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
46804         file.
46805         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
46806         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
46807         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
46808         file.
46809         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
46810         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
46811         file.
46812         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
46813         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
46814         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
46816         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
46817         libc_feholdexcept and libc_fesetenv.
46819 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
46821         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
46823 2013-01-14  David S. Miller  <davem@davemloft.net>
46825         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
46826         (SPARC_ASM_VIS2_IFUNC): Likewise.
46827         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
46828         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
46829         use of 'siam' instruction.
46830         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
46831         Likewise.
46832         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
46833         Likewise.
46834         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
46835         Likewise.
46836         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
46837         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
46838         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
46839         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
46840         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
46841         file.
46842         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
46843         file.
46844         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
46845         file.
46846         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
46847         file.
46848         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
46849         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
46850         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
46851         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
46852         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
46853         new VIS2 routines.
46854         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
46855         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
46856         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
46857         Likewise.
46858         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
46859         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
46860         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
46861         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
46862         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
46863         routines to libm-sysdep_routines.
46864         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
46866         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
46867         fdim/fdimf to libm-sysdep_routines.
46868         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
46869         file.
46870         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
46871         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
46872         file.
46873         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
46874         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
46875         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
46876         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
46877         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
46878         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
46879         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
46881 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
46883         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
46884         to optimize copies.
46886         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
46887         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
46888         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
46890         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
46891         local variable MPTWO.
46892         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
46893         Likewise.
46895 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
46897         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
46898         GLOB_NOESCAPE.
46900 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
46902         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
46904 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
46906         * manual/pattern.texi (glob_t): Document gl_flags.
46907         (glob64_t): Likewise.
46909 2013-01-11  David S. Miller  <davem@davemloft.net>
46911         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
46912         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
46913         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
46914         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
46915         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
46916         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
46917         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
46918         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
46919         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
46920         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
46921         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
46922         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
46923         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
46925         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
46926         sparc V9 rather than using V8 code.
46927         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
46928         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
46930         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
46931         Move to...
46932         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
46933         Here.
46935 2013-01-11  Roland McGrath  <roland@hack.frob.com>
46937         [BZ #14941]
46938         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
46939         not in the main loop.
46940         * configure: Regenerated.
46942 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
46944         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
46945         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
46946         to just #else.
46947         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
46948         [!__GLIBC_HAVE_LONG_LONG] case.
46949         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
46950         condition to just #else.
46951         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
46952         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
46953         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
46954         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
46955         unconditional.
46956         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
46957         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
46958         #elif condition to just #else.
46959         * sysdeps/unix/sysv/linux/sys/sysmacros.h
46960         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
46961         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
46962         #elif condition to just #else.
46964 2013-01-11  Steve Ellcey  <sellcey@mips.com>
46966         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
46967         (EF_MIPS_ARCH_64): Fix value.
46968         (EF_MIPS_ARCH_32R2): New.
46969         (EF_MIPS_ARCH_64R2): New.
46971 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
46973         * Makeconfig (+link-pie-before-libc): New.
46974         (+link-pie-after-libc): Likewise.
46975         (+link-pie-tests): Likewise.
46976         (+link-pie): Rewritten.
46977         (link-before-libc): Remove $(config-LDFLAGS).
46978         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
46979         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
46980         (config-LDFLAGS): Renamed to ...
46981         (rtld-LDFLAGS): This.
46982         (rtld-tests-LDFLAGS): New macro.
46983         (link-libc-rpath-link): Likewise.
46984         (link-libc-tests-rpath-link): Likewise.
46985         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
46986         (link-libc): Prepand $(link-libc-rpath-link).
46987         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
46988         (test-program-prefix): New macro.
46989         (test-via-rtld-prefix): Likewise.
46990         (test-program-cmd): Likewise.
46991         (host-test-program-cmd): Likewise.
46992         * Makefile ($(common-objpfx)testrun.sh): Replace
46993         $(run-program-prefix) with $(test-program-prefix).
46994         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
46995         $(rtld-LDFLAGS).
46996         ($(common-objpfx)shlib.lds): Likewise.
46997         (build-module-helper): Likewise.
46998         ($(common-objpfx)format.lds): Likewise.
46999         * Rules (binaries-pie-tests): New.
47000         (binaries-pie-notests): Likewise.
47001         (binaries-pie): Rewritten.
47002         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
47003         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
47004         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
47005         (make-test-out): Replace $(host-built-program-cmd) with
47006         $(host-test-program-cmd).
47007         * config.make.in (build-hardcoded-path-in-tests): New variable.
47008         * configure.in (--enable-hardcoded-path-in-tests): New configure
47009         option.
47010         (hardcoded_path_in_tests): New AC_SUBST.
47011         * configure: Regenerated.
47012         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
47013         $(built-program-cmd) with $(test-program-cmd).
47014         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
47015         (test_program_cmd): This.
47016         * elf/Makefile ($(objpfx)order.out): Run test with
47017         $(test-program-prefix).
47018         ($(objpfx)order2.out): Likewise.
47019         ($(objpfx)tst-initorder.out): Likewise.
47020         ($(objpfx)tst-initorder2.out): Likewise.
47021         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
47022         $(test-program-cmd).
47023         ($(objpfx)tst-array1-static.out): Likewise.
47024         ($(objpfx)tst-array2.out): Likewise.
47025         ($(objpfx)tst-array3.out): Likewise.
47026         ($(objpfx)tst-array4.out): Likewise.
47027         ($(objpfx)tst-array5.out): Likewise.
47028         ($(objpfx)tst-array5-static.out): Likewise.
47029         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
47030         $(test-program-cmd).
47031         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
47032         $(run-program-prefix) with $(test-program-prefix).
47033         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
47034         (test_program_prefix): This.
47035         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
47036         $(run-program-prefix) with $(test-program-prefix).
47037         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
47038         (test_program_prefix): This.
47039         * iconvdata/tst-tables.sh: Likewise.
47040         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
47041         $(run-program-prefix) with $(test-program-prefix).
47042         ($(objpfx)tst-translit.out): Likewise.
47043         ($(objpfx)tst-gettext2.out): Likewise.
47044         ($(objpfx)tst-gettext4.out): Likewise.
47045         ($(objpfx)tst-gettext6.out): Likewise.
47046         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
47047         (test_program_prefix): This.
47048         * intl/tst-gettext2.sh: Likewise.
47049         * intl/tst-gettext4.sh  Likewise.
47050         * intl/tst-gettext6.sh: Likewise.
47051         * intl/tst-translit.sh: Likewise.
47052         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
47053         with $(test-program-cmd).
47054         * libio/Makefile ($(objpfx)test-freopen.out): Replace
47055         $(run-program-prefix) with $(test-program-prefix).
47056         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
47057         (test_program_prefix): This.
47058         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
47059         $(run-program-prefix) with $(test-program-prefix).
47060         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
47061         (test_program_prefix): This.
47062         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
47063         * posix/Makefile ($(objpfx)globtest.out): Replace
47064         $(run-via-rtld-prefix) and $(test-wrapper) with
47065         $(test-program-prefix) and $(test-via-rtld-prefix).
47066         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
47067         $(test-program-prefix).
47068         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
47069         $(host-test-program-cmd).
47070         (tst-spawn-ARGS): Likewise.
47071         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
47072         $(test-program-prefix).
47073         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
47074         (test_via_rtld_prefix): This.
47075         (test_wrapper): Renamed to ...
47076         (test_program_prefix): This.
47077         (run_program_prefix): Replaced by test_program_prefix.
47078         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
47079         (test_program_prefix): This.
47080         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
47081         with $(host-test-program-cmd).
47082         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
47083         $(run-program-prefix) with $(test-program-prefix).
47084         ($(objpfx)tst-printf.out): Likewise.
47085         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
47086         $(test-program-cmd).
47087         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
47088         (test_program_prefix): This.
47089         * stdio-common/tst-unbputc.sh: Likewise.
47090         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
47091         $(run-program-prefix) with $(test-program-prefix).
47092         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
47093         (test_program_prefix): This.
47094         * string/Makefile ($(objpfx)tst-svc.out):  Replace
47095         $(built-program-cmd) with $(test-program-cmd).
47097 2013-01-11  Andreas Jaeger  <aj@suse.de>
47099         [BZ #15003]
47100         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
47101         value. Sync with Linux 3.7.
47103 2013-01-10  David S. Miller  <davem@davemloft.net>
47105         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
47106         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
47107         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
47109 2013-01-10  Roland McGrath  <roland@hack.frob.com>
47111         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
47112         never set.
47113         * configure: Regenerated.
47115 2013-01-10  David S. Miller  <davem@davemloft.net>
47117         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
47118         sparc V9 rather than using V8 code.
47119         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
47120         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
47122 2013-01-10  Roland McGrath  <roland@hack.frob.com>
47124         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
47125         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
47126         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
47127         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
47128         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
47129         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
47130         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
47131         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
47132         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
47133         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
47134         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
47135         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
47136         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
47137         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
47138         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
47139         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
47140         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
47141         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
47142         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
47143         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
47144         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
47145         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
47146         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
47147         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
47148         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
47149         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
47150         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
47152 2013-01-10  David S. Miller  <davem@davemloft.net>
47154         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47156 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
47158         * posix/Makefile (tests-static): New variable.
47159         (tests): Add $(tests-static).
47160         (tst-exec-static-ARGS): New variable.
47161         (tst-spawn-static-ARGS): Likewise.
47162         * posix/tst-exec-static.c: New file.
47163         * posix/tst-spawn-static.c: Likewise.
47164         * posix/tst-exec.c: Support run directly.
47165         * posix/tst-spawn.c: Likewise.
47167 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
47169         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
47170         long.
47171         * math/bits/mathcalls.h (llrint): Likewise.
47172         (llround): Likewise.
47173         * stdlib/stdlib.h (struct drand48_data): Likewise.
47174         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
47175         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
47176         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
47177         Likewise.
47178         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
47179         Likewise.
47180         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
47181         (elf_greg_t): Likewise.
47182         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
47183         (__jmp_buf): Likewise.
47184         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
47185         definitions.
47186         (llrint): Likewise, for all definitions.
47187         (llrintl): Likewise.
47189         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
47190         Remove [__GNUC__] condition.
47191         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
47192         condition to just [__USE_ISOC99].
47193         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
47195 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
47197         [BZ #14200]
47198         * sysdeps/unix/sysv/linux/x86/bits/environments.h
47199         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
47200         defined.
47201         (_POSIX_V6_ILP32_OFF32): Likewise.
47202         (_XBS5_ILP32_OFF32): Likewise.
47203         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
47204         (__ILP32_OFFBIG_LDFLAGS): Likewise.
47206 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
47208         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
47210         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
47211         doubles __mpexp_twomm1.  Adjust usage.
47212         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
47213         Remove.
47215 2013-01-10  Andreas Schwab  <schwab@suse.de>
47217         [BZ #14964]
47218         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
47219         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
47221 2013-01-09  David S. Miller  <davem@davemloft.net>
47223         [BZ #15003]
47224         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
47225         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
47226         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
47227         (TCP_FASTOPEN): Define.
47228         (tcp_repair_opt): New structure.
47229         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
47230         enum values.
47231         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
47232         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
47233         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
47234         (tcp_cookie_transactions): New structure.
47236 2013-01-09  Anton Blanchard  <anton@samba.org>
47238         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
47239         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
47240         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
47241         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
47243 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
47245         * include/features.h (__USE_ANSI): Remove.
47247 2013-01-09  Roland McGrath  <roland@hack.frob.com>
47249         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
47251         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
47253 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
47255         * sysdeps/s390/fpu/libm-test-ulps: Update.
47257         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47259         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
47260         (__acr): Likewise.
47261         (__cpy): Likewise.
47262         (norm): Likewise.
47263         (denorm): Likewise.
47264         (__mp_dbl): Likewise.
47265         (__dbl_mp): Likewise.
47266         (add_magnitudes): Likewise.
47267         (sub_magnitudes): Likewise.
47268         (__add): Likewise.
47269         (__sub): Likewise.
47270         (__mul): Likewise.
47271         (__inv): Likewise.
47272         (__dvd): Likewise.
47273         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
47274         (__acr): Likewise.
47275         (__cpy): Likewise.
47276         (norm): Likewise.
47277         (denorm): Likewise.
47278         (__mp_dbl): Likewise.
47279         (__dbl_mp): Likewise.
47280         (add_magnitudes): Likewise.
47281         (sub_magnitudes): Likewise.
47282         (__add): Likewise.
47283         (__sub): Likewise.
47284         (__mul): Likewise.
47285         (__inv): Likewise.
47286         (__dvd): Likewise.
47287         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
47288         (__acr): Likewise.
47289         (__cpy): Likewise.
47290         (norm): Likewise.
47291         (denorm): Likewise.
47292         (__mp_dbl): Likewise.
47293         (__dbl_mp): Likewise.
47294         (add_magnitudes): Likewise.
47295         (sub_magnitudes): Likewise.
47296         (__add): Likewise.
47297         (__sub): Likewise.
47298         (__mul): Likewise.
47299         (__inv): Likewise.
47300         (__dvd): Likewise.
47302 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
47304         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
47305         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
47306         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
47307         2 && __USE_EXTERN_INLINES]: Likewise.
47309 2013-01-08  Andreas Jaeger  <aj@suse.de>
47311         [BZ# 14985]
47312         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
47313         Remove.
47314         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
47315         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
47317 2013-01-07  Anton Blanchard  <anton@samba.org>
47319         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
47320         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
47321         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
47322         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
47323         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
47324         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
47325         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
47326         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
47327         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
47328         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
47329         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
47330         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
47331         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
47332         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
47333         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
47334         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
47335         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
47336         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
47337         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
47338         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
47339         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
47340         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
47341         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
47342         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
47343         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
47344         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
47345         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
47346         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
47347         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
47348         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
47349         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
47350         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
47351         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
47352         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
47353         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
47354         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
47355         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
47356         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
47357         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
47358         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
47359         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
47360         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47361         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
47363 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
47365         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
47366         (__MALLOC_PMT): Likewise.
47367         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
47368         [__GNUC__], only on [_LIBC].
47369         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
47370         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
47371         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
47372         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
47373         forward declaration.
47374         (realloc_hook_ini): Likewise.
47375         (memalign_hook_ini): Likewise.
47376         (__libc_memalign): Do not use __MALLOC_PMT in variable
47377         declaration.
47378         (__libc_valloc): Likewise.
47379         (__libc_pvalloc): Likewise.
47380         (__libc_calloc): Likewise.
47381         (__posix_memalign): Likewise.
47383         [BZ #14996]
47384         * math/s_casinh.c: Include <float.h>.
47385         (__casinh): Do not do computation with squaring and square root
47386         for large arguments.
47387         * math/s_casinhf.c: Include <float.h>.
47388         (__casinhf): Do not do computation with squaring and square root
47389         for large arguments.
47390         * math/s_casinhl.c: Include <float.h>.
47391         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
47392         (__casinhl): Do not do computation with squaring and square root
47393         for large arguments.
47394         * math/libm-test.inc (casin_test): Add more tests.
47395         (casinh_test): Likewise.
47396         * sysdeps/i386/fpu/libm-test-ulps: Update.
47397         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47399 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
47401         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
47402         (__x86_64_raw_data_cache_size): Likewise.
47403         (__x86_64_data_cache_size_half): Likewise.
47404         (__x86_64_raw_data_cache_size_half): Likewise.
47405         (__x86_64_shared_cache_size): Likewise.
47406         (__x86_64_raw_shared_cache_size): Likewise.
47407         (__x86_64_shared_cache_size_half): Likewise.
47408         (__x86_64_raw_shared_cache_size_half): Likewise.
47409         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
47410         to ...
47411         (__x86_data_cache_size): This.
47412         (__x86_64_raw_data_cache_size): Renamed to ...
47413         (__x86_raw_data_cache_size): This.
47414         (__x86_64_data_cache_size_half): Renamed to ...
47415         (__x86_data_cache_size_half): This.
47416         (__x86_64_raw_data_cache_size_half): Renamed to ...
47417         (__x86_raw_data_cache_size_half): This.
47418         (__x86_64_shared_cache_size): Renamed to ...
47419         (__x86_shared_cache_size): This.
47420         (__x86_64_raw_shared_cache_size): Renamed to ...
47421         (__x86_raw_shared_cache_size): This.
47422         (__x86_64_shared_cache_size_half): Renamed to ...
47423         (__x86_shared_cache_size_half): This.
47424         (__x86_64_raw_shared_cache_size_half): Renamed to ...
47425         (__x86_raw_shared_cache_size_half): This.
47426         * sysdeps/x86_64/memcpy.S: Updated.
47427         * sysdeps/x86_64/memset.S: Likewise.
47428         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
47429         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
47430         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
47432 2013-01-04  David S. Miller  <davem@davemloft.net>
47434         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47436 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
47438         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
47439         1 to avoid redefinition warning.
47440         (__USE_GNU): Don't define.
47441         (init_signaling_nan): Protoize.
47443         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47445 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
47447         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
47448         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
47449         (__cpymn): Likewise.
47450         (norm): Remove commented code.
47451         (denorm): Likewise.
47452         (__mp_dbl): Likewise.
47453         (__inv): Likewise.
47454         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
47455         (__cpymn): Likewise.
47456         (norm): Remove commented code.
47457         (denorm): Likewise.
47458         (__mp_dbl): Likewise.
47459         (__inv): Likewise.
47461         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
47462         mp_no value for 1.0 and 2.0.
47463         (norm): Use RADIXI instead of radixi.d.
47464         (denorm): Likewise.
47465         (__mul): Use 0.0 instead of zero.d.
47466         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
47467         mp_no value for 1.0 and 2.0.
47468         (norm): Use RADIXI instead of radixi.d.
47469         (denorm): Likewise.
47470         (__mul): Use 0.0 instead of zero.d.
47472 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
47474         [BZ #14994]
47475         * math/s_casinh.c (__casinh): Reduce finite argument to first
47476         quadrant then set signs of results at the end.
47477         * math/s_casinhf.c (__casinhf): Likewise.
47478         * math/s_casinhl.c (__casinhl): Likewise.
47479         * math/libm-test.inc (casin_test): Add more tests.
47480         (casinh_test): Likewise.
47481         * sysdeps/i386/fpu/libm-test-ulps: Update.
47482         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47484 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
47486         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
47488         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
47490         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
47491         declarations.
47492         (denorm): Likewise.
47493         (__mp_dbl): Likewise.
47494         (__inv): Likewise.
47496         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
47497         and adjust the header comment.
47499         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
47500         variable name from declaration.
47502 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
47504         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47505         Initialize COMMON_CPUID_INDEX_7 element.
47506         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
47507         (CPUID_RTM): Likewise.
47508         (HAS_RTM): Likewise.
47509         (COMMON_CPUID_INDEX_7): New enum.
47511 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
47513         [BZ #14981]
47514         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
47515         size is zero, record memory as freed.
47517 2013-01-03  Andreas Jaeger  <aj@suse.de>
47519         * po/ia.po: Add new Interlingua translation.
47521 2012-01-03  Allan McRae  <allan@archlinux.org>
47523         * locale/programs/localedef.c: Fix description of '--posix' flag.
47525 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
47527         * NEWS: Update dates in second copyright notice.
47528         * README: Update copyright dates in example.
47529         * manual/libc.texinfo: Update copyright dates.
47530         * scripts/test-installation.pl: Update copyright date in --version
47531         output.
47533         * hurd/ctty-input.c: Fix copyright notice formatting.
47534         * hurd/ctty-output.c: Likewise.
47535         * hurd/dtable.c: Likewise.
47536         * hurd/hurd-raise.c: Likewise.
47537         * hurd/hurdprio.c: Likewise.
47538         * hurd/msgportdemux.c: Likewise.
47539         * misc/sys/file.h: Likewise.
47540         * misc/sys/ioctl.h: Likewise.
47541         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
47542         * sysdeps/mach/hurd/chdir.c: Likewise.
47543         * sysdeps/mach/hurd/fchdir.c: Likewise.
47544         * sysdeps/mach/hurd/rename.c: Likewise.
47545         * sysdeps/mach/hurd/rmdir.c: Likewise.
47546         * sysdeps/mach/hurd/seekdir.c: Likewise.
47547         * sysdeps/mach/hurd/setsid.c: Likewise.
47548         * sysdeps/posix/wait3.c: Likewise.
47550         * All files with FSF copyright notices: Update copyright dates
47551         using scripts/update-copyrights.
47552         * intl/plural.c: Regenerated.
47553         * locale/programs/charmap-kw.h: Likewise.
47554         * locale/programs/locfile-kw.h: Likewise.
47556 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
47558         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
47559         four values.
47561         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
47562         calculation loop and add branch prediction.
47564         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
47565         check access beyond bounds of m1np.
47567         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
47568         MPTWO.
47569         (__inv): Remove local variable MPTWO to use the global
47570         constant.
47571         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
47572         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
47573         variable MPTWO.
47574         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
47575         MP3HALFS static const.
47577 2013-01-01  David S. Miller  <davem@davemloft.net>
47579         * po/ca.po: Update from translation team.
47581 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
47583         * scripts/update-copyrights: New file.
47584         * Makeconfig: Reformat copyright notice.
47585         * ctype/ctype.h: Likewise.
47586         * debug/swprintf_chk.c: Likewise.
47587         * elf/dl-cache.c: Likewise.
47588         * elf/dl-debug.c: Likewise.
47589         * elf/dl-object.c: Likewise.
47590         * grp/initgroups.c: Likewise.
47591         * hurd/Makefile: Likewise.
47592         * hurd/hurd/signal.h: Likewise.
47593         * hurd/hurdfault.c: Likewise.
47594         * hurd/hurdioctl.c: Likewise.
47595         * hurd/hurdlookup.c: Likewise.
47596         * hurd/intr-msg.c: Likewise.
47597         * iconv/gconv_open.c: Likewise.
47598         * libio/swprintf.c: Likewise.
47599         * locale/lc-ctype.c: Likewise.
47600         * locale/nl_langinfo.c: Likewise.
47601         * mach/Machrules: Likewise.
47602         * mach/Makefile: Likewise.
47603         * malloc/obstack.h: Likewise.
47604         * manual/Makefile: Likewise.
47605         * manual/tsort.awk: Likewise.
47606         * misc/bits/stab.def: Likewise.
47607         * nis/nis_print_group_entry.c: Likewise.
47608         * nis/nis_table.c: Likewise.
47609         * nis/nss_compat/compat-pwd.c: Likewise.
47610         * nis/nss_compat/compat-spwd.c: Likewise.
47611         * po/Makefile: Likewise.
47612         * posix/fnmatch.c: Likewise.
47613         * posix/regex.h: Likewise.
47614         * resolv/Makefile: Likewise.
47615         * resolv/nss_dns/dns-network.c: Likewise.
47616         * resolv/res_hconf.c: Likewise.
47617         * scripts/gen-sorted.awk: Likewise.
47618         * soft-fp/soft-fp.h: Likewise.
47619         * stdio-common/printf.h: Likewise.
47620         * stdlib/monetary.h: Likewise.
47621         * stdlib/random.c: Likewise.
47622         * stdlib/random_r.c: Likewise.
47623         * sysdeps/generic/Makefile: Likewise.
47624         * sysdeps/gnu/Makefile: Likewise.
47625         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
47626         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47627         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
47628         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47629         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47630         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47631         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47632         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
47633         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47634         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47635         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
47636         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
47637         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
47638         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
47639         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
47640         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
47641         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
47642         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47643         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
47644         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47645         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
47646         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
47647         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
47648         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
47649         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
47650         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
47651         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
47652         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
47653         * sysdeps/mach/hurd/errnos.awk: Likewise.
47654         * sysdeps/mach/hurd/fork.c: Likewise.
47655         * sysdeps/mach/hurd/getcwd.c: Likewise.
47656         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
47657         * sysdeps/mach/hurd/mmap.c: Likewise.
47658         * sysdeps/mach/hurd/utimes.c: Likewise.
47659         * sysdeps/mach/hurd/xmknod.c: Likewise.
47660         * sysdeps/posix/profil.c: Likewise.
47661         * sysdeps/posix/readdir_r.c: Likewise.
47662         * sysdeps/powerpc/bits/mathdef.h: Likewise.
47663         * sysdeps/powerpc/bits/setjmp.h: Likewise.
47664         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
47665         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
47666         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
47667         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
47668         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
47669         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
47670         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
47671         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
47672         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
47673         * sysdeps/pthread/lio_listio.c: Likewise.
47674         * sysdeps/sparc/dl-procinfo.h: Likewise.
47675         * sysdeps/unix/i386/sysdep.S: Likewise.
47676         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
47677         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
47678         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
47679         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
47680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
47681         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
47682         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
47683         * sysdeps/unix/sysv/linux/speed.c: Likewise.
47684         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
47685         * sysdeps/wordsize-32/divdi3.c: Likewise.
47686         * time/sys/time.h: Likewise.
47687         * wcsmbs/Makefile: Likewise.
47689 2013-01-01  David S. Miller  <davem@davemloft.net>
47691         * po/fr.po: Update from translation team.
47693         * catgets/gencat.c: Update copyright year.
47694         * csu/version.c: Likewise.
47695         * debug/catchsegv.sh: Likewise.
47696         * debug/pcprofiledump.c: Likewise.
47697         * debug/xtrace.sh: Likewise.
47698         * elf/ldconfig.c: Likewise.
47699         * elf/ldd.bash.in: Likewise.
47700         * elf/pldd.c: Likewise.
47701         * elf/sotruss.ksh: Likewise.
47702         * elf/sprof.c: Likewise.
47703         * iconv/iconv_prog.c: Likewise.
47704         * iconv/iconvconfig.c: Likewise.
47705         * locale/programs/locale.c: Likewise.
47706         * locale/programs/localedef.c: Likewise.
47707         * login/programs/pt_chown.c: Likewise.
47708         * malloc/memusage.sh: Likewise.
47709         * malloc/memusagestat.c: Likewise.
47710         * malloc/mtrace.pl: Likewise.
47711         * nscd/nscd.c: Likewise.
47712         * nss/getent.c: Likewise.
47713         * nss/makedb.c: Likewise.
47714         * posix/getconf.c: Likewise.
47716 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
47718         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
47719         numbers.
47721 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
47723         * math/bits/mathcalls.h (modf): Use __nonnull.
47725 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
47727         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
47728         (split): Use macro CN instead of the bare value.
47729         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
47730         could be used.
47731         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
47732         instead of the bare value.
47733         (power1): Likewise.
47735 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47737         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
47738         __ATAN_TWOM.
47739         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
47741         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
47742         their values.
47743         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
47744         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
47745         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
47746         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
47748 2012-12-28  Andreas Jaeger  <aj@suse.de>
47750         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
47751         values are from Linux 3.7.
47753         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
47754         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
47756 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47758         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
47759         TRUE case.
47761         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
47762         (norm): Likewise.
47763         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
47764         variables with preprocessor constants.
47765         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
47766         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
47767         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
47769 2012-12-27  Bruno Haible  <bruno@clisp.org>
47771         [BZ #14317]
47772         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
47773         only if needed.
47775 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
47777         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
47778         and use variable directly.
47779         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
47781         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
47782         MPONE.
47783         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
47784         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
47785         variable MPONE.
47786         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
47787         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
47788         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
47789         include directive.  Remove local variable MPONE.
47790         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
47791         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
47792         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
47794 2012-12-25  David S. Miller  <davem@davemloft.net>
47796         * version.h (RELEASE): Set to "development".
47797         (VERSION): Set to "2.17.90".
47798         * NEWS: Add 2.18 section.
47800 2012-12-21  David S. Miller  <davem@davemloft.net>
47802         * po/hr.po: Update from translation team.
47804 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47806         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
47808 2012-12-19  Steve Ellcey  <sellcey@mips.com>
47810         * NEWS:  Mention new memcpy for MIPS.
47812 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
47814         * manual/contrib.texi (Contributors): Spelling correction.
47816 2012-12-15  David S. Miller  <davem@davemloft.net>
47818         * po/ru.po: Update from translation team.
47820 2012-12-13  David S. Miller  <davem@davemloft.net>
47822         * NEWS: Mention IFUNC testsuite enhancements.
47824         * po/pl.po: Update from translation team.
47825         * po/bg.po: Likewise.
47827         * manual/contrib.texi (Contributors): Update entries for Hongjiu
47828         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
47830 2012-12-11  David S. Miller  <davem@davemloft.net>
47832         * po/sv.po: Update from translation team.
47834         * po/vi.po: Update from translation team.
47836         * po/cs.po: Update from translation team.
47838         * po/de.po: Update from translation team.
47839         * po/eo.po: Likewise.
47840         * po/nl.po: Likewise.
47842 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
47844         [BZ #14246]
47845         * manual/argp.texi (Argp Helper Functions): Move node to follow
47846         Argp Parsing State.
47848         [BZ #14872]
47849         * manual/conf.texi (Limits on File System Capacity): Mention if
47850         terminating null is included in the max size.
47852 2012-12-10  Andreas Jaeger  <aj@suse.de>
47854         * po/cs.po: Update from translation team.
47856 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
47858         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
47859         void pointer and cast to uintptr_t.
47860         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
47861         path.
47862         * sysdeps/s390/s390-64/memcpy.S: Likewise.
47863         * sysdeps/s390/s390-64/memset.S: Likewise.
47865 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
47867         [BZ #14833]
47868         * menual/message.texi (Message Translation): Fix typos.
47869         (Helper programs for gettext): Likewise.
47871 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
47873         [BZ #14898]
47874         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
47875         Change to -1.
47877 2012-12-07  David S. Miller  <davem@davemloft.net>
47879         * po/libc.pot: Update.
47881 2012-12-07  Richard Henderson  <rth@redhat.com>
47883         [BZ #10114]
47884         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
47885         normal/normal case to before the switch.
47886         (_FP_DIV): Likewise.
47888 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
47889             Mike Frysinger  <vapier@gentoo.org>
47891         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
47892         check for __NR_fadvise64_64.
47894 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
47896         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
47897         0, not just to plain "0" as a statement.
47898         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
47899         with cw.
47901 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
47903         * NEWS: Use sourceware.org in Bugzilla URL.
47905 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
47907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
47908         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
47910         * stdio-common/tst-put-error.c (do_test): Add newline to the
47911         padded test to ensure flush.
47913 2012-12-05  Jeff Law  <law@redhat.com>
47915         * sunrpc/etc.rpc (fedfs_admin): Add entry.
47917 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
47919         * README: Don't refer to ports add-on as distributed separately.
47920         Mention AArch64 in list of systems supported in the ports add-on.
47922         * LICENSES: Add more non-FSF copyright and license notices.
47924         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
47925         ((unused)).
47927         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
47929         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
47930         10000 as width of padded output.
47932 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
47934         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
47936         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
47937         variable LX with __attribute__ ((unused)).
47938         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
47939         Likewise.
47940         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
47941         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
47942         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
47943         with __attribute__ ((unused)).
47945 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
47947         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
47949 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
47951         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
47952         (CFLAGS-nldbl-acos.c): New variable.
47953         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
47954         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
47955         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
47956         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
47957         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
47958         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
47959         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
47960         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
47961         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
47962         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
47963         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
47964         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
47965         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
47966         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
47967         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
47968         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
47969         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
47970         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
47971         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
47972         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
47973         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
47974         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
47975         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
47976         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
47977         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
47978         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
47979         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
47980         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
47981         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
47982         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
47983         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
47984         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
47985         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
47986         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
47987         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
47988         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
47989         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
47990         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
47991         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
47992         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
47993         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
47994         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
47995         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
47996         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
47997         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
47998         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
47999         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
48000         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
48001         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
48002         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
48003         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
48004         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
48005         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
48006         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
48007         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
48008         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
48009         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
48010         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
48011         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
48012         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
48013         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
48014         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
48015         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
48016         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
48017         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
48018         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
48019         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
48020         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
48021         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
48022         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
48023         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
48024         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
48025         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
48026         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
48027         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
48028         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
48029         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
48030         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
48031         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
48032         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
48033         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
48034         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
48035         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
48036         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
48037         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
48038         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
48039         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
48040         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
48041         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
48042         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
48043         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
48044         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
48045         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
48046         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
48047         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
48048         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
48049         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
48051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
48052         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
48054         [BZ #14914]
48055         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
48056         whole low double instead of just low 47 bits when splitting values
48057         into two parts.
48059 2012-12-03  Allan McRae  <allan@archlinux.org>
48061         * manual/stdio.texi (Predefined Printf Handlers): Remove
48062         @hsep and @vsep usage.
48064 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
48066         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
48067         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
48069 2012-12-03  Jeff Law  <law@redhat.com>
48071         * time/sys/time.h (settimeofday): Do not mark TV argument
48072         as __nonnull.
48074 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
48076         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
48077         when currently writing and seek to current position when not.
48078         * libio/Makefile (tests): Remove bug-fclose1.
48079         * libio/bug-fclose1.c: Delete.
48081 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
48083         * manual/arith.texi (feenableexcept): Fix typo.
48084         (fedisableexcept): Likewise.
48086 2012-11-30  Roland McGrath  <roland@hack.frob.com>
48088         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
48089         second, differently-typed declaration, rather than a cast.
48091 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
48093         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
48094         * include/rpc/svc.h: ... here.
48096 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
48098         [BZ #13013]
48099         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
48100         depending n and resplen2 to catch cases where answer
48101         equals answerp2.
48103 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
48105         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
48106         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
48108 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
48110         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
48112 2012-11-29  Roland McGrath  <roland@hack.frob.com>
48114         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
48116 2012-11-28  Jeff Law  <law@redhat.com>
48118         [BZ #13761]
48119         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
48120         dataset_temporary.  Track alloca usage into alloca_used.
48121         If dataset is large allocate and release it via malloc/free.
48123 2012-06-04  Florian Weimer  <fweimer@redhat.com>
48125         [BZ #14197]
48126         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
48128 2012-11-28  David S. Miller  <davem@davemloft.net>
48130         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48132 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
48134         [BZ #14803]
48135         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
48136         of pi/2 rounded to nearest to 64 bits.
48137         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
48138         nearest to 64 bits.
48139         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
48140         bits.
48142 2012-11-28  Jeff Law <law@redhat.com>
48143             Martin Osvald <mosvald@redhat.com>
48145         [BZ #14889]
48146         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
48147         * sunrpc/svc.c: Include time.h.
48148         (__svc_accept_failed): New function.
48149         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
48150         any reason other than EINTR, call __svc_accept_failed.
48151         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
48152         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
48154 2012-11-28  Andreas Schwab  <schwab@suse.de>
48156         * scripts/abilist.awk: Also handle indirect functions in .opd
48157         section.
48159 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
48161         [BZ #13881]
48162         * sysdeps/x86/fpu/powl_helper.c: New file.
48163         * sysdeps/x86/fpu/Makefile: Likewise.
48164         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
48165         (p3): New object.
48166         (__ieee754_powl): Use __powl_helper for finite arguments except
48167         integer exponents below 8.
48168         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
48169         (p3): New object.
48170         (__ieee754_powl): Use __powl_helper for finite arguments except
48171         integer exponents below 8.
48172         * math/libm-test.inc (pow_test): Add more tests and enable some
48173         previously disabled tests.
48174         * sysdeps/i386/fpu/libm-test-ulps: Update.
48175         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48177 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48178             Carlos O'Donell  <carlos_odonell@mentor.com>
48180         * nss/makedb.c (is_prime): Assert that input is odd and greater
48181         than 4.  Note that fact in a comment too.
48182         (next_prime): Add 4 to input.
48184 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
48186         [BZ #11741]
48187         * libio/Makefile (tests): Add test case tst-fwrite-error.
48188         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
48189         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
48190         * libio/tst-fwrite-error.c: New test case.
48192 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
48194         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
48195         before casting to void *.
48196         * include/libc-internal.h (__pointer_type): New macro.
48197         (__integer_if_pointer_type_sub): Likewise.
48198         (__integer_if_pointer_type): Likewise.
48199         (cast_to_integer): Likewise.
48200         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
48201         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
48202         before casting to atomic64_t.
48203         (atomic_exchange_acq): Likewise.
48204         (__arch_exchange_and_add_body): Likewise.
48205         (__arch_add_body): Likewise.
48206         (atomic_add_negative): Likewise.
48207         (atomic_add_zero): Likewise.
48209 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
48211         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
48212         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
48213         (add_fdes): Likewise.
48214         (linear_search_fdes): Likewise.
48215         (binary_search_unencoded_fdes): Likewise.
48217 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
48219         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
48221 2012-11-24  Adam Conrad  <adconrad@0c3.net>
48223         * configure.in: Autodetect C++ header directories.
48224         * configure: Regenerated.
48226 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
48228         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
48230 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
48232         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48234 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
48236         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
48237         LDBL_MANT_DIG == 106]: Disable some tests.
48238         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
48239         Likewise.
48240         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
48241         Likewise.
48243         [BZ #14871]
48244         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
48245         input for small inputs.  Return +/- pi/2 for large inputs.
48246         * math/libm-test.inc (atan_test): Add more tests.
48248         * sysdeps/generic/unwind-dw2-fde-glibc.c
48249         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
48250         __attribute__ ((unused)).
48252         [BZ #14645]
48253         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
48254         x * y if x and y are nonzero and z is zero.
48256         [BZ #14811]
48257         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
48258         nonzero exponents with absolute value below 0x1p-117 to +/-
48259         0x1p-117.
48261         [BZ #14869]
48262         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
48263         up arguments below 2**-450, not just those below 2**-500.
48264         * math/libm-test.inc (hypot_test): Add another test.
48266         [BZ #14868]
48267         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
48268         Return a+b for ratio over 2**120, not 2**60.
48269         * math/libm-test.inc (hypot_test): Add another test.
48271         * math/libm-test.inc (clog_test): Use
48272         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
48273         (clog10_test): Likewise.
48275         [BZ #6778]
48276         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
48278 2012-11-22  Andreas Schwab  <schwab@suse.de>
48280         * sysdeps/i386/fpu/libm-test-ulps: Update.
48282 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
48284         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
48285         printf output with newline.
48287 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
48289         [BZ #14865]
48290         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
48291         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
48292         -z nodlopen, -z initfirst and -z execstack support.
48293         * configure: Regenerated.
48295         * elf/elf.h (DF_1_NODIRECT): New macro.
48296         (DF_1_IGNMULDEF): Likewise.
48297         (DF_1_NOKSYMS): Likewise.
48298         (DF_1_NOHDR): Likewise.
48299         (DF_1_EDITED): Likewise.
48300         (DF_1_NORELOC): Likewise.
48301         (DF_1_SYMINTPOSE): Likewise.
48302         (DF_1_GLOBAUDIT): Likewise.
48303         (DF_1_SINGLETON): Likewise.
48304         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
48305         DT_1_SUPPORTED_MASK bits.
48306         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
48308 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
48310         * sysdeps/unix/make-syscalls.sh: Document prefixes.
48312 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
48314         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
48315         macro.
48317         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
48318         (sendmmsg): Move declarations...
48319         * socket/sys/socket.h: ... here.
48320         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
48321         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
48322         include it from...
48323         * socket/recvmmsg.c: ... this new file.
48324         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
48325         (sendmmsg): Rename to __sendmmsg, create weak alias and make
48326         definition of __sendmmsg hidden.
48327         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
48328         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
48329         Move ENOSYS stub into and include it from...
48330         * socket/sendmmsg.c: ... this new file.
48331         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
48332         (sysdep_routines): Move recvmmsg and sendmmsg...
48333         * socket/Makefile (routines): ... here.
48334         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
48335         (GLIBC_PRIVATE): Add __sendmmsg.
48336         * include/sys/socket.h (__sendmmsg): Add declarations.
48337         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
48338         sendmmsg.
48340 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
48342         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
48343         variable I1 with __attribute__ ((unused)).
48344         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
48346 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
48348         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
48349         DUMMY variables with __attribute__ ((unused)).
48351         * bits/byteswap.h: Include <bits/types.h>.
48352         (__bswap_64): Use __uint64_t instead of unsigned long long int.
48354 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
48356         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
48357         string_t.  Do not manually set errno.
48358         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
48359         length with __strnlen.  Make sure to both set errno and return it on
48360         failure.
48362 2012-11-19  David S. Miller  <davem@davemloft.net>
48364         With help from Joseph Myers.
48365         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
48366         very large arguments properly.
48367         * math/libm-test.inc (atan_test): New tests.
48368         (atan2_test): New tests.
48369         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48370         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48372 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
48374         [BZ #14856]
48375         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
48376         Define to 3.
48378         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
48379         [POSIX] (EADDRNOTAVAIL): Likewise.
48380         [POSIX] (EAFNOSUPPORT): Likewise.
48381         [POSIX] (EALREADY): Likewise.
48382         [POSIX] (ECONNABORTED): Likewise.
48383         [POSIX] (ECONNREFUSED): Likewise.
48384         [POSIX] (ECONNRESET): Likewise.
48385         [POSIX] (EDESTADDRREQ): Likewise.
48386         [POSIX] (EDQUOT): Likewise.
48387         [POSIX] (EHOSTUNREACH): Likewise.
48388         [POSIX] (EIDRM): Likewise.
48389         [POSIX] (EISCONN): Likewise.
48390         [POSIX] (ELOOP): Likewise.
48391         [POSIX] (EMULTIHOP): Likewise.
48392         [POSIX] (ENETDOWN): Likewise.
48393         [POSIX] (ENETUNREACH): Likewise.
48394         [POSIX] (ENOBUFS): Likewise.
48395         [POSIX] (ENODATA): Likewise.
48396         [POSIX] (ENOLINK): Likewise.
48397         [POSIX] (ENOMSG): Likewise.
48398         [POSIX] (ENOPROTOOPT): Likewise.
48399         [POSIX] (ENOSR): Likewise.
48400         [POSIX] (ENOSTR): Likewise.
48401         [POSIX] (ENOTCONN): Likewise.
48402         [POSIX] (ENOTSOCK): Likewise.
48403         [POSIX] (EOPNOTSUPP): Likewise.
48404         [POSIX] (EOVERFLOW): Likewise.
48405         [POSIX] (EPROTO): Likewise.
48406         [POSIX] (EPROTONOSUPPORT): Likewise.
48407         [POSIX] (EPROTOTYPE): Likewise.
48408         [POSIX] (ESTALE): Likewise.
48409         [POSIX] (ETIME): Likewise.
48410         [POSIX] (ETXTBSY): Likewise.
48411         [POSIX] (EWOULDBLOCK): Likewise.
48412         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
48413         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
48414         [POSIX] (SEEK_CUR): Likewise.
48415         [POSIX] (SEEK_END): Likewise.
48416         [POSIX || UNIX98] (mode_t): Do not require.
48417         [POSIX] (off_t): Likewise.
48418         [POSIX] (pid_t): Likewise.
48419         [POSIX] (sys/stat.h): Do not allow header.
48420         [POSIX] (unistd.h): Likewise.
48421         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
48422         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
48423         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
48424         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
48425         require.
48426         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
48427         sigevent): Specify elements.
48428         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
48429         entry.
48430         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
48431         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
48433         * conform/data/cpio.h-data [POSIX]: Disable whole file.
48434         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
48435         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
48436         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
48437         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
48438         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
48439         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
48440         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
48441         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
48442         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
48443         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
48444         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
48445         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
48446         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
48447         Likewise.
48448         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
48449         Likewise.
48450         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
48451         Likewise.
48452         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
48453         Likewise.
48454         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
48455         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
48456         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
48457         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
48458         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
48459         Specify lower bound on value.
48460         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
48461         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
48462         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
48463         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
48464         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
48465         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
48466         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
48467         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
48468         value.
48469         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
48470         as optional.
48471         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
48472         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
48473         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
48474         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
48475         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
48476         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
48477         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
48478         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
48479         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
48480         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
48481         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
48482         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
48483         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
48484         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
48485         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
48486         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
48487         entry.
48488         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
48489         optional.
48490         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
48491         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
48492         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
48493         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
48494         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
48495         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
48496         Likewise.
48497         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
48498         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
48499         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
48500         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
48501         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
48502         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
48503         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
48504         as optional.
48505         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
48506         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
48507         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
48508         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
48509         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
48510         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
48511         specify as optional.
48512         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
48513         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
48514         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
48515         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
48516         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
48517         [XPG3] (NL_LANGMAX): Likewise.
48518         [POSIX || XPG3] (NL_MSGMAX): Likewise.
48519         [POSIX || XPG3] (NL_NMAX): Likewise.
48520         [POSIX || XPG3] (NL_SETMAX): Likewise.
48521         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
48522         [XPG3] (NZERO): Likewise.
48523         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
48524         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
48525         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
48526         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
48527         (REG_ERANGE): Expect.
48528         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
48529         optional-constant.
48530         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
48531         Use (void) in prototype.
48532         [POSIX] (*_t): Allow.
48533         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
48534         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
48535         (WRDE_BADVAL): Expect.
48537         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
48538         expect.
48539         [XPG3 || XPG4] (O_RSYNC): Likewise.
48540         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
48541         Likewise.
48542         [XPG3 || XPG4] (pthread_sigmask): Likewise.
48543         [XPG3 || XPG4] (sigqueue): Likewise.
48544         [XPG3 || XPG4] (sigtimedwait): Likewise.
48545         [XPG3 || XPG4] (sigwaitinfo): Likewise.
48546         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
48547         [XPG3 || XPG4] (vsnprintf): Likewise.
48548         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
48549         Likewise.
48550         [XPG3 || XPG4] (blksize_t): Likewise.
48551         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
48552         Likewise.
48553         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
48554         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
48555         [XPG3 || XPG4] (struct itimerspec): Likewise.
48556         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
48557         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
48558         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
48559         [XPG3 || XPG4] (clockid_t): Likewise.
48560         [XPG3 || XPG4] (timer_t): Likewise.
48561         [XPG3 || XPG4] (clock_getres): Likewise.
48562         [XPG3 || XPG4] (clock_gettime): Likewise.
48563         [XPG3 || XPG4] (clock_settime): Likewise.
48564         [XPG3 || XPG4] (nanosleep): Likewise.
48565         [XPG3 || XPG4] (timer_create): Likewise.
48566         [XPG3 || XPG4] (timer_delete): Likewise.
48567         [XPG3 || XPG4] (timer_gettime): Likewise.
48568         [XPG3 || XPG4] (timer_getoverrun): Likewise.
48569         [XPG3 || XPG4] (timer_settime): Likewise.
48570         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
48571         [XPG3 || XPG4] (getlogin_r): Likewise.
48572         [XPG3 || XPG4] (pread): Likewise.
48573         [XPG3 || XPG4] (pthread_atfork): Likewise.
48574         [XPG3 || XPG4] (pwrite): Likewise.
48576         [BZ #14835]
48577         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
48578         <bits/siginfo.h>.
48580 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
48582         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
48583         finalizing MALLSTREAM.
48585         * sysdeps/mach/hurd/syncfs.c: New file.
48587 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
48589         [BZ #14719]
48590         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
48591         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
48592         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
48593         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
48594         (_nss_dns_gethostbyname4_r): Likewise.
48595         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
48596         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
48598 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
48600         [BZ #13763]
48601         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
48603 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
48605         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
48606         * elf/cache.c (print_entry): Print ",AArch64" for
48607         FLAG_AARCH64_LIB64
48609         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
48610         * elf/cache.c (print_entry): Print ",hard-float" for
48611         FLAG_ARM_LIBHF.
48613 2012-11-18  David S. Miller  <davem@davemloft.net>
48615         With help from Joseph Myers.
48616         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
48617         cutoff to 2**-13.
48618         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
48619         cutoff to 2**-25.
48620         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
48621         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
48622         small.
48623         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
48624         * math/libm-test.inc (y0_test): New tests.
48625         (y1_test): New tests.
48626         * sysdeps/i386/fpu/libm-test-ulps: Update.
48627         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48628         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48630 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
48632         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
48633         64-bit targets.
48634         * configure: Regenerated.
48636 2012-11-17  David S. Miller  <davem@davemloft.net>
48638         [BZ #14811]
48639         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
48640         nonzero exponents with absolute value below 0x1p-128 to +/-
48641         0x1p-128.
48643 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
48645         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
48647         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
48649         * posix/getconf-speclist.c: New file.
48650         * posix/posix-envs.def: Likewise.
48651         * posix/confstr.c (START_ENV_GROUP): New macro.
48652         (END_ENV_GROUP): Likewise.
48653         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
48654         (KNOWN_PRESENT_ENV_STRING): Likewise.
48655         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
48656         (UNKNOWN_ENVIRONMENT): Likewise.
48657         (confstr): Include posix-envs.def instead of handling
48658         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
48659         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
48660         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
48661         (END_ENV_GROUP): Likewise.
48662         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
48663         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
48664         (UNKNOWN_ENVIRONMENT): Likewise.
48665         (__sysconf): Include posix-envs.def instead of handling associated
48666         cases directly here.
48667         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
48668         preprocessing getconf-speclist.c rather than running getconf or
48669         generating empty file.
48671 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
48673         * scripts/check-local-headers.sh: Ignore 'mach' headers.
48675 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
48677         [BZ #14672]
48678         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
48680 2012-11-16  David S. Miller  <davem@davemloft.net>
48682         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
48683         smaller than LDBL_EPSILON/2.0L, just return xm1.
48685 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
48687         * elf/tst-array1.c (init): Set constructor priority to 1000.
48688         (fini): Set destructor priority to 1000.
48689         * elf/tst-array2dep.c: Likewise.
48691 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
48693         [BZ #11741]
48694         * libio/fileops.c (_IO_new_file_write): Correctly return error.
48695         (_IO_new_file_xsputn): Also return EOF if none of the input
48696         data was written when overflow failed.
48697         * libio/iopadn.c (_IO_padn): Likewise.
48698         * libio/iowpadn.c (_IO_wpadn): Likewise.
48699         * stdio-common/tst-put-error.c: Add copyright notice.
48700         (do_test): Add case for printing padded string.
48701         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
48702         _IO_padn returned error.
48703         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
48704         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
48705         return EOF.
48707 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
48709         * libio/libioP.h: Add comment note that the references to C++
48710         bits are now obsolete.
48712 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48714         * math/libm-test.inc (check_complex): Use asprintf.
48716 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
48718         * debug/pcprofiledump.c (print_version): Update copyright year.
48719         * malloc/memusagestat.c (print_version): Likewise.
48721 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
48723         [BZ #14831]
48724         * elf/Makefile (tests): Add tst-audit8.
48725         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
48726         ($(objpfx)tst-audit8.out): New target.
48727         (tst-audit8-ENV): New variable.
48728         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
48729         audit if l_reloc_result is NULL.
48730         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
48731         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
48732         * elf/tst-audit8.c: New file.
48734 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48736         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
48737         * misc/Makefile (CFLAGS-select.c): Define.
48738         * posix/Makefile (CFLAGS-pause.c): Define.
48740 2012-11-13  David S. Miller  <davem@davemloft.net>
48742         * crypt/Makefile: Move test targets after toplevel Rules
48743         inclusion.  Grab any necessary sysdep routines when linking.
48744         * crypt/md5.c (md5_process_block): Remove define, we will always
48745         name it __md5_process_block.
48746         (md5_finish_ctx): Update md5_process_block call.
48747         (md5_stream): Likewise.
48748         (md5_process_bytes): Likewise.
48749         (md5_process_block): Rename to __md5_process_block and move to ...
48750         * crypt/md5-block.c: ... here.
48751         * crypt/sha256.c (sha256_process_block): Move to ...
48752         * crypt/sha256-block.c: ... here.
48753         * crypt/sha512.c (sha512_process_block): Move to ...
48754         * crypt/sha512-block.c: ... here.
48755         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
48756         path.
48757         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
48758         * sysdeps/sparc/sparc64/multiarch/Makefile
48759         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
48760         crypt subdir.
48761         (localedef-aux): Add md5 crypto assembler when in locale subdir.
48762         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
48763         multiarch changes.
48764         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
48765         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
48766         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
48767         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
48768         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
48769         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
48770         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
48771         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
48772         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
48773         file.
48774         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
48775         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
48776         file.
48777         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
48779 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
48781         * timezone/tzselect.ksh: Update from tzcode git revision
48782         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
48783         * timezone/zdump.c: Likewise.
48784         * timezone/zic.c: Likewise.
48785         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
48786         in TZVERSION setting, not $(PKGVERSION).
48787         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
48788         REPORT_BUGS_TO settings.
48790         [BZ #14838]
48791         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
48792         macro.
48794 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48796         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
48797         detection to immediately after _FP_ROUND().
48798         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
48799         bits are 0.
48801 2012-11-11  David S. Miller  <davem@davemloft.net>
48803         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
48804         inttypes.h
48805         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
48806         __close rather than their public counterparts.
48808 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
48810         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
48811         file.
48812         [UNIX98] (sem_timedwait): Do not expect.
48813         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
48814         [XPG4 || UNIX98] (sockatmark): Do not expect.
48815         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
48816         (clock_getcpuclockid): Do not expect.
48817         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
48818         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
48819         Do not expect.
48820         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
48821         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
48822         [UNIX98] (vwscanf): Likewise.
48823         [UNIX98] (vswscanf): Likewise.
48825 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
48827         * timezone/version.h: Remove file.
48828         * timezone/README: Do not refer to version.h.
48829         * timezone/Makefile ($(objpfx)zic.o): New dependency on
48830         $(objpfx)version.h.
48831         ($(objpfx)zdump.o): Likewise.
48832         ($(objpfx)version.h): New target.
48834         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
48835         2012i.
48836         * timezone/README: Don't mention modification to tzselect.ksh.
48837         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
48838         work on unmodified tzselect.ksh.  Substitute version numbers in
48839         tzselect.ksh.
48841         * Makefile (format-me): Remove.
48842         (INSTALL): Adjust indentation.  Use commands directly instead of
48843         using $(format-me).
48845         * aclocal.m4 (ACX_PKGVERSION): New macro.
48846         (ACX_BUGURL): Likewise.
48847         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
48848         (PKGVERSION): New AC_DEFINE_UNQUOTED.
48849         (REPORT_BUGS_TO): Likewise.
48850         * configure: Regenerated.
48851         * config.h.in (PKGVERSION): New macro.
48852         (REPORT_BUGS_TO): Likewise.
48853         * config.make.in (PKGVERSION): New variable.
48854         (PKGVERSION_TEXI): Likewise.
48855         (REPORT_BUGS_TO): Likewise.
48856         (REPORT_BUGS_TEXI): Likewise.
48857         * Makefile (format-me): Use -I$(common-objpfx)manual.
48858         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
48859         ($(common-objpfx)manual/%): New target.
48860         (manual/%): Remove target.
48861         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
48862         (print_version): Use PKGVERSION.
48863         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
48864         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
48865         and REPORT_BUGS_TO.
48866         ($(objpfx)xtrace): Likewise.
48867         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
48868         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
48869         (print_version): Use PKGVERSION.
48870         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
48871         (do_version): Use PKGVERSION.
48872         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
48873         REPORT_BUGS_TO.
48874         (common-ldd-rewrite): Likewise.
48875         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
48876         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
48877         (print_version): Use PKGVERSION.
48878         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
48879         * elf/pldd.c (argp_program_bug_address): Remove variable.
48880         (more_help): New function.
48881         (argp): Use more_help.
48882         (print_version): Use PKGVERSION.
48883         * elf/sln.c (main): Use PKGVERSION.
48884         (usage): Use REPORT_BUGS_TO.
48885         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
48886         (top level): Use PKGVERSION.
48887         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
48888         (print_version): Use PKGVERSION.
48889         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
48890         (print_version): Use PKGVERSION.
48891         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
48892         (print_version): Use PKGVERSION.
48893         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
48894         (print_version): Use PKGVERSION.
48895         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
48896         (print_version): Use PKGVERSION.
48897         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
48898         (print_version): Use PKGVERSION.
48899         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
48900         and BUGURL.
48901         ($(objpfx)memusage): Likewise.
48902         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
48903         (do_version): Use PKGVERSION.
48904         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
48905         (print_version): Use PKGVERSION.
48906         * malloc/mtrace.pl ($PACKAGE): Remove variable.
48907         ($PKGVERSION): New variable.
48908         ($REPORT_BUGS_TO): Likewise.
48909         (usage): Use $REPORT_BUGS_TO.
48910         (top level): Use $PKGVERSION.
48911         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
48912         ($(objpfx)pkgvers.texi): New rule.
48913         ($(objpfx)stamp-pkgvers): Likewise.
48914         * manual/install.texi: Include pkgvers.texi.
48915         (--with-pkgversion): Document new configure option.
48916         (--with-bugurl): Likewise.
48917         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
48918         than necessarily for this particular distribution.  Use
48919         REPORT_BUGS_TO for where to report bugs.
48920         * INSTALL: Regenerated.
48921         * manual/libc.texinfo: Include pkgvers.texi.
48922         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
48923         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
48924         (print_version): Use PKGVERSION.
48925         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
48926         (print_version): Use PKGVERSION.
48927         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
48928         (print_version): Use PKGVERSION.
48929         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
48930         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
48931         macro.
48932         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
48933         (print_version): Use PKGVERSION.
48934         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
48935         (print_version): Use PKGVERSION.
48936         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
48937         and PKGVERSION.
48939         * timezone/checktab.awk: Update from tzcode 2012i.
48940         * timezone/ialloc.c: Likewise.
48941         * timezone/private.h: Likewise.
48942         * timezone/scheck.c: Likewise.
48943         * timezone/tzfile.h: Likewise.
48944         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
48945         (TZVERSION): Hardcode tzcode version number.
48946         * timezone/zdump.c: Update from tzcode 2012i.
48947         * timezone/zic.c: Likewise.
48948         * timezone/version.h: New file.
48949         * timezone/README: Describe version.h.  Update upstream location.
48951         [BZ #14824]
48952         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
48953         (mktemp): Enable declaration.
48954         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
48955         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
48956         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
48957         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
48958         Likewise.
48959         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
48960         Likewise.
48961         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
48962         Likewise.
48963         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
48964         Likewise.
48965         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
48966         Likewise.
48967         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
48968         Likewise.
48970         [BZ #14821]
48971         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
48972         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
48973         for copies of such integer values.
48974         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
48975         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
48977 2012-11-09  Andreas Jaeger  <aj@suse.de>
48979         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
48980         definitions and declarations that are provided by
48981         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
48983 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48985         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
48986         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
48987         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
48988         definition.
48990 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48992         * elf/elf.h: Update comment before AArch64 relocations.
48994 2012-11-07  David S. Miller  <davem@davemloft.net>
48996         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
48997         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
48998         (__start_context): Declare.
48999         (__makecontext_ret): Delete.
49000         (__makecontext): Hook up __start_context instead of
49001         __makecontext_ret.
49002         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
49003         (sysdep_routines): Add __start_context when in stdlib.
49005 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
49007         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
49008         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
49009         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
49010         hardcoded "nm".
49011         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
49012         (READELF): New variable.  Use it instead of hardcoded "readelf".
49014 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
49016         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
49017         * sysdeps/x86/Makefile: Here.
49018         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
49019         * sysdeps/x86/tst-xmmymm.sh: This.
49021 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
49023         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
49024         expectations.
49025         [UNIX98] (pthread_barrier_t): Do not expect.
49026         [UNIX98] (pthread_barrierattr_t): Likewise.
49027         [UNIX98] (pthread_spinlock_t): Likewise.
49028         [UNIX98] (pthread_barrier_destroy): Likewise.
49029         [UNIX98] (pthread_barrier_init): Likewise.
49030         [UNIX98] (pthread_barrier_wait): Likewise.
49031         [UNIX98] (pthread_barrierattr_destroy): Likewise.
49032         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
49033         [UNIX98] (pthread_barrierattr_init): Likewise.
49034         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
49035         [UNIX98] (pthread_getcpuclockid): Likewise.
49036         [UNIX98] (pthread_mutex_timedlock): Likewise.
49037         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
49038         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
49039         [UNIX98] (pthread_sigmask): Likewise.
49040         [UNIX98] (pthread_spin_destroy): Likewise.
49041         [UNIX98] (pthread_spin_init): Likewise.
49042         [UNIX98] (pthread_spin_lock): Likewise.
49043         [UNIX98] (pthread_spin_trylock): Likewise.
49044         [UNIX98] (pthread_spin_unlock): Likewise.
49045         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
49046         Do not expect.
49047         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
49048         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
49049         [XPG3 || XPG4] (pthread_cond_t): Likewise.
49050         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
49051         [XPG3 || XPG4] (pthread_key_t): Likewise.
49052         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
49053         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
49054         [XPG3 || XPG4] (pthread_once_t): Likewise.
49055         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
49056         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
49057         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
49058         [XPG3 || XPG4] (pthread_t): Likewise.
49060         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
49061         not expect.
49062         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
49064         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
49065         Change function return type to int.
49067         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
49068         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
49069         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
49070         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
49071         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
49072         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
49073         [!POSIX] (posix_madvise): Likewise.
49074         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
49075         && !UNIX98].
49076         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
49077         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
49078         (mode_t): Likewise.
49079         (posix_mem_offset): Likewise.
49080         (posix_typed_mem_get_info): Likewise.
49081         (posix_typed_mem_open): Likewise.
49083         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
49084         Change condition to [XOPEN2K8].
49086         * conform/conformtest.pl: Preprocess allow-header data with -x c
49087         instead of from stdin.
49088         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
49089         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
49090         [C99-based standards] (cerfc): Likewise.
49091         [C99-based standards] (cexp2): Likewise.
49092         [C99-based standards] (cexpm1): Likewise.
49093         [C99-based standards] (clog10): Likewise.
49094         [C99-based standards] (clog1p): Likewise.
49095         [C99-based standards] (clog2): Likewise.
49096         [C99-based standards] (clgamma): Likewise.
49097         [C99-based standards] (ctgamma): Likewise.
49098         [C99-based standards] (cerff): Likewise.
49099         [C99-based standards] (cerfcf): Likewise.
49100         [C99-based standards] (cexp2f): Likewise.
49101         [C99-based standards] (cexpm1f): Likewise.
49102         [C99-based standards] (clog10f): Likewise.
49103         [C99-based standards] (clog1pf): Likewise.
49104         [C99-based standards] (clog2f): Likewise.
49105         [C99-based standards] (clgammaf): Likewise.
49106         [C99-based standards] (ctgammaf): Likewise.
49107         [C99-based standards] (cerfl): Likewise.
49108         [C99-based standards] (cerfcl): Likewise.
49109         [C99-based standards] (cexp2l): Likewise.
49110         [C99-based standards] (cexpm1l): Likewise.
49111         [C99-based standards] (clog10l): Likewise.
49112         [C99-based standards] (clog1pl): Likewise.
49113         [C99-based standards] (clog2l): Likewise.
49114         [C99-based standards] (clgammal): Likewise.
49115         [C99-based standards] (ctgammal): Likewise.
49116         * conform/data/inttypes.h-data [C99-based standards]: Include
49117         stdint.h-data.  Remove all expectations for stdint.h contents.
49118         [C99-based standards] (PRI*): Do not allow.
49119         [C99-based standards] (SCN*): Likewise.
49120         [C99-based standards] (*_t): Likewise.
49121         [C99-based-standards] (PRId8): Expect macro.
49122         [C99-based-standards] (PRIi8): Likewise.
49123         [C99-based-standards] (PRIo8): Likewise.
49124         [C99-based-standards] (PRIu8): Likewise.
49125         [C99-based-standards] (PRIx8): Likewise.
49126         [C99-based-standards] (PRIX8): Likewise.
49127         [C99-based-standards] (SCNd8): Likewise.
49128         [C99-based-standards] (SCNi8): Likewise.
49129         [C99-based-standards] (SCNo8): Likewise.
49130         [C99-based-standards] (SCNu8): Likewise.
49131         [C99-based-standards] (SCNx8): Likewise.
49132         [C99-based-standards] (PRIdLEAST8): Likewise.
49133         [C99-based-standards] (PRIiLEAST8): Likewise.
49134         [C99-based-standards] (PRIoLEAST8): Likewise.
49135         [C99-based-standards] (PRIuLEAST8): Likewise.
49136         [C99-based-standards] (PRIxLEAST8): Likewise.
49137         [C99-based-standards] (PRIXLEAST8): Likewise.
49138         [C99-based-standards] (SCNdLEAST8): Likewise.
49139         [C99-based-standards] (SCNiLEAST8): Likewise.
49140         [C99-based-standards] (SCNoLEAST8): Likewise.
49141         [C99-based-standards] (SCNuLEAST8): Likewise.
49142         [C99-based-standards] (SCNxLEAST8): Likewise.
49143         [C99-based-standards] (PRIdFAST8): Likewise.
49144         [C99-based-standards] (PRIiFAST8): Likewise.
49145         [C99-based-standards] (PRIoFAST8): Likewise.
49146         [C99-based-standards] (PRIuFAST8): Likewise.
49147         [C99-based-standards] (PRIxFAST8): Likewise.
49148         [C99-based-standards] (PRIXFAST8): Likewise.
49149         [C99-based-standards] (SCNdFAST8): Likewise.
49150         [C99-based-standards] (SCNiFAST8): Likewise.
49151         [C99-based-standards] (SCNoFAST8): Likewise.
49152         [C99-based-standards] (SCNuFAST8): Likewise.
49153         [C99-based-standards] (SCNxFAST8): Likewise.
49154         [C99-based-standards] (PRId16): Likewise.
49155         [C99-based-standards] (PRIi16): Likewise.
49156         [C99-based-standards] (PRIo16): Likewise.
49157         [C99-based-standards] (PRIu16): Likewise.
49158         [C99-based-standards] (PRIx16): Likewise.
49159         [C99-based-standards] (PRIX16): Likewise.
49160         [C99-based-standards] (SCNd16): Likewise.
49161         [C99-based-standards] (SCNi16): Likewise.
49162         [C99-based-standards] (SCNo16): Likewise.
49163         [C99-based-standards] (SCNu16): Likewise.
49164         [C99-based-standards] (SCNx16): Likewise.
49165         [C99-based-standards] (PRIdLEAST16): Likewise.
49166         [C99-based-standards] (PRIiLEAST16): Likewise.
49167         [C99-based-standards] (PRIoLEAST16): Likewise.
49168         [C99-based-standards] (PRIuLEAST16): Likewise.
49169         [C99-based-standards] (PRIxLEAST16): Likewise.
49170         [C99-based-standards] (PRIXLEAST16): Likewise.
49171         [C99-based-standards] (SCNdLEAST16): Likewise.
49172         [C99-based-standards] (SCNiLEAST16): Likewise.
49173         [C99-based-standards] (SCNoLEAST16): Likewise.
49174         [C99-based-standards] (SCNuLEAST16): Likewise.
49175         [C99-based-standards] (SCNxLEAST16): Likewise.
49176         [C99-based-standards] (PRIdFAST16): Likewise.
49177         [C99-based-standards] (PRIiFAST16): Likewise.
49178         [C99-based-standards] (PRIoFAST16): Likewise.
49179         [C99-based-standards] (PRIuFAST16): Likewise.
49180         [C99-based-standards] (PRIxFAST16): Likewise.
49181         [C99-based-standards] (PRIXFAST16): Likewise.
49182         [C99-based-standards] (SCNdFAST16): Likewise.
49183         [C99-based-standards] (SCNiFAST16): Likewise.
49184         [C99-based-standards] (SCNoFAST16): Likewise.
49185         [C99-based-standards] (SCNuFAST16): Likewise.
49186         [C99-based-standards] (SCNxFAST16): Likewise.
49187         [C99-based-standards] (PRId32): Likewise.
49188         [C99-based-standards] (PRIi32): Likewise.
49189         [C99-based-standards] (PRIo32): Likewise.
49190         [C99-based-standards] (PRIu32): Likewise.
49191         [C99-based-standards] (PRIx32): Likewise.
49192         [C99-based-standards] (PRIX32): Likewise.
49193         [C99-based-standards] (SCNd32): Likewise.
49194         [C99-based-standards] (SCNi32): Likewise.
49195         [C99-based-standards] (SCNo32): Likewise.
49196         [C99-based-standards] (SCNu32): Likewise.
49197         [C99-based-standards] (SCNx32): Likewise.
49198         [C99-based-standards] (PRIdLEAST32): Likewise.
49199         [C99-based-standards] (PRIiLEAST32): Likewise.
49200         [C99-based-standards] (PRIoLEAST32): Likewise.
49201         [C99-based-standards] (PRIuLEAST32): Likewise.
49202         [C99-based-standards] (PRIxLEAST32): Likewise.
49203         [C99-based-standards] (PRIXLEAST32): Likewise.
49204         [C99-based-standards] (SCNdLEAST32): Likewise.
49205         [C99-based-standards] (SCNiLEAST32): Likewise.
49206         [C99-based-standards] (SCNoLEAST32): Likewise.
49207         [C99-based-standards] (SCNuLEAST32): Likewise.
49208         [C99-based-standards] (SCNxLEAST32): Likewise.
49209         [C99-based-standards] (PRIdFAST32): Likewise.
49210         [C99-based-standards] (PRIiFAST32): Likewise.
49211         [C99-based-standards] (PRIoFAST32): Likewise.
49212         [C99-based-standards] (PRIuFAST32): Likewise.
49213         [C99-based-standards] (PRIxFAST32): Likewise.
49214         [C99-based-standards] (PRIXFAST32): Likewise.
49215         [C99-based-standards] (SCNdFAST32): Likewise.
49216         [C99-based-standards] (SCNiFAST32): Likewise.
49217         [C99-based-standards] (SCNoFAST32): Likewise.
49218         [C99-based-standards] (SCNuFAST32): Likewise.
49219         [C99-based-standards] (SCNxFAST32): Likewise.
49220         [C99-based-standards] (PRId64): Likewise.
49221         [C99-based-standards] (PRIi64): Likewise.
49222         [C99-based-standards] (PRIo64): Likewise.
49223         [C99-based-standards] (PRIu64): Likewise.
49224         [C99-based-standards] (PRIx64): Likewise.
49225         [C99-based-standards] (PRIX64): Likewise.
49226         [C99-based-standards] (SCNd64): Likewise.
49227         [C99-based-standards] (SCNi64): Likewise.
49228         [C99-based-standards] (SCNo64): Likewise.
49229         [C99-based-standards] (SCNu64): Likewise.
49230         [C99-based-standards] (SCNx64): Likewise.
49231         [C99-based-standards] (PRIdLEAST64): Likewise.
49232         [C99-based-standards] (PRIiLEAST64): Likewise.
49233         [C99-based-standards] (PRIoLEAST64): Likewise.
49234         [C99-based-standards] (PRIuLEAST64): Likewise.
49235         [C99-based-standards] (PRIxLEAST64): Likewise.
49236         [C99-based-standards] (PRIXLEAST64): Likewise.
49237         [C99-based-standards] (SCNdLEAST64): Likewise.
49238         [C99-based-standards] (SCNiLEAST64): Likewise.
49239         [C99-based-standards] (SCNoLEAST64): Likewise.
49240         [C99-based-standards] (SCNuLEAST64): Likewise.
49241         [C99-based-standards] (SCNxLEAST64): Likewise.
49242         [C99-based-standards] (PRIdFAST64): Likewise.
49243         [C99-based-standards] (PRIiFAST64): Likewise.
49244         [C99-based-standards] (PRIoFAST64): Likewise.
49245         [C99-based-standards] (PRIuFAST64): Likewise.
49246         [C99-based-standards] (PRIxFAST64): Likewise.
49247         [C99-based-standards] (PRIXFAST64): Likewise.
49248         [C99-based-standards] (SCNdFAST64): Likewise.
49249         [C99-based-standards] (SCNiFAST64): Likewise.
49250         [C99-based-standards] (SCNoFAST64): Likewise.
49251         [C99-based-standards] (SCNuFAST64): Likewise.
49252         [C99-based-standards] (SCNxFAST64): Likewise.
49253         [C99-based-standards] (PRIdMAX): Likewise.
49254         [C99-based-standards] (PRIiMAX): Likewise.
49255         [C99-based-standards] (PRIoMAX): Likewise.
49256         [C99-based-standards] (PRIuMAX): Likewise.
49257         [C99-based-standards] (PRIxMAX): Likewise.
49258         [C99-based-standards] (PRIXMAX): Likewise.
49259         [C99-based-standards] (SCNdMAX): Likewise.
49260         [C99-based-standards] (SCNiMAX): Likewise.
49261         [C99-based-standards] (SCNoMAX): Likewise.
49262         [C99-based-standards] (SCNuMAX): Likewise.
49263         [C99-based-standards] (SCNxMAX): Likewise.
49264         [C99-based-standards] (PRIdPTR): Likewise.
49265         [C99-based-standards] (PRIiPTR): Likewise.
49266         [C99-based-standards] (PRIoPTR): Likewise.
49267         [C99-based-standards] (PRIuPTR): Likewise.
49268         [C99-based-standards] (PRIxPTR): Likewise.
49269         [C99-based-standards] (PRIXPTR): Likewise.
49270         [C99-based-standards] (SCNdPTR): Likewise.
49271         [C99-based-standards] (SCNiPTR): Likewise.
49272         [C99-based-standards] (SCNoPTR): Likewise.
49273         [C99-based-standards] (SCNuPTR): Likewise.
49274         [C99-based-standards] (SCNxPTR): Likewise.
49275         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
49276         allow.
49277         * conform/data/stdint.h-data: Update comments to clarify
49278         requirements.
49279         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
49280         type.
49281         [C99-based standards] (INT8_MAX): Likewise.
49282         [C99-based standards] (INT16_MIN): Likewise.
49283         [C99-based standards] (INT16_MAX): Likewise.
49284         [C99-based standards] (INT32_MIN): Likewise.
49285         [C99-based standards] (INT32_MAX): Likewise.
49286         [C99-based standards] (INT64_MIN): Likewise.
49287         [C99-based standards] (INT64_MAX): Likewise.
49288         [C99-based standards] (UINT8_MAX): Likewise.
49289         [C99-based standards] (UINT16_MAX): Likewise.
49290         [C99-based standards] (UINT32_MAX): Likewise.
49291         [C99-based standards] (UINT64_MAX): Likewise.
49292         [C99-based standards] (INT_LEAST8_MIN): Likewise.
49293         [C99-based standards] (INT_LEAST8_MAX): Likewise.
49294         [C99-based standards] (INT_LEAST16_MIN): Likewise.
49295         [C99-based standards] (INT_LEAST16_MAX): Likewise.
49296         [C99-based standards] (INT_LEAST32_MIN): Likewise.
49297         [C99-based standards] (INT_LEAST32_MAX): Likewise.
49298         [C99-based standards] (INT_LEAST64_MIN): Likewise.
49299         [C99-based standards] (INT_LEAST64_MAX): Likewise.
49300         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
49301         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
49302         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
49303         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
49304         [C99-based standards] (INT_FAST8_MIN): Likewise.
49305         [C99-based standards] (INT_FAST8_MAX): Likewise.
49306         [C99-based standards] (INT_FAST16_MIN): Likewise.
49307         [C99-based standards] (INT_FAST16_MAX): Likewise.
49308         [C99-based standards] (INT_FAST32_MIN): Likewise.
49309         [C99-based standards] (INT_FAST32_MAX): Likewise.
49310         [C99-based standards] (INT_FAST64_MIN): Likewise.
49311         [C99-based standards] (INT_FAST64_MAX): Likewise.
49312         [C99-based standards] (UINT_FAST8_MAX): Likewise.
49313         [C99-based standards] (UINT_FAST16_MAX): Likewise.
49314         [C99-based standards] (UINT_FAST32_MAX): Likewise.
49315         [C99-based standards] (UINT_FAST64_MAX): Likewise.
49316         [C99-based standards] (INTPTR_MIN): Likewise.
49317         [C99-based standards] (INTPTR_MAX): Likewise.
49318         [C99-based standards] (UINTPTR_MAX): Likewise.
49319         [C99-based standards] (INTMAX_MIN): Likewise.
49320         [C99-based standards] (INTMAX_MAX): Likewise.
49321         [C99-based standards] (UINTMAX_MAX): Likewise.
49322         [C99-based standards] (PTRDIFF_MIN): Likewise.
49323         [C99-based standards] (PTRDIFF_MAX): Likewise.
49324         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
49325         [C99-based standards] (SIZE_MAX): Likewise.
49326         [C99-based standards] (WCHAR_MAX): Likewise.
49327         [C99-based standards] (WINT_MAX): Likewise.
49328         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
49329         constraint on value.
49330         [C99-based standards] (WCHAR_MIN): Likewise.
49331         [C99-based standards] (WINT_MIN): Likewise.
49332         [C99-based standards] (*_t): Allow.
49333         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
49334         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
49335         Include math.h-data and complex.h-data.  Remove all expectations
49336         of math.h and complex.h contents.
49337         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
49338         at end of line.
49339         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
49340         (struct tm): Expect tag.
49341         [C99-based-standards] (wcstof): Expect function.
49342         [C99-based-standards] (wcstold): Likewise.
49343         [C99-based-standards] (wcstoll): Likewise.
49344         [C99-based-standards] (wcstoull): Likewise.
49345         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
49346         macro-int-constant.  Specify type.
49347         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
49348         constraint on value.
49349         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
49350         Specify type.
49351         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
49352         Specify value.
49353         [ISO C standards]: Do not allow headers.
49354         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
49355         wcs[abcdefghijklmnopqrstuvwxyz]*.
49356         [ISO C standards] (*_t): Do not allow.
49357         * conform/data/wctype.h-data [C99-based standards] (iswblank):
49358         Expect function.
49359         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
49360         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
49361         Specify type.
49362         [ISO C standards]: Do not allow headers.
49363         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
49364         is[abcdefghijklmnopqrstuvwxyz]*.
49365         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
49366         to[abcdefghijklmnopqrstuvwxyz]*.
49367         [ISO C standards] (*_t): Do not allow.
49368         * conform/data/stdalign.h-data: New file.
49369         * conform/data/stdbool.h-data: Likewise.
49370         * conform/data/stdnoreturn.h-data: Likewise.
49372 2012-11-07  Roland McGrath  <roland@hack.frob.com>
49374         [BZ #14815]
49375         * manual/filesys.texi (Directory Entries): Typo fix.
49376         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
49378 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
49380         * elf/elf.h (EM_AARCH64): New macro.
49381         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
49382         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
49383         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
49384         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
49385         (R_AARCH64_TLSDESC): Likewise.
49386         (NT_ARM_TLS): Likewise.
49387         (NT_ARM_HW_BREAK): Likewise.
49388         (NT_ARM_HW_WATCH): Likewise.
49390 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
49392         [BZ #14811]
49393         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
49394         (__ieee754_powl): Saturate nonzero exponents with absolute value
49395         below 0x1p-79 to +/- 0x1p-79.
49396         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
49397         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
49398         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
49399         nonzero exponents with absolute value below 0x1p-32 to +/-
49400         0x1p-32.
49401         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
49402         (__ieee754_powl): Saturate nonzero exponents with absolute value
49403         below 0x1p-79 to +/- 0x1p-79.
49404         * math/libm-test.inc (pow_test): Add more tests.
49406 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49408         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
49409         _dl_s390_cap_flags with kernel. Increase string length.
49410         (_dl_s390_platforms): Add z196 and zEC12.
49412 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
49414         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
49415         Change XOPEN21K to XOPEN2K.
49417 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
49419         * string/memmove.c: Use memcpy when possible.
49421 2012-11-06  Andreas Jaeger  <aj@suse.de>
49423         * po/eo.po: Update from translation team.
49425 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
49427         [BZ #14793]
49428         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
49429         exponent and small x and y exponents, scale x or y up.  Increase
49430         by 2 the exponent used in scaling up.
49431         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
49432         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
49433         * math/libm-test.inc (fma_test): Add more tests.
49434         (fma_test_towardzero): Likewise.
49435         (fma_test_downward): Likewise.
49436         (fma_test_upward): Likewise.
49438 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
49440         [BZ #14805]
49441         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
49442         fenv_t *.
49444         [BZ #14801]
49445         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
49446         namespace for names of struct fields.
49447         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
49448         fenv_t fields.
49449         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
49450         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
49452 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49454         [BZ #3665]
49455         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
49457 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
49459         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
49460         PTR_DEMANGLE.
49462         [BZ #5246]
49463         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
49464         PTR_DEMANGLE.
49466 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
49468         [BZ #14797]
49469         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
49470         definitely overflow as x * y not x * y + z.
49471         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
49472         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
49473         * math/libm-test.inc (fma_test): Add more tests.
49474         (fma_test_towardzero): Likewise.
49475         (fma_test_downward): Likewise.
49476         (fma_test_upward): Likewise.
49478 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
49480         [BZ #157]
49482         * include/stub-tag.h: Remove file.
49483         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
49484         '#include' of it.
49485         * manual/maint.texi (Porting): Don't reference it.
49486         * Makerules ($(objpfx)stubs): Likewise.
49487         * dirent/closedir.c: Don't include <stub-tag.h>.
49488         * dirent/dirfd.c: Likewise.
49489         * dirent/fdopendir.c: Likewise.
49490         * dirent/getdents.c: Likewise.
49491         * dirent/getdents64.c: Likewise.
49492         * dirent/opendir.c: Likewise.
49493         * dirent/readdir.c: Likewise.
49494         * dirent/readdir64.c: Likewise.
49495         * dirent/readdir64_r.c: Likewise.
49496         * dirent/readdir_r.c: Likewise.
49497         * dirent/rewinddir.c: Likewise.
49498         * dirent/seekdir.c: Likewise.
49499         * dirent/telldir.c: Likewise.
49500         * gmon/profil.c: Likewise.
49501         * grp/setgroups.c: Likewise.
49502         * inet/if_index.c: Likewise.
49503         * io/access.c: Likewise.
49504         * io/chdir.c: Likewise.
49505         * io/chmod.c: Likewise.
49506         * io/chown.c: Likewise.
49507         * io/close.c: Likewise.
49508         * io/dup.c: Likewise.
49509         * io/dup2.c: Likewise.
49510         * io/dup3.c: Likewise.
49511         * io/euidaccess.c: Likewise.
49512         * io/faccessat.c: Likewise.
49513         * io/fchdir.c: Likewise.
49514         * io/fchmod.c: Likewise.
49515         * io/fchmodat.c: Likewise.
49516         * io/fchown.c: Likewise.
49517         * io/fchownat.c: Likewise.
49518         * io/fcntl.c: Likewise.
49519         * io/flock.c: Likewise.
49520         * io/fstatfs.c: Likewise.
49521         * io/fstatfs64.c: Likewise.
49522         * io/fstatvfs.c: Likewise.
49523         * io/fstatvfs64.c: Likewise.
49524         * io/futimens.c: Likewise.
49525         * io/fxstat.c: Likewise.
49526         * io/fxstat64.c: Likewise.
49527         * io/fxstatat.c: Likewise.
49528         * io/fxstatat64.c: Likewise.
49529         * io/getcwd.c: Likewise.
49530         * io/isatty.c: Likewise.
49531         * io/lchmod.c: Likewise.
49532         * io/lchown.c: Likewise.
49533         * io/link.c: Likewise.
49534         * io/linkat.c: Likewise.
49535         * io/lseek.c: Likewise.
49536         * io/lseek64.c: Likewise.
49537         * io/lxstat64.c: Likewise.
49538         * io/mkdir.c: Likewise.
49539         * io/mkdirat.c: Likewise.
49540         * io/mkfifo.c: Likewise.
49541         * io/mkfifoat.c: Likewise.
49542         * io/open.c: Likewise.
49543         * io/open64.c: Likewise.
49544         * io/openat.c: Likewise.
49545         * io/openat64.c: Likewise.
49546         * io/pipe.c: Likewise.
49547         * io/pipe2.c: Likewise.
49548         * io/poll.c: Likewise.
49549         * io/posix_fadvise.c: Likewise.
49550         * io/posix_fadvise64.c: Likewise.
49551         * io/posix_fallocate.c: Likewise.
49552         * io/posix_fallocate64.c: Likewise.
49553         * io/read.c: Likewise.
49554         * io/readlink.c: Likewise.
49555         * io/readlinkat.c: Likewise.
49556         * io/rmdir.c: Likewise.
49557         * io/sendfile.c: Likewise.
49558         * io/sendfile64.c: Likewise.
49559         * io/statfs.c: Likewise.
49560         * io/statfs64.c: Likewise.
49561         * io/statvfs.c: Likewise.
49562         * io/statvfs64.c: Likewise.
49563         * io/symlink.c: Likewise.
49564         * io/symlinkat.c: Likewise.
49565         * io/ttyname.c: Likewise.
49566         * io/ttyname_r.c: Likewise.
49567         * io/umask.c: Likewise.
49568         * io/unlink.c: Likewise.
49569         * io/unlinkat.c: Likewise.
49570         * io/utime.c: Likewise.
49571         * io/utimensat.c: Likewise.
49572         * io/write.c: Likewise.
49573         * io/xmknod.c: Likewise.
49574         * io/xmknodat.c: Likewise.
49575         * io/xstat.c: Likewise.
49576         * io/xstat64.c: Likewise.
49577         * login/getpt.c: Likewise.
49578         * login/grantpt.c: Likewise.
49579         * login/unlockpt.c: Likewise.
49580         * math/e_acoshl.c: Likewise.
49581         * math/e_acosl.c: Likewise.
49582         * math/e_asinl.c: Likewise.
49583         * math/e_atan2l.c: Likewise.
49584         * math/e_atanhl.c: Likewise.
49585         * math/e_coshl.c: Likewise.
49586         * math/e_expl.c: Likewise.
49587         * math/e_fmodl.c: Likewise.
49588         * math/e_gammal_r.c: Likewise.
49589         * math/e_hypotl.c: Likewise.
49590         * math/e_j0l.c: Likewise.
49591         * math/e_j1l.c: Likewise.
49592         * math/e_jnl.c: Likewise.
49593         * math/e_lgammal_r.c: Likewise.
49594         * math/e_log10l.c: Likewise.
49595         * math/e_log2l.c: Likewise.
49596         * math/e_logl.c: Likewise.
49597         * math/e_powl.c: Likewise.
49598         * math/e_rem_pio2l.c: Likewise.
49599         * math/e_sinhl.c: Likewise.
49600         * math/e_sqrtl.c: Likewise.
49601         * math/fclrexcpt.c: Likewise.
49602         * math/fedisblxcpt.c: Likewise.
49603         * math/feenablxcpt.c: Likewise.
49604         * math/fegetenv.c: Likewise.
49605         * math/fegetexcept.c: Likewise.
49606         * math/fegetround.c: Likewise.
49607         * math/feholdexcpt.c: Likewise.
49608         * math/fesetenv.c: Likewise.
49609         * math/fesetround.c: Likewise.
49610         * math/feupdateenv.c: Likewise.
49611         * math/fgetexcptflg.c: Likewise.
49612         * math/fraiseexcpt.c: Likewise.
49613         * math/fsetexcptflg.c: Likewise.
49614         * math/ftestexcept.c: Likewise.
49615         * math/k_cosl.c: Likewise.
49616         * math/k_rem_pio2l.c: Likewise.
49617         * math/k_sinl.c: Likewise.
49618         * math/k_tanl.c: Likewise.
49619         * math/s_asinhl.c: Likewise.
49620         * math/s_atanl.c: Likewise.
49621         * math/s_cbrtl.c: Likewise.
49622         * math/s_erfl.c: Likewise.
49623         * math/s_expm1l.c: Likewise.
49624         * math/s_log1pl.c: Likewise.
49625         * math/s_tanhl.c: Likewise.
49626         * misc/acct.c: Likewise.
49627         * misc/brk.c: Likewise.
49628         * misc/chflags.c: Likewise.
49629         * misc/chroot.c: Likewise.
49630         * misc/fchflags.c: Likewise.
49631         * misc/fgetxattr.c: Likewise.
49632         * misc/flistxattr.c: Likewise.
49633         * misc/fremovexattr.c: Likewise.
49634         * misc/fsetxattr.c: Likewise.
49635         * misc/fsync.c: Likewise.
49636         * misc/ftruncate.c: Likewise.
49637         * misc/futimes.c: Likewise.
49638         * misc/futimesat.c: Likewise.
49639         * misc/getdomain.c: Likewise.
49640         * misc/getdtsz.c: Likewise.
49641         * misc/gethostid.c: Likewise.
49642         * misc/gethostname.c: Likewise.
49643         * misc/getloadavg.c: Likewise.
49644         * misc/getpagesize.c: Likewise.
49645         * misc/getsysstats.c: Likewise.
49646         * misc/getxattr.c: Likewise.
49647         * misc/gtty.c: Likewise.
49648         * misc/ioctl.c: Likewise.
49649         * misc/lgetxattr.c: Likewise.
49650         * misc/listxattr.c: Likewise.
49651         * misc/llistxattr.c: Likewise.
49652         * misc/lremovexattr.c: Likewise.
49653         * misc/lsetxattr.c: Likewise.
49654         * misc/lutimes.c: Likewise.
49655         * misc/madvise.c: Likewise.
49656         * misc/mincore.c: Likewise.
49657         * misc/mlock.c: Likewise.
49658         * misc/mlockall.c: Likewise.
49659         * misc/mmap.c: Likewise.
49660         * misc/mprotect.c: Likewise.
49661         * misc/msync.c: Likewise.
49662         * misc/munlock.c: Likewise.
49663         * misc/munlockall.c: Likewise.
49664         * misc/munmap.c: Likewise.
49665         * misc/preadv.c: Likewise.
49666         * misc/preadv64.c: Likewise.
49667         * misc/ptrace.c: Likewise.
49668         * misc/pwritev.c: Likewise.
49669         * misc/pwritev64.c: Likewise.
49670         * misc/readv.c: Likewise.
49671         * misc/reboot.c: Likewise.
49672         * misc/remap_file_pages.c: Likewise.
49673         * misc/removexattr.c: Likewise.
49674         * misc/revoke.c: Likewise.
49675         * misc/select.c: Likewise.
49676         * misc/setdomain.c: Likewise.
49677         * misc/setegid.c: Likewise.
49678         * misc/seteuid.c: Likewise.
49679         * misc/sethostid.c: Likewise.
49680         * misc/sethostname.c: Likewise.
49681         * misc/setregid.c: Likewise.
49682         * misc/setreuid.c: Likewise.
49683         * misc/setxattr.c: Likewise.
49684         * misc/sstk.c: Likewise.
49685         * misc/stty.c: Likewise.
49686         * misc/swapoff.c: Likewise.
49687         * misc/swapon.c: Likewise.
49688         * misc/sync.c: Likewise.
49689         * misc/syncfs.c: Likewise.
49690         * misc/syscall.c: Likewise.
49691         * misc/truncate.c: Likewise.
49692         * misc/ualarm.c: Likewise.
49693         * misc/usleep.c: Likewise.
49694         * misc/ustat.c: Likewise.
49695         * misc/utimes.c: Likewise.
49696         * misc/vhangup.c: Likewise.
49697         * misc/writev.c: Likewise.
49698         * posix/_exit.c: Likewise.
49699         * posix/alarm.c: Likewise.
49700         * posix/execve.c: Likewise.
49701         * posix/fexecve.c: Likewise.
49702         * posix/fork.c: Likewise.
49703         * posix/fpathconf.c: Likewise.
49704         * posix/getaddrinfo.c: Likewise.
49705         * posix/getegid.c: Likewise.
49706         * posix/geteuid.c: Likewise.
49707         * posix/getgid.c: Likewise.
49708         * posix/getgroups.c: Likewise.
49709         * posix/getlogin.c: Likewise.
49710         * posix/getlogin_r.c: Likewise.
49711         * posix/getpgid.c: Likewise.
49712         * posix/getpid.c: Likewise.
49713         * posix/getppid.c: Likewise.
49714         * posix/getresgid.c: Likewise.
49715         * posix/getresuid.c: Likewise.
49716         * posix/getsid.c: Likewise.
49717         * posix/getuid.c: Likewise.
49718         * posix/glob64.c: Likewise.
49719         * posix/nanosleep.c: Likewise.
49720         * posix/pathconf.c: Likewise.
49721         * posix/pause.c: Likewise.
49722         * posix/posix_madvise.c: Likewise.
49723         * posix/pread.c: Likewise.
49724         * posix/pread64.c: Likewise.
49725         * posix/pwrite.c: Likewise.
49726         * posix/pwrite64.c: Likewise.
49727         * posix/sched_getaffinity.c: Likewise.
49728         * posix/sched_getp.c: Likewise.
49729         * posix/sched_gets.c: Likewise.
49730         * posix/sched_primax.c: Likewise.
49731         * posix/sched_primin.c: Likewise.
49732         * posix/sched_rr_gi.c: Likewise.
49733         * posix/sched_setaffinity.c: Likewise.
49734         * posix/sched_setp.c: Likewise.
49735         * posix/sched_sets.c: Likewise.
49736         * posix/sched_yield.c: Likewise.
49737         * posix/setgid.c: Likewise.
49738         * posix/setlogin.c: Likewise.
49739         * posix/setpgid.c: Likewise.
49740         * posix/setresgid.c: Likewise.
49741         * posix/setresuid.c: Likewise.
49742         * posix/setsid.c: Likewise.
49743         * posix/setuid.c: Likewise.
49744         * posix/sleep.c: Likewise.
49745         * posix/spawni.c: Likewise.
49746         * posix/sysconf.c: Likewise.
49747         * posix/times.c: Likewise.
49748         * posix/wait.c: Likewise.
49749         * posix/wait3.c: Likewise.
49750         * posix/wait4.c: Likewise.
49751         * posix/waitpid.c: Likewise.
49752         * resolv/gai_sigqueue.c: Likewise.
49753         * resource/getpriority.c: Likewise.
49754         * resource/getrlimit.c: Likewise.
49755         * resource/getrusage.c: Likewise.
49756         * resource/nice.c: Likewise.
49757         * resource/setpriority.c: Likewise.
49758         * resource/setrlimit.c: Likewise.
49759         * resource/ulimit.c: Likewise.
49760         * rt/aio_cancel.c: Likewise.
49761         * rt/aio_fsync.c: Likewise.
49762         * rt/aio_read.c: Likewise.
49763         * rt/aio_sigqueue.c: Likewise.
49764         * rt/aio_suspend.c: Likewise.
49765         * rt/aio_write.c: Likewise.
49766         * rt/clock_getres.c: Likewise.
49767         * rt/clock_gettime.c: Likewise.
49768         * rt/clock_nanosleep.c: Likewise.
49769         * rt/clock_settime.c: Likewise.
49770         * rt/lio_listio.c: Likewise.
49771         * rt/mq_close.c: Likewise.
49772         * rt/mq_getattr.c: Likewise.
49773         * rt/mq_notify.c: Likewise.
49774         * rt/mq_open.c: Likewise.
49775         * rt/mq_receive.c: Likewise.
49776         * rt/mq_send.c: Likewise.
49777         * rt/mq_setattr.c: Likewise.
49778         * rt/mq_timedreceive.c: Likewise.
49779         * rt/mq_timedsend.c: Likewise.
49780         * rt/mq_unlink.c: Likewise.
49781         * rt/shm_open.c: Likewise.
49782         * rt/shm_unlink.c: Likewise.
49783         * rt/timer_create.c: Likewise.
49784         * rt/timer_delete.c: Likewise.
49785         * rt/timer_getoverr.c: Likewise.
49786         * rt/timer_gettime.c: Likewise.
49787         * rt/timer_settime.c: Likewise.
49788         * setjmp/__longjmp.c: Likewise.
49789         * setjmp/setjmp.c: Likewise.
49790         * signal/kill.c: Likewise.
49791         * signal/killpg.c: Likewise.
49792         * signal/raise.c: Likewise.
49793         * signal/sigaction.c: Likewise.
49794         * signal/sigaltstack.c: Likewise.
49795         * signal/sigblock.c: Likewise.
49796         * signal/sigignore.c: Likewise.
49797         * signal/sigintr.c: Likewise.
49798         * signal/signal.c: Likewise.
49799         * signal/sigpause.c: Likewise.
49800         * signal/sigpending.c: Likewise.
49801         * signal/sigqueue.c: Likewise.
49802         * signal/sigreturn.c: Likewise.
49803         * signal/sigset.c: Likewise.
49804         * signal/sigsetmask.c: Likewise.
49805         * signal/sigstack.c: Likewise.
49806         * signal/sigsuspend.c: Likewise.
49807         * signal/sigtimedwait.c: Likewise.
49808         * signal/sigvec.c: Likewise.
49809         * signal/sigwait.c: Likewise.
49810         * signal/sigwaitinfo.c: Likewise.
49811         * signal/sysv_signal.c: Likewise.
49812         * socket/accept.c: Likewise.
49813         * socket/accept4.c: Likewise.
49814         * socket/bind.c: Likewise.
49815         * socket/connect.c: Likewise.
49816         * socket/getpeername.c: Likewise.
49817         * socket/getsockname.c: Likewise.
49818         * socket/getsockopt.c: Likewise.
49819         * socket/isfdtype.c: Likewise.
49820         * socket/listen.c: Likewise.
49821         * socket/recv.c: Likewise.
49822         * socket/recvfrom.c: Likewise.
49823         * socket/recvmsg.c: Likewise.
49824         * socket/send.c: Likewise.
49825         * socket/sendmsg.c: Likewise.
49826         * socket/sendto.c: Likewise.
49827         * socket/setsockopt.c: Likewise.
49828         * socket/shutdown.c: Likewise.
49829         * socket/sockatmark.c: Likewise.
49830         * socket/socket.c: Likewise.
49831         * socket/socketpair.c: Likewise.
49832         * stdio-common/ctermid.c: Likewise.
49833         * stdio-common/cuserid.c: Likewise.
49834         * stdio-common/remove.c: Likewise.
49835         * stdio-common/rename.c: Likewise.
49836         * stdio-common/renameat.c: Likewise.
49837         * stdio-common/tempname.c: Likewise.
49838         * stdlib/getcontext.c: Likewise.
49839         * stdlib/makecontext.c: Likewise.
49840         * stdlib/setcontext.c: Likewise.
49841         * stdlib/swapcontext.c: Likewise.
49842         * stdlib/system.c: Likewise.
49843         * streams/fattach.c: Likewise.
49844         * streams/fdetach.c: Likewise.
49845         * streams/getmsg.c: Likewise.
49846         * streams/getpmsg.c: Likewise.
49847         * streams/putmsg.c: Likewise.
49848         * streams/putpmsg.c: Likewise.
49849         * sysdeps/unix/bsd/getpt.c: Likewise.
49850         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
49851         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
49852         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
49853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
49854         Likewise.
49855         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
49856         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
49857         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
49858         * sysvipc/msgctl.c: Likewise.
49859         * sysvipc/msgget.c: Likewise.
49860         * sysvipc/msgrcv.c: Likewise.
49861         * sysvipc/msgsnd.c: Likewise.
49862         * sysvipc/semctl.c: Likewise.
49863         * sysvipc/semget.c: Likewise.
49864         * sysvipc/semop.c: Likewise.
49865         * sysvipc/semtimedop.c: Likewise.
49866         * sysvipc/shmat.c: Likewise.
49867         * sysvipc/shmctl.c: Likewise.
49868         * sysvipc/shmdt.c: Likewise.
49869         * sysvipc/shmget.c: Likewise.
49870         * termios/tcdrain.c: Likewise.
49871         * termios/tcflow.c: Likewise.
49872         * termios/tcflush.c: Likewise.
49873         * termios/tcgetattr.c: Likewise.
49874         * termios/tcgetpgrp.c: Likewise.
49875         * termios/tcsendbrk.c: Likewise.
49876         * termios/tcsetattr.c: Likewise.
49877         * termios/tcsetpgrp.c: Likewise.
49878         * time/adjtime.c: Likewise.
49879         * time/clock.c: Likewise.
49880         * time/getitimer.c: Likewise.
49881         * time/gettimeofday.c: Likewise.
49882         * time/setitimer.c: Likewise.
49883         * time/settimeofday.c: Likewise.
49884         * time/stime.c: Likewise.
49885         * time/time.c: Likewise.
49887 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
49889         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
49890         /usr/old/bin.
49892         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
49893         instead of spaces.
49894         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
49896 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
49898         [BZ #14796]
49899         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
49900         FE_TONEAREST before applying Dekker multiplication and Knuth
49901         addition.  Clear inexact exceptions and check for exact zero
49902         results afterwards.
49903         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
49904         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
49905         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
49906         * math/libm-test.inc (fma_test): Add more tests.
49907         (fma_test_towardzero): Likewise.
49908         (fma_test_downward): Likewise.
49909         (fma_test_upward): Likewise.
49910         * sysdeps/generic/math_private.h (default_libc_fesetround): New
49911         function.
49912         (libc_fesetround): New macro.
49913         (libc_fesetroundf): Likewise.
49914         (libc_fesetroundl): Likewise.
49915         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
49916         function.
49917         (libc_fesetround_387): Likewise.
49918         (libc_fesetroundf): New macro.
49919         (libc_fesetround): Likewise.
49920         (libc_fesetroundl): Likewise.
49921         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
49922         function.
49923         (libc_fesetroundf): New macro.
49924         (libc_fesetround): Likewise.
49925         (libc_fesetroundl): Likewise.
49926         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
49927         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
49928         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
49929         libm_hidden_ver.
49930         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
49931         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
49932         libm_hidden_def.
49933         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
49934         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
49935         libm_hidden_ver.
49936         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
49937         libm_hidden_def.
49939         [BZ #3439]
49940         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
49941         integer constant usable in #if and use that to give value to enum
49942         constant.
49943         (FE_DIVBYZERO): Likewise.
49944         (FE_UNDERFLOW): Likewise.
49945         (FE_OVERFLOW): Likewise.
49946         (FE_INVALID): Likewise.
49947         (FE_INVALID_SNAN): Likewise.
49948         (FE_INVALID_ISI): Likewise.
49949         (FE_INVALID_IDI): Likewise.
49950         (FE_INVALID_ZDZ): Likewise.
49951         (FE_INVALID_IMZ): Likewise.
49952         (FE_INVALID_COMPARE): Likewise.
49953         (FE_INVALID_SOFTWARE): Likewise.
49954         (FE_INVALID_SQRT): Likewise.
49955         (FE_INVALID_INTEGER_CONVERSION): Likewise.
49956         (FE_TONEAREST): Likewise.
49957         (FE_TOWARDZERO): Likewise.
49958         (FE_UPWARD): Likewise.
49959         (FE_DOWNWARD): Likewise.
49960         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
49961         (FE_DIVBYZERO): Likewise.
49962         (FE_OVERFLOW): Likewise.
49963         (FE_UNDERFLOW): Likewise.
49964         (FE_INEXACT): Likewise.
49965         (FE_TONEAREST): Likewise.
49966         (FE_DOWNWARD): Likewise.
49967         (FE_UPWARD): Likewise.
49968         (FE_TOWARDZERO): Likewise.
49969         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
49970         (FE_UNDERFLOW): Likewise.
49971         (FE_OVERFLOW): Likewise.
49972         (FE_DIVBYZERO): Likewise.
49973         (FE_INVALID): Likewise.
49974         (FE_TONEAREST): Likewise.
49975         (FE_TOWARDZERO): Likewise.
49976         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
49977         (FE_OVERFLOW): Likewise.
49978         (FE_UNDERFLOW): Likewise.
49979         (FE_DIVBYZERO): Likewise.
49980         (FE_INEXACT): Likewise.
49981         (FE_TONEAREST): Likewise.
49982         (FE_TOWARDZERO): Likewise.
49983         (FE_UPWARD): Likewise.
49984         (FE_DOWNWARD): Likewise.
49985         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
49986         (FE_DIVBYZERO): Likewise.
49987         (FE_OVERFLOW): Likewise.
49988         (FE_UNDERFLOW): Likewise.
49989         (FE_INEXACT): Likewise.
49990         (FE_TONEAREST): Likewise.
49991         (FE_DOWNWARD): Likewise.
49992         (FE_UPWARD): Likewise.
49993         (FE_TOWARDZERO): Likewise.
49995 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
49997         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
49999 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
50001         * scripts/cross-test-ssh.sh (command): Use newlines to separate
50002         commands.  Quote $PWD.
50003         (blacklist_exports): Don't use remove_newlines.  Replace "declare
50004         -x" by "export".
50005         (remove_newlines): Remove.
50007 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
50009         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
50010         * stdlib/stdlib.h (atof): Moved to ...
50011         * include/bits/stdlib-float.h: Here.  New file.
50012         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
50013         * stdlib/bits/stdlib-float.h: New file.
50014         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
50015         -mno-sse -mno-mmx.
50016         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
50017         <xmmintrin.h>.
50019 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
50021         * conform/conformtest.pl (@headers): Add fenv.h.
50022         * conform/data/fenv.h-data: New file.
50023         * include/fenv.h [_ISOMAC]: Disable all contents of file except
50024         include of <math/fenv.h>.
50026         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
50027         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
50028         && !UNIX98].  Enables tests for XOPEN2K8.
50029         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
50030         POSIX2008]: Likewise.
50032         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
50033         (struct rusage): Do not expect type or its members.
50035         [BZ #3439]
50036         * math/math.h (FP_NAN): Define macro to integer constant usable in
50037         #if and use that to give value to enum constant.
50038         (FP_INFINITE): Likewise.
50039         (FP_ZERO): Likewise.
50040         (FP_SUBNORMAL): Likewise.
50041         (FP_NORMAL): Likewise.
50043 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
50045         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
50046         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
50047         arguments.
50049 2012-11-02  Roland McGrath  <roland@hack.frob.com>
50051         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
50052         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
50053         autoconf-time if not.
50054         * configure.in: Remove AC_PREREQ.
50056 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
50058         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
50059         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
50060         of the internal implementation.
50062 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
50064         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
50065         except include of <misc/sys/syslog.h>.
50067 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
50069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
50070         function returns with a NULL context exit with zero.
50072 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
50074         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
50076 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
50078         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
50079         (run_program_cmd): This.
50080         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
50081         (tst_langinfo): New variable.  Use it.
50083 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
50085         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
50086         floating point opcodes.
50088 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
50090         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
50091         variable.
50093         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
50095         * sysdeps/mach/hurd/powerpc: Remove directory.
50096         * sysdeps/mach/powerpc: Likewise.
50098 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
50100         * scripts/check-local-headers.sh: Ignore c++ headers.
50102 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
50104         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
50105         __libc_cleanup_region_start argument.
50107 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
50109         [BZ #14784]
50110         [BZ #14785]
50111         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
50112         x * y using scaling, not as x * y + z.
50113         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
50114         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
50115         * math/libm-test.inc (fma_test): Add more tests.
50116         (fma_test_towardzero): Likewise.
50117         (fma_test_downward): Likewise.
50118         (fma_test_upward): Likewise.
50120 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
50122         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
50124 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
50126         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
50127         New variable.
50129 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
50131         * rt/tst-shm.c (worker): Correct checking for mmap failure.
50133 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
50135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
50136         Fix sort order.
50137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
50138         Likewise.
50140 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
50142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
50143         Fix the order of the list for glibc 2.17.
50144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
50145         Likewise.
50147 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
50149         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50151 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
50153         [BZ #14610]
50154         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
50155         for low part of x being zero before using __atanl (y).
50156         * math/libm-test.inc (atan2_test): Add another test.
50158         * manual/install.texi (Configuring and compiling): Document
50159         general use of test-wrapper and test-wrapper-env.
50160         * INSTALL: Regenerated.
50162         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
50163         (__fma): Do not extract and scale down low bits on after-rounding
50164         systems when result rounded to normal precision would have normal
50165         exponent.
50166         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
50167         (__fmal): Do not extract and scale down low bits on after-rounding
50168         systems when result rounded to normal precision would have normal
50169         exponent.
50170         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
50171         (__fmal): Do not extract and scale down low bits on after-rounding
50172         systems when result rounded to normal precision would have normal
50173         exponent.
50174         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
50175         macro.
50176         (fma_test): Add more tests.
50177         (fma_test_towardzero): Likewise.
50178         (fma_test_downward): Likewise.
50179         (fma_test_upward): Likewise.
50181 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
50183         * sysdeps/i386/tininess.h: Renamed to ...
50184         * sysdeps/x86/tininess.h: This.
50185         * sysdeps/x86_64/tininess.h: Removed.
50187 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
50189         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
50190         input.  Use $(build-program-cmd).
50191         ($(objpfx)tst-array1-static.out): Likewise.
50192         ($(objpfx)tst-array2.out): Likewise.
50193         ($(objpfx)tst-array3.out): Likewise.
50194         ($(objpfx)tst-array4.out): Likewise.
50195         ($(objpfx)tst-array5.out): Likewise.
50196         ($(objpfx)tst-array5-static.out): Likewise.
50198 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
50200         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
50201         if defined.
50203         * nss/nsswitch.h (nss_interface_function): Provide new
50204         macro for use with NSS functions.
50205         * grp/initgroups.c: Use new macro.
50206         * nss/getXXbyYY.c: Likewise.
50207         * nss/getXXbyYY_r.c: Likewise.
50208         * nss/getXXent.c: Likewise.
50209         * nss/getXXent_r.c: Likewise.
50210         * sysdeps/posix/getaddrinfo.c: Likewise.
50212 2012-10-30  Andreas Jaeger  <aj@suse.de>
50214         * po/ru.po: Update Russion translation from translation project.
50216 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
50218         [BZ #14152]
50219         [BZ #14783]
50220         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
50221         result and shift together with sticky bit instead of replicating
50222         round-to-nearest rounding.
50223         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
50224         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
50225         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
50226         missing underflow exceptions.
50227         (fma_test_towardzero): Add more tests.
50228         (fma_test_downward): Likewise.
50229         (fma_test_upward): Likewise.
50231         [BZ #14047]
50232         * sysdeps/generic/tininess.h: New file.
50233         * sysdeps/i386/tininess.h: Likewise.
50234         * sysdeps/sh/tininess.h: Likewise.
50235         * sysdeps/x86_64/tininess.h: Likewise.
50236         * stdlib/tst-strtod-underflow.c: Likewise.
50237         * stdlib/tst-tininess.c: Likewise.
50238         * stdlib/strtod_l.c: Include <tininess.h>.
50239         (round_and_return): Do not set errno for exact underflow cases.
50240         Force an underflow exception when setting errno for underflow.
50241         Determine underflow based on rounding to normal precision if
50242         TININESS_AFTER_ROUNDING.
50243         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
50244         ERANGE for exact underflow cases.
50245         * stdlib/Makefile (tests): Add tst-tininess and
50246         tst-strtod-underflow.
50247         ($(objpfx)tst-tininess): Use $(link-libm).
50248         ($(objpfx)tst-strtod-underflow): Likewise.
50250 2012-10-30  Andreas Jaeger  <aj@suse.de>
50252         [BZ#14767]
50253         * elf/Makefile (tests): Remove conditional for have-initfini-array
50254         since this is now always required and the variable does not exist
50255         anymore.
50256         (tests-static): Likewise.
50257         (modules-names): Likewise.
50259         * po/eo.po: Add Esperanto translation from translation project.
50261         * elf/tst-array1.c (fini_array): Make writeable so that it can be
50262         merged with constructor/destructor.
50263         (init_array): Likewise.
50264         * elf/tst-array2dep.c (fini_array): Likewise.
50265         (init_array): Likewise.
50267 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
50269         * manual/message.texi: Delete @cartouche tags.
50271 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
50273         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
50274         EOPNOTSUPP.
50275         * sysdeps/mach/hurd/fsync.c: Likewise.
50277         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
50278         [_POSIX_REALTIME_SIGNALS]: Change condition to
50279         [_POSIX_REALTIME_SIGNALS > 0].
50281 2012-10-27  Andreas Jaeger  <aj@suse.de>
50283         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
50284         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
50285         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
50286         [__WORDSIZE != 64]: Likewise.
50288 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
50290         *  iconvdata/tst-table.sh: Remove ${SHELL}.
50291         *  iconvdata/tst-tables.sh: Likewise.
50293 2012-10-25  David S. Miller  <davem@davemloft.net>
50295         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
50296         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
50297         of strtoull.
50299         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
50300         ifunc-impl-list.c
50301         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
50302         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
50303         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
50304         file.
50306 2012-10-25  Roland McGrath  <roland@hack.frob.com>
50308         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
50309         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
50310         __getdirentries.
50312 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
50313             Jim Blandy  <jimb@codesourcery.com>
50315         * scripts/cross-test-ssh.sh: New file.
50316         * manual/install.texi (Configuring and compiling): Document use of
50317         cross-test-ssh.sh.
50318         * INSTALL: Regenerated.
50320 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
50322         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
50323         EOPNOTSUPP.
50325 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
50327         * Makeconfig (run-program-prefix): Fix comment.
50329 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
50330             Jim Blandy  <jimb@codesourcery.com>
50332         * Makeconfig (test-wrapper): New variable,
50333         (test-wrapper-env): Likewise.
50334         [$(cross-compiling) = yes && $(test-wrapper) != ""]
50335         (run-built-tests): Define to yes.
50336         (run-program-prefix): Use $(test-wrapper).
50337         (built-program-cmd): Likewise.
50338         * Rules (make-test-out): Use $(test-wrapper-env) and
50339         $(host-built-program-cmd).
50340         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
50341         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
50342         tst-pathopt.sh.
50343         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
50344         $(test-wrapper-env) to tst-rtld-load-self.sh.
50345         ($(objpfx)order2.out): Use $(test-wrapper).
50346         ($(objpfx)tst-initorder.out): Likewise.
50347         ($(objpfx)tst-initorder2.out): Likewise.
50348         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
50349         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
50350         (test_wrapper_env): New variable.  Use it to run ld.so.
50351         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
50352         Use it to run ld.so.
50353         (test_wrapper_env): Likewise.
50354         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
50355         $(test-wrapper) to run-iconv-test.sh.
50356         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
50357         (ICONV): Use $test_wrapper.
50358         * posix/Makefile ($(objpfx)globtest.out): Pass
50359         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
50360         globtest.sh, not $(run-program-prefix).
50361         * posix/globtest.sh (run_via_rtld_prefix): New variable.
50362         (test_wrapper): Likewise.
50363         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
50364         set together with run_via_rtld_prefix.
50365         (run_program_prefix): Define in terms of test_wrapper and
50366         run_via_rtld_prefix.
50368 2012-10-24  Roland McGrath  <roland@hack.frob.com>
50370         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
50371         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
50372         Targets removed.
50374         [BZ #14743]
50375         * include/time.h: Remove librt_hidden_proto (clock_gettime).
50376         Declare __clock_getres, __clock_gettime, __clock_settime,
50377         __clock_nanosleep, and __clock_getcpuclockid.
50378         * rt/clock_gettime.c: Define __clock_gettime as an alias.
50379         Remove librt_hidden_def (clock_gettime).
50380         * sysdeps/unix/clock_gettime.c: Likewise.
50381         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
50382         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
50383         * rt/clock_getres.c: Define __clock_getres as an alias.
50384         * sysdeps/posix/clock_getres.c: Likewise.
50385         * rt/clock_settime.c: Define __clock_settime as an alias.
50386         * sysdeps/unix/clock_settime.c: Likewise.
50387         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
50388         * sysdeps/unix/clock_nanosleep.c: Likewise.
50389         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
50390         * rt/clock-compat.c: New file.
50391         * rt/Makefile (librt-routines): Add clock-compat and move
50392         $(clock-routines) to ...
50393         (routines): ... here, new variable.
50394         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
50395         Don't add get_clockfreq here.
50396         * rt/Versions (libc: GLIBC_2.17): New version set.
50397         Add clock_* symbols here.
50398         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
50399         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
50400         (GLIBC_2.17): Add clock_* symbols.
50401         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
50402         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
50403         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
50404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
50405         Likewise.
50406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
50407         Likewise.
50408         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
50409         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
50410         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
50411         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
50412         * NEWS: Mention the move.
50414         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
50415         Use __open, __read, __close rather than their public counterparts.
50416         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
50417         (__get_clockfreq_via_cpuinfo): Likewise.
50418         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
50419         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
50421         * config.h.in (HAVE_IFUNC): New #undef.
50422         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
50423         was successful.
50424         * configure: Regenerated.
50426 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
50428         * configure.in: Move READELF check to start of file.
50429         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
50430         libc_cv_asm_gnu_indirect_function in the process.
50431         * configure: Regenerated.
50433 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
50435         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
50436         send the output to /dev/null.
50437         (libc_cv_cc_with_libunwind): Likewise.
50438         (libc_cv_as_noexecstack): Likewise.
50439         * configure: Regenerate.
50441 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
50443         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
50445         * posix/globtest.sh (TMPDIR): Do not set.
50446         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
50447         (testout): Likewise.
50449 2012-10-24  Andreas Jaeger  <aj@suse.de>
50451         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
50452         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
50453         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
50454         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
50455         posix_fadvise64, posix_fallocate64.
50457         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
50458         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
50459         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
50460         Likewise.
50461         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
50462         Likewise.
50463         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
50465         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
50466         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
50467         <bits/fcntl-linux.h>.
50468         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
50470         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
50471         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
50472         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
50473         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
50474         [__WORDSIZE != 64]: Likewise.
50476 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
50478         * Makeconfig (run-built-tests): New variable.
50479         * Rules [$(cross-compiling) = yes]: Change condition to
50480         [$(run-built-tests) = no].
50481         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
50482         to [$(run-built-tests) = yes].
50483         * elf/Makefile [$(cross-compiling) = no]: Likewise
50484         * grp/Makefile [$(cross-compiling) = no]: Likewise.
50485         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
50486         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
50487         * intl/Makefile [$(cross-compiling) = no]: Likewise.
50488         * io/Makefile [$(cross-compiling) = no]: Likewise.
50489         * libio/Makefile [$(cross-compiling) = no]: Likewise.
50490         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
50491         * misc/Makefile [$(cross-compiling) = no]: Likewise.
50492         * posix/Makefile [$(cross-compiling) = no]: Likewise.
50493         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
50494         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
50495         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
50496         * string/Makefile [$(cross-compiling) = no]: Likewise.
50498         * posix/Makefile ($(objpfx)globtest.out): Pass
50499         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
50500         $(rtld-installed-name).
50501         * posix/globtest.sh (elf_objpfx): Remove variable.
50502         (rtld_installed_name): Likewise.
50503         (library_path): Likewise.
50504         (run_program_prefix): New variable.  Use for running globtest
50505         binary.
50507 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
50508             Joseph Myers  <joseph@codesourcery.com>
50510         * Makeconfig (host-built-program-cmd): New variable.
50511         * elf/Makefile (tst-stackguard1-ARGS): Use
50512         $(host-built-program-cmd).
50513         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
50514         (tst-spawn-ARGS): Likewise.
50515         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
50517 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
50518             Jim Blandy  <jimb@codesourcery.com>
50520         * Makeconfig (run-via-rtld-prefix): New variable.
50521         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
50522         (built-program-cmd): Likewise.
50524 2012-10-22  Andreas Jaeger  <aj@suse.de>
50526         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
50527         __O_RSYNC if it exists, otherwise to O_SYNC.
50529 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
50530             Joseph Myers  <joseph@codesourcery.com>
50532         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
50533         /dev/null.
50534         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
50535         from /dev/null
50536         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
50537         /dev/null.
50539 2012-10-22  Andreas Jaeger  <aj@suse.de>
50541         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
50542         Define always.
50543         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
50545         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50546         bits/fcntl-linux.h.
50548         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
50549         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
50551         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
50552         to __O_LARGEFILE.
50553         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
50554         to __O_LARGEFILE.
50556 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
50557             Joseph Myers  <joseph@codesourcery.com>
50559         * config.make.in (NM): New variable.
50561 2012-10-21  Andreas Jaeger  <aj@suse.de>
50563         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
50564         definitions and declarations that are provided by
50565         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
50567 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
50569         [BZ #14683]
50570         * elf/Makefile (tests-static): Add tst-leaks1-static.
50571         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
50572         ($(objpfx)tst-leaks1-static): New rule.
50573         ($(objpfx)tst-leaks1-static-mem): Likewise.
50574         (tst-leaks1-static-ENV): New macro.
50575         * elf/dl-open.c (dl_open_worker): Check the main application
50576         only if SHARED is defined.
50577         * elf/tst-leaks1-static.c: New file.
50579 2012-10-20  Andreas Jaeger  <aj@suse.de>
50581         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
50582         generic values for Linux.
50583         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
50584         and declarations that are provided by <bits/fcntl-linux.h> and
50585         include <bits/fcntl-linux.h>.
50586         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50587         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50589 2012-10-20  Roland McGrath  <roland@hack.frob.com>
50591         * io/fcntl.h: Move include of <bits/types.h> to the top and
50592         include it unconditionally.
50594 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
50596         * wcsmbs/Makefile (tests-ifunc): New variable.
50597         (tests): Add $(tests-ifunc).
50598         * wcsmbs/test-wcschr-ifunc.c: New file.
50599         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
50600         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
50601         * wcsmbs/test-wcslen-ifunc.c: Likewise.
50602         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
50603         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
50605         * string/Makefile (tests-ifunc): New variable.
50606         (tests): Add $(tests-ifunc).
50607         * string/test-memccpy.c (TEST_NAME): New macro.
50608         * string/test-memchr.c (TEST_NAME): Likewise.
50609         * string/test-memcmp.c (TEST_NAME): Likewise.
50610         * string/test-memcpy.c (TEST_NAME): Likewise.
50611         * string/test-memmem.c (TEST_NAME): Likewise.
50612         * string/test-memmove.c (TEST_NAME): Likewise.
50613         * string/test-memset.c (TEST_NAME): Likewise.
50614         * string/test-rawmemchr.c (TEST_NAME): Likewise.
50615         * string/test-stpcpy.c (TEST_NAME): Likewise.
50616         * string/test-stpncpy.c (TEST_NAME): Likewise.
50617         * string/test-strcasecmp.c (TEST_NAME): Likewise.
50618         * string/test-strcasestr.c (TEST_NAME): Likewise.
50619         * string/test-strcat.c (TEST_NAME): Likewise.
50620         * string/test-strchr.c (TEST_NAME): Likewise.
50621         * string/test-strcmp.c(TEST_NAME): Likewise.
50622         * string/test-strcpy.c (TEST_NAME): Likewise.
50623         * string/test-strcspn.c (TEST_NAME): Likewise.
50624         * string/test-strlen.c (TEST_NAME): Likewise.
50625         * string/test-strncasecmp.c (TEST_NAME): Likewise.
50626         * string/test-strncmp.c (TEST_NAME): Likewise.
50627         * string/test-strncpy.c (TEST_NAME): Likewise.
50628         * string/test-strnlen.c (TEST_NAME): Likewise.
50629         * string/test-strpbrk.c (TEST_NAME): Likewise.
50630         * string/test-strrchr.c (TEST_NAME): Likewise.
50631         * string/test-strspn.c (TEST_NAME): Likewise.
50632         * string/test-strstr.c (TEST_NAME): Likewise.
50633         * string/test-bcopy-ifunc.c: New file.
50634         * string/test-bzero-ifunc.c: Likewise.
50635         * string/test-memccpy-ifunc.c: Likewise.
50636         * string/test-memchr-ifunc.c: Likewise.
50637         * string/test-memcmp-ifunc.c: Likewise.
50638         * string/test-memcpy-ifunc.c: Likewise.
50639         * string/test-memmem-ifunc.c: Likewise.
50640         * string/test-memmove-ifunc.c: Likewise.
50641         * string/test-mempcpy-ifunc.c: Likewise.
50642         * string/test-memset-ifunc.c: Likewise.
50643         * string/test-rawmemchr-ifunc.c: Likewise.
50644         * string/test-stpcpy-ifunc.c: Likewise.
50645         * string/test-stpncpy-ifunc.c: Likewise.
50646         * string/test-strcasecmp-ifunc.c: Likewise.
50647         * string/test-strcasestr-ifunc.c: Likewise.
50648         * string/test-strcat-ifunc.c: Likewise.
50649         * string/test-strchr-ifunc.c: Likewise.
50650         * string/test-strchrnul-ifunc.c: Likewise.
50651         * string/test-strcmp-ifunc.c: Likewise.
50652         * string/test-strcpy-ifunc.c: Likewise.
50653         * string/test-strcspn-ifunc.c: Likewise.
50654         * string/test-strlen-ifunc.c: Likewise.
50655         * string/test-strncasecmp-ifunc.c: Likewise.
50656         * string/test-strncat-ifunc.c: Likewise.
50657         * string/test-strncmp-ifunc.c: Likewise.
50658         * string/test-strncpy-ifunc.c: Likewise.
50659         * string/test-strnlen-ifunc.c: Likewise.
50660         * string/test-strpbrk-ifunc.c: Likewise.
50661         * string/test-strrchr-ifunc.c: Likewise.
50662         * string/test-strspn-ifunc.c: Likewise.
50663         * string/test-strstr-ifunc.c: Likewise.
50665         * debug/Makefile (tests-ifunc): New variable.
50666         (tests): Add $(tests-ifunc).
50667         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
50668         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
50669         * debug/test-stpcpy_chk-ifunc.c: New file.
50670         * debug/test-strcpy_chk-ifunc.c: Likewise.
50672 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
50674         [BZ #13601]
50675         * elf/dl-load.c (open_verify): Retry read if the entire ELF
50676         header is not read in.
50678 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
50680         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
50681         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
50682         directly.  Pass built executable to script as
50683         $(built-program-cmd).
50684         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
50685         $testprogram without using LD_LIBRARY_PATH and $ldso.
50687         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
50688         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
50689         $(rtld-installed-name).
50690         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
50691         (rtld_installed_name): Likewise.
50692         (library_path): Likewise.
50693         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
50694         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
50695         $(run-program-prefix) to tst-tables.sh.
50696         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
50697         it to run tst-table-from and tst-table-to.
50698         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
50699         Pass it to tst-table.sh.
50700         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
50701         $(run-program-prefix) to tst-gettext.sh.
50702         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
50703         tst-translit.sh.
50704         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
50705         tst-gettext2.sh.
50706         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
50707         to run tst-gettext.
50708         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
50709         to run tst-gettext2.
50710         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
50711         to run tst-translit.
50712         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
50713         $(run-program-prefix) to tst-mtrace.sh.
50714         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
50715         to run tst-mtrace.
50716         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
50717         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
50718         $(rtld-installed-name).
50719         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
50720         (rtld_installed_name): Likewise.
50721         (run_program_prefix): New variable.  Use it to run wordexp-test.
50723         * Makeconfig (ARCH): Remove all definitions.
50724         (machine): Likewise.
50725         [ARCH]: Remove conditional code.
50726         [!objdir]: Give error.
50727         [!objdir] (objpfx): Remove.
50728         [!objdir] (common-objpfx): Likewise.
50729         [!objdir] (common-objdir): Likewise.
50730         * configure.in (config_makefile): Remove.  Hardcode Makefile in
50731         AC_CONFIG_FILES call.
50732         * configure: Regenerated.
50734         [BZ #13888]
50735         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
50736         or TMPDIR.
50737         (testout): Likewise.
50739         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
50740         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
50741         $(rtld-installed-name).
50742         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
50743         (rtld_installed_name): Likwise.
50744         (runit): Remove function.
50745         (run_getconf): New variable,  Use it for running getconf binary.
50747 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
50749         [BZ #14716]
50750         * string/test-memmem.c (check_result): New function.
50751         (do_one_test): Use it.
50752         (check1): New function.
50753         (test_main): Use it.
50755 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
50757         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
50759 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
50761         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
50762         (_G_LSEEK64): Likewise.
50763         (_G_MMAP64): Likewise.
50764         (_G_FSTAT64): Likewise.
50765         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
50766         (_G_LSEEK64): Likewise.
50767         (_G_MMAP64): Likewise.
50768         (_G_FSTAT64): Likewise.
50769         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
50770         unconditional.  Call __mmap64 directly.
50771         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
50772         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
50773         __lseek64 directly.
50774         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
50775         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
50776         __mmap64 directly.
50777         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
50778         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
50779         __lseek64 directly.
50780         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
50781         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
50782         __lseek64 directly.
50783         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
50784         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
50785         __lseek64 directly.
50786         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
50787         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
50788         __fxstat64 directly.
50789         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
50790         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
50791         unconditional.
50792         (freopen64) [!_G_OPEN64]: Remove conditional code.
50793         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
50794         unconditional.
50795         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
50796         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
50797         unconditional.
50798         (ftello64) [!_G_LSEEK64]: Remove conditional code.
50799         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
50800         unconditional.
50801         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
50802         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
50803         unconditional.
50804         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
50805         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
50806         unconditional.
50807         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
50808         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
50809         unconditional.
50810         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
50811         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
50812         unconditional.
50813         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
50815 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
50817         [BZ #12140]
50818         * manual/memory.texi (Malloc Tunable Parameters): Add note
50819         about free list pointers overwriting some perturb bytes.
50820         Wording suggested by Roland McGrath.
50822 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
50824         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
50825         (lgamma_test): Likewise.
50826         (tgamma_test): Likewise.
50828 2012-10-16  Florian Weimer  <fweimer@redhat.com>
50830         [BZ #14700]
50831         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
50832         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
50834 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
50836         * NEWS: Mention BZ #14716.
50837         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
50838         when removing AVAILABLE1_USES_J macro.
50840 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
50842         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
50843         (__bswap_64): __uint64_t for unsigned 64-bit int.
50845 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
50847         * include/string.h (memmem): Declare libc hidden alias.
50848         * string/memmem.c (memmem): Define libc hidden alias.
50849         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
50850         __read, __close instead of open, read, close.
50852 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
50854         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
50855         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
50856         global and hidden.
50857         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
50858         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
50859         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
50860         Likewise.
50861         (__rawmemchr_sse2): Likewise.
50862         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
50863         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
50864         (__strchr_sse2): Likewise.
50865         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
50866         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
50867         (__strcasecmp_sse2): Likewise.
50868         (__strncasecmp_sse2): Likewise.
50869         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
50870         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
50871         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
50872         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
50873         (__strrchr_sse2): Likewise.
50874         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
50875         ifunc-impl-list.c.
50876         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
50877         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
50878         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
50879         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
50880         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
50881         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
50882         * sysdeps/x86_64/multiarch/memset.S: Likewise.
50883         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
50884         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
50885         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
50886         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
50887         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
50888         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
50889         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
50890         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
50891         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
50892         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
50893         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
50894         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
50895         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
50896         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
50897         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
50898         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
50899         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
50900         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
50901         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
50902         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
50903         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
50904         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
50905         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
50907         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
50908         global and hidden.
50909         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
50910         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
50911         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
50912         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
50913         Likewise.
50914         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
50915         Likewise.
50916         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
50917         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
50918         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
50919         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
50920         ifunc-impl-list.c.
50921         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
50922         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
50923         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
50924         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
50925         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
50926         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
50927         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
50928         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
50929         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
50930         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
50931         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
50932         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
50933         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
50934         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
50935         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
50936         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
50937         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
50938         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
50939         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
50940         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
50941         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
50942         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
50943         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
50944         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
50945         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
50946         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
50947         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
50948         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
50949         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
50950         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
50951         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
50952         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
50953         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
50954         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
50955         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
50956         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
50957         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
50958         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
50959         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
50960         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
50961         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
50963         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
50964         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
50965         * include/ifunc-impl-list.h: New file.
50966         * misc/ifunc-impl-list.c: Likewise.
50967         * misc/Makefile (routines): Add ifunc-impl-list.
50968         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
50969         * string/test-string.h: Include <ifunc-impl-list.h>.
50970         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
50971         TEST_NAME]: New variables.
50972         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
50973         are defined.
50974         (test_init): Call __libc_ifunc_impl_list to initialize
50975         func_list if TEST_IFUNC and TEST_NAME are defined.
50977         * string/Makefile (strop-tests): Add bcopy and bzero.
50978         * string/test-bcopy.c: New file.
50979         * string/test-bzero.c: Likewise.
50980         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
50981         defined.
50982         * string/test-memset.c: Support bzero test if TEST_BZERO is
50983         defined.
50984         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
50985         __libc_memmove.
50986         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
50987         __libc_memset.
50988         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
50989         of memset.
50991 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
50993         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
50994         * configure: Regenerated.
50996         * Makeconfig (+link-static-before-libc): Don't include
50997         $(link-static-libc).
50999         * libio/libio.h (_IO_pos_t): Remove.
51001 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
51003         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
51004         McGrath.
51006 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
51008         * crypt/crypt-entry.c: Include fips-private.h.
51009         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
51010         * crypt/md5c-test.c (main): Tolerate disabled MD5.
51011         * sysdeps/unix/sysv/linux/fips-private.h: New file.
51012         * sysdeps/generic/fips-private.h: New file, dummy fallback.
51014 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
51016         * crypt/crypt-private.h: Include stdbool.h.
51017         (_ufc_setup_salt_r): Return bool.
51018         * crypt/crypt-entry.c: Include errno.h.
51019         (__crypt_r): Return NULL with EINVAL for bad salt.
51020         * crypt/crypt_util.c (bad_for_salt): New.
51021         (_ufc_setup_salt_r): Check that salt is long enough and within
51022         the specified alphabet.
51023         * crypt/badsalttest.c: New file.
51024         * crypt/Makefile (tests): Add it.
51025         ($(objpfx)badsalttest): New.
51027 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
51029         * NEWS: Add entry for BZ #14602.
51031 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
51033         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
51034         type-generic.
51035         * math/libm-test.inc: Update comment listing what functions and
51036         macros are tested.
51037         (isgreater_test): New function.
51038         (isgreaterequal_test): Likewise.
51039         (isless_test): Likewise.
51040         (islessequal_test): Likewise.
51041         (islessgreater_test): Likewise.
51042         (isunordered_test): Likewise.
51043         (main): Call the new functions.
51045 2012-10-09  Roland McGrath  <roland@hack.frob.com>
51047         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
51048         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
51049         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
51050         * sysdeps/i386/configure: Regenerated.
51051         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
51052         * sysdeps/mach/configure: Regenerated.
51053         * sysdeps/mach/hurd/configure: Regenerated.
51054         * sysdeps/powerpc/configure: Regenerated.
51055         * sysdeps/powerpc/powerpc32/configure: Regenerated.
51056         * sysdeps/powerpc/powerpc64/configure: Regenerated.
51057         * sysdeps/s390/s390-32/configure: Regenerated.
51058         * sysdeps/s390/s390-64/configure: Regenerated.
51059         * sysdeps/sh/configure: Regenerated.
51060         * sysdeps/sparc/configure: Regenerated.
51061         * sysdeps/unix/sysv/linux/configure: Regenerated.
51062         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
51063         * sysdeps/x86_64/configure: Regenerated.
51065         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
51066         defined.  Don't check if MAP is NULL.
51068 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
51070         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
51071         (_G_stat64): Likewise.
51072         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
51073         (_G_stat64): Likewise.
51074         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
51075         instead of struct _G_stat64.
51076         * libio/fileops.c (mmap_remap_check): Likewise.
51077         (decide_maybe_mmap): Likewise.
51078         (_IO_new_file_seekoff): Likewise.
51079         (_IO_file_stat): Likewise.
51080         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
51081         _G_off64_t.
51082         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
51083         instead of struct _G_stat64.
51084         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
51086 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
51088         [BZ #14602]
51089         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
51090         Replace with ...
51091         (CHECK_EOL): New macro.
51092         (two_way_short_needle): Check beginning of haystack for EOL.  Use
51093         CHECK_EOL.
51094         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
51095         Replace with CHECK_EOL.
51096         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
51097         Replace with CHECK_EOL.
51099 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
51101         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
51102         type-generic.
51103         * math/libm-test.inc: Update comment listing what functions and
51104         macros are tested.
51105         (finite_test): New function.
51106         (isinf_test): Likewise.
51107         (isnan_test): Likewise.
51108         (fpclassify_test): Test subnormal input.
51109         (isfinite_test): Likewise.
51110         (isnormal_test): Likewise.
51111         (main): Call the new functions.
51113 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
51115         [BZ #14660]
51116         * Makerules (%.dynsym): Force C locale when running
51117         $(OBJDUMP) --dynamic-syms.
51119 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
51121         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
51122         <stdint.h>.
51124 2012-10-06  David S. Miller  <davem@davemloft.net>
51126         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
51127         upper 32-bits of the length value in %o2 since we use branch-on-register
51128         tests which consider the entire 64-bit register.
51130 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
51132         * string/test-strstr.c (check2): Add a test for page boundary.
51134 2012-10-05  David S. Miller  <davem@davemloft.net>
51136         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
51137         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
51138         file.
51139         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
51140         sysdep_routines.
51141         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
51142         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
51143         and bzero when HWCAP_SPARC_CRYPTO is present.
51145 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
51147         [BZ #14602]
51148         * string/test-strstr.c (check2): New function.
51149         (test_main): Call check2.
51151         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
51152         and bug-strchr1.
51153         * string/bug-strcasestr1.c (do_test): Moved to ...
51154         * string/test-strcasestr.c (check1): Here.  New function.
51155         (do_one_test): Break out result checking code into ...
51156         (check_result): This.  New function.
51157         (do_one_test): Call check_result.
51158         (test_main): Call check1.
51159         * string/bug-strchr1.c (do_test): Moved to ...
51160         * string/test-strchr.c (check1): Here.  New function.
51161         (do_one_test): Break out result checking code into ...
51162         (check_result): This.  New function.
51163         (do_one_test): Call check_result.
51164         (test_main): Call check1.
51165         * string/bug-strstr1.c (main): Moved to ...
51166         * string/test-strstr.c (check1): Here.  New function.
51167         (do_one_test): Break out result checking code into ...
51168         (check_result): This.  New function.
51169         (do_one_test): Call check_result.
51170         (test_main): Call check1.
51171         * string/bug-strcasestr1.c: Removed.
51172         * string/bug-strchr1.c: Likewise.
51173         * string/bug-strstr1.c: Likewise.
51175         * elf/Makefile (dl-routines): Add hwcaps.
51176         * elf/dl-support.c (_dl_important_hwcaps): Removed.
51177         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
51178         (_dl_important_hwcaps): Moved to ...
51179         * elf/dl-hwcaps.c: Here.  New file.
51180         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
51182         [BZ #14557]
51183         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
51184         if IS_IN_rtld isn't defined.
51186         * elf/dl-support.c (_dl_sysinfo_map): New.
51187         Include "get-dynamic-info.h" and "setup-vdso.h".
51188         (_dl_non_dynamic_init): Call setup_vdso.
51189         * elf/dynamic-link.h: Don't include <assert.h>.
51190         (elf_get_dynamic_info): Moved to ...
51191         * elf/get-dynamic-info.h: Here.  New file.
51192         * elf/dynamic-link.h: Include "get-dynamic-info.h".
51193         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
51194         * elf/setup-vdso.h: Here.  New file.
51195         * elf/rtld.c: Include "setup-vdso.h".
51196         (dl_main): Call setup_vdso.
51198 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
51200         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
51201         creal in comment listing functions tested.  List finite, isinf,
51202         isnan, isless, islessequal, isgreater, isgreaterequal,
51203         islessgreater, isunordered, lgamma_r and pow10 as functions and
51204         macros not tested.  Mention which functions not tested are aliases
51205         for other functions.  Fix typo.  Note that signs of NaNs are not
51206         tested.
51208         * scripts/config.guess: Update from config.git.
51209         * scripts/config.sub: Likewise.
51211 2012-10-04  Roland McGrath  <roland@hack.frob.com>
51213         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
51214         * misc/madvise.c (madvise): Renamed to __madvise.
51215         Make madvise a weak alias.
51216         * include/sys/mman.h: Declare __madvise.
51217         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
51218         * sysdeps/unix/syscalls.list
51219         (madvise): Make __madvise the strong name, and madvise a weak alias.
51220         * sysdeps/unix/sysv/linux/syscalls.list
51221         (madvise, mmap): Remove redundant entries.
51222         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
51223         * malloc/malloc.c (mtrim): Likewise.
51224         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
51226 2012-10-03  Roland McGrath  <roland@hack.frob.com>
51228         * sysdeps/mach/hurd/dl-cache.c: File removed.
51229         * config.h.in (USE_LDCONFIG): New #undef.
51230         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
51231         * configure: Regenerated.
51232         * elf/Makefile (dl-routines): Add dl-cache only under
51233         [$(use-ldconfig) = yes].
51234         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
51235         cache on [USE_LDCONFIG].
51236         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
51237         [USE_LDCONFIG].
51238         * elf/rtld.c (dl_main): Likewise.
51240 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
51242         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
51243         _SC_LEVEL4_CACHE_LINESIZE.
51245 2012-10-03  Roland McGrath  <roland@hack.frob.com>
51247         * sysdeps/unix/bsd/confstr.h: File removed.
51249 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
51251         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
51252         sys/sdt-config.h.
51254 2012-10-02  Roland McGrath  <roland@hack.frob.com>
51256         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
51257         Make 'mapoff' field ElfW(Off) rather than off_t.
51259 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
51261         * nscd/Makefile: Remove nscd-cflags and all its users.
51262         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
51263         (CFLAGS-nonlib): Add compiler flags for nscd modules.
51265         [BZ #10631]
51266         * malloc.c (malloc_printerr): Clarify error message.
51268 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
51270         [BZ #14648]
51271         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51272         Set bit_FMA_Usable if FMA is supported.
51273         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
51274         macro.
51275         (bit_FMA4_Usable): Updated.
51276         (index_FMA_Usable): New macro.
51277         (CPUID_FMA): Likewise
51278         (HAS_FMA): Defined with bit_FMA_Usable.
51280 2012-10-01  Roland McGrath  <roland@hack.frob.com>
51282         * bits/types.h (__swblk_t): Type removed.
51283         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
51284         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
51285         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
51286         (__SWBLK_T_TYPE): Likewise.
51287         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
51288         (__SWBLK_T_TYPE): Likewise.
51289         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
51290         (__SWBLK_T_TYPE): Likewise.
51291         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
51292         (__SWBLK_T_TYPE): Likewise.
51294 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
51295             Honza Horak <hhorak@redhat.com>
51297         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
51298         (xdr_mapname): Use YPMAXMAP as maxsize.
51299         (xdr_peername): Use YPMAXPEER as maxsize.
51300         (xdr_keydat): Use YPAXRECORD as maxsize.
51301         (xdr_valdat): Use YPMAXRECORD as maxsize.
51303 2012-10-01  Roland McGrath  <roland@hack.frob.com>
51305         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
51307         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
51308         * csu/init-first.c: ... here.
51309         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
51310         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
51311         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
51312         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
51313         * sysdeps/i386/init-first.c: File removed.
51314         * sysdeps/sh/init-first.c: File removed.
51316 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
51318         [BZ #14645]
51319         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
51320         if x * y might underflow to zero and z is zero.
51321         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
51322         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51323         * math/libm-test.inc (min_subnorm_value): New variable.
51324         (fma_test): Add more tests.
51325         (fma_test_towardzero): Likewise.
51326         (fma_test_downward): Likewise
51327         (fma_test_upward): Likewise.
51328         (initialize): Set min_subnorm_value.
51330 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
51332         [BZ #14638]
51333         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
51334         0 + 0.
51335         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
51336         mode for addition resulting in exact zero.
51337         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
51338         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
51339         exact 0 + 0.
51340         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
51341         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51342         * math/libm-test.inc (fma_test): Add more tests.
51343         (fma_test_towardzero): New function.
51344         (fma_test_downward): Likewise.
51345         (fma_test_upward): Likewise.
51346         (main): Call the new functions.
51348 2012-09-28  David S. Miller  <davem@davemloft.net>
51350         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
51352 2012-09-28  Roland McGrath  <roland@hack.frob.com>
51354         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
51355         instead of SIGALRM.
51357         * sysdeps/gnu/_G_config.h: Moved to ...
51358         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
51359         * sysdeps/mach/hurd/_G_config.h: Moved to ...
51360         * sysdeps/generic/_G_config.h: ... here.
51362         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
51364         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
51366         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
51367         Conditionalize target on [libnss_test1.so-version].
51369         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
51371         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
51372         (elfobjdir): Move out of conditionals.
51374         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
51375         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
51376         (__nss_lookup_function): Conditionalize label remove_from_tree on
51377         [!DO_STATIC_NSS || SHARED], matching its only use.
51379 2012-09-28  David S. Miller  <davem@davemloft.net>
51381         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
51382         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
51383         file.
51384         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
51385         sysdep_routines.
51386         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
51387         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
51388         when HWCAP_SPARC_CRYPTO is present.
51390 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
51392         * io/tst-mknodat.c: Create a FIFO instead of a socket.
51394 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
51396         [BZ #6530]
51397         * stdio-common/vfprintf.c (process_string_arg): Revert
51398         2000-07-22 change.
51400 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
51402         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
51403         for testcase.
51404         * stdio-common/tst-sprintf.c: Include <locale.h>
51405         (main): Test sprintf's handling of incomplete multibyte
51406         characters.
51408 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
51410         * elf/dl-runtime.c (VERSYMIDX): Removed.
51411         * elf/dl-version.c (VERSYMIDX): Likewise.
51412         * elf/do-rel.h (VERSYMIDX): Likewise.
51413         (VALIDX): Likewise.
51414         * elf/dynamic-link.h (VERSYMIDX): Likewise.
51415         * elf/rtld.c (VALIDX): Likewise.
51416         (ADDRIDX): Likewise.
51417         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
51418         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
51419         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
51420         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
51421         (VALIDX): Likewise.
51422         (ADDRIDX): Likewise.
51424 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
51426         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
51428 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
51430         [BZ #11438]
51431         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
51432         to global scope.
51433         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
51434         addresses are in the same scope as 192.0.2/24.
51435         * posix/gai.conf: Document new scope table defaults.
51437 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
51439         [BZ #5298]
51440         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
51441         for ftell.  Compute offsets from write pointers instead.
51442         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
51444 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
51446         [BZ #14543]
51447         * libio/Makefile (tests): New test case tst-fseek.
51448         * libio/tst-fseek.c: New test case to verify that fseek/ftell
51449         combination works in wide mode.
51450         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
51451         state when the external buffer state changes.
51453 2012-09-27  David S. Miller  <davem@davemloft.net>
51455         [BZ #14376]
51456         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
51457         pass reloc->r_addend in as the 'high' argument to
51458         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
51460         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51462 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
51464         * rt/tst-aio2.c: Include <pthread.h>.
51465         * rt/tst-aio3.c: Likewise.
51467 2012-09-27  Steve Ellcey  <sellcey@mips.com>
51469         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
51471 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
51473         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
51474         contents on [SHARED].
51476 2012-09-26  Marek Polacek  <polacek@redhat.com>
51478         [BZ #14530]
51479         [BZ #13741]
51480         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
51481         for C++ and GCC <4.3 as well as for non GCC compilers.
51483 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
51485         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51487 2012-09-25  Roland McGrath  <roland@hack.frob.com>
51489         * Makefile.in (all, install): Declare with .PHONY.
51490         Reported by Michael Hope <michael.hope@linaro.org>.
51492 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
51494         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
51495         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
51496         system header.
51497         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
51498         Likewise.
51499         (sydep_routines): Add the new and the internal functions.
51500         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
51501         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
51502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
51503         (GLIBC_2.17): Add the new function.
51504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
51505         (GLIBC_2.17): Likewise.
51506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
51507         (GLIBC_2.17): Likewise.
51508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
51509         (GLIBC_2.17): Likewise.
51510         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
51512 2012-09-25  Alan Modra  <amodra@gmail.com>
51514         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
51515         Add release barrier before setting once_control to say
51516         initialisation is done.  Add hints on lwarx.  Use macro in
51517         place of isync.
51518         (clear_once_control): Add release barrier.
51520 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
51522         [BZ #13629]
51523         * math/s_clog.c (__clog): Handle more values close to |z| = 1
51524         specially.
51525         * math/s_clog10.c (__clog10): Likewise.
51526         * math/s_clog10f.c (__clog10f): Likewise.
51527         * math/s_clog10l.c (__clog10l): Likewise.
51528         * math/s_clogf.c (__clogf): Likewise.
51529         * math/s_clogl.c (__clogl): Likewise.
51530         * math/Makefile (libm-calls): Add x2y2m1.
51531         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
51532         (__x2y2m1): Likewise.
51533         (__x2y2m1l): Likewise.
51534         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
51535         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
51536         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
51537         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
51538         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
51539         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
51540         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
51541         * sysdeps/i386/fpu/libm-test-ulps: Update.
51542         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51544         [BZ #14621]
51545         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
51546         int as type of variable DEPTH.
51547         (glob): Use size_t instead of int as type of variables NEWCOUNT
51548         and OLD_PATHC.
51550 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51552         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
51553         Add s_sincosf-sse2.
51554         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
51555         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
51556         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
51557         macros for using routine as __sincosf_ia32.
51558         Use macro for function declaration and weak_alias.
51559         * sysdeps/i386/fpu/libm-test-ulps: Update.
51561         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
51562         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51564         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
51565         subnormal argument.
51566         * math/s_cexpf.c (__cexpf): Likewise.
51567         * math/s_csinf.c (__csinf): Likewise.
51568         * math/s_csinhf.c (__csinhf): Likewise.
51569         * math/s_ctanf.c (__ctanf): Likewise.
51570         * math/s_ctanhf.c (__ctanhf): Likewise.
51571         * math/s_ccosh.c (__ccoshf): Likewise.
51572         * math/s_cexp.c (__cexpl): Likewise.
51573         * math/s_csin.c (__csin): Likewise.
51574         * math/s_csinh.c (__csinh): Likewise.
51575         * math/s_ctan.c (__ctan): Likewise.
51576         * math/s_ctanh.c (ctanh): Likewise.
51577         * math/s_ccoshl.c (__ccoshl): Likewise.
51578         * math/s_cexpl.c (__cexpl): Likewise.
51579         * math/s_csinl.c (__csinl): Likewise.
51580         * math/s_csinhl.c (__csinhl): Likewise.
51581         * math/s_ctanl.c (__ctanl): Likewise.
51582         * math/s_ctanhl.c (__ctanhl): Likewise.
51584 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
51586         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
51587         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
51588         (_IO_off_t): Define to __off_t, not _G_off_t.
51589         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
51590         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
51591         (_IO_wint_t): Define to wint_t, not _G_wint_t.
51592         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
51593         type of __dummy and __dummy2 fields.
51594         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
51595         (_G_ssize_t): Likewise.
51596         (_G_off_t): Likewise.
51597         (_G_pid_t): Likewise.
51598         (_G_uid_t): Likewise.
51599         (_G_wchar_t): Likewise.
51600         (_G_wint_t): Likewise.
51601         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
51602         (_G_ssize_t): Likewise.
51603         (_G_off_t): Likewise.
51604         (_G_pid_t): Likewise.
51605         (_G_uid_t): Likewise.
51606         (_G_wchar_t): Likewise.
51607         (_G_wint_t): Likewise.
51608         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
51609         (_G_ssize_t): Likewise.
51610         (_G_off_t): Likewise.
51611         (_G_pid_t): Likewise.
51612         (_G_uid_t): Likewise.
51613         (_G_wchar_t): Likewise.
51614         (_G_wint_t): Likewise.
51616 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
51618         * malloc/arena.c: Include malloc-sysdep.h.
51619         (shrink_heap): Use check_may_shrink_heap to decide if madvise
51620         is sufficient to shrink the heap or an unmap is needed.
51621         * sysdeps/generic/malloc-sysdep.h: New file.  Define
51622         new function check_may_shrink_heap.
51623         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
51624         new function check_may_shrink_heap.
51626 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
51628         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
51629         comments.
51631 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
51633         * catgets/test-gencat.sh: Add "set -e".
51634         * elf/tst-pathopt.sh: Likewise.
51635         * grp/tst_fgetgrent.sh: Likewise.
51636         * iconvdata/run-iconv-test.sh: Likewise.
51637         * intl/tst-gettext.sh: Likewise.
51638         * intl/tst-gettext2.sh: Likewise.
51639         * intl/tst-gettext4.sh: Likewise.
51640         * intl/tst-gettext6.sh: Likewise.
51641         * intl/tst-translit.sh: Likewise.
51642         * io/ftwtest-sh: Likewise.
51643         * libio/test-freopen.sh: Likewise.
51644         * malloc/tst-mtrace.sh: Likewise.
51645         * posix/globtest.sh: Likewise.
51646         * posix/tst-getconf.sh: Likewise.
51647         * posix/wordexp-tst.sh: Likewise.
51648         * stdio-common/tst-printf.sh: Likewise.
51649         * stdio-common/tst-unbputc.sh: Likewise.
51650         * stdlib/tst-fmtmsg.sh: Likewise.
51651         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
51652         * catgets/Makefile: Do not specify -e option when running
51653         testsuite shell scripts.
51654         * elf/Makefile: Likewise.
51655         * grp/Makefile: Likewise.
51656         * iconvdata/Makefile: Likewise.
51657         * intl/Makefile: Likewise.
51658         * io/Makefile: Likewise.
51659         * libio/Makefile: Likewise.
51660         * malloc/Makefile: Likewise.
51661         * posix/Makefile: Likewise.
51662         * stdio-common/Makefile: Likewise.
51663         * stdlib/Makefile: Likewise.
51664         * sysdeps/x86_64/Makefile: Likewise.
51666         * io/ftwtest-sh: Add copyright header.
51667         * posix/globtest.sh: Likewise.
51668         * posix/tst-getconf.sh: Likewise.
51669         * posix/wordexp-tst.sh: Likewise.
51670         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
51672 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
51674         [BZ #13679]
51675         * Makeconfig (+link): Defined as $(+link-static) if
51676         $(build-shared) isn't yes.
51677         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
51678         isn't yes.
51679         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
51681         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
51683         [BZ #14562]
51684         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
51685         new chunk size with MALLOC_ALIGN_MASK.
51687 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
51689         [BZ #5044]
51690         * stdio-common/printf_fphex.c: Include <stdbool.h> and
51691         <rounding-mode.h>.
51692         (__printf_fphex): Determine rounding using get_rounding_mode and
51693         round_away.
51694         * stdio-common/tst-printf-round.c (struct hex_test): New
51695         structure.
51696         (hex_tests): New variable.
51697         (test_hex_in_one_mode): New function.
51698         (do_test): Also run tests for hex float output.
51700 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
51702         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
51703         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
51704         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
51705         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
51706         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
51707         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
51708         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
51709         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
51711 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
51713         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
51714         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
51715         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
51716         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
51718 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
51720         [BZ #14579]
51721         * elf/rtld.c (dl_main): Limit the check for self loading to normal
51722         mode only.
51723         * elf/tst-rtld-load-self.sh: New test.
51724         * elf/Makefile: Run it.
51726 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
51728         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
51729         (tst-writev-ENV): Remove.
51730         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
51732 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
51734         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
51736 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
51738         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
51739         unconditional.
51740         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
51741         Likewise.
51742         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
51743         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
51744         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
51745         Likewise.
51747 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
51749         [BZ #14587]
51750         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
51751         * config.make.in (have-cpp-asm-debuginfo): Removed.
51752         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
51753         * configure: Regenerated.
51755 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
51757         [BZ #5044]
51758         * stdio-common/printf_fp.c: Include <stdbool.h> and
51759         <rounding-mode.h>.
51760         (___printf_fp): Determine rounding using get_rounding_mode and
51761         round_away.
51762         * stdio-common/tst-printf-round.c: New file.
51763         * stdio-common/Makefile (tests): Add tst-printf-round.
51764         (link-libm): New variable.
51765         ($(objpfx)tst-printf-round): Depend in $(link-libm).
51767 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
51769         [BZ #14576]
51770         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
51771         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
51772         Likewise.
51773         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
51774         Likewise.
51776 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
51778         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
51779         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
51780         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
51781         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
51783 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
51785         [BZ #14518]
51786         * include/rounding-mode.h: New file.
51787         * sysdeps/generic/get-rounding-mode.h: Likewise.
51788         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
51789         * stdlib/strtod_l.c: Include <rounding-mode.h>.
51790         (MAX_VALUE): New macro.
51791         (MIN_VALUE): Likewise.
51792         (overflow_value): New function.
51793         (underflow_value): Likewise.
51794         (round_and_return): Use overflow_value and underflow_value to
51795         determine return values in overflow and underflow cases.  Use
51796         round_away to determine rounding depending on rounding mode.
51797         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
51798         determine return values in overflow and underflow cases.
51799         * stdlib/tst-strtod-round.c: Include <fenv.h>.
51800         (struct test_results): New structure.
51801         (struct test): Use struct test_results to store expected results
51802         for all rounding modes.
51803         (TEST): Include expected results for all rounding modes.
51804         (test_in_one_mode): New function.
51805         (do_test): Use test_in_one_mode to compute and check results.
51806         Check results for all rounding modes.
51807         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
51808         $(link-libm).
51810 2012-12-09  Allan McRae  <allan@archlinux.org>
51812         * sysdeps/i386/fpu/libm-test-ulps: Update
51814 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
51816         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
51817         (_G_int32_t): Likewise.
51818         (_G_uint16_t): Likewise.
51819         (_G_uint32_t): Likewise.
51820         (_G_HAVE_BOOL): Likewise.
51821         (_G_HAVE_ATEXIT): Likewise.
51822         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
51823         (_G_HAVE_IO_FILE_OPEN): Likewise.
51824         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
51825         (_G_int32_t): Likewise.
51826         (_G_uint16_t): Likewise.
51827         (_G_uint32_t): Likewise.
51828         (_G_HAVE_BOOL): Likewise.
51829         (_G_HAVE_ATEXIT): Likewise.
51830         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
51831         (_G_HAVE_IO_FILE_OPEN): Likewise.
51832         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
51833         (_G_int32_t): Likewise.
51834         (_G_uint16_t): Likewise.
51835         (_G_uint32_t): Likewise.
51836         (_G_HAVE_BOOL): Likewise.
51837         (_G_HAVE_ATEXIT): Likewise.
51838         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
51839         (_G_HAVE_IO_FILE_OPEN): Likewise.
51841 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
51843         * csu/libc-tls.c: Update copyright years.
51845 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
51847         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
51848         [!_G_USING_THUNKS]: Remove conditional code.
51849         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
51850         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
51852         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
51853         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
51854         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
51855         (_G_VTABLE_LABEL_PREFIX): Likewise.
51856         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
51857         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
51858         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
51859         (_G_VTABLE_LABEL_PREFIX): Likewise.
51860         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
51861         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
51862         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
51863         (_G_VTABLE_LABEL_PREFIX): Likewise.
51864         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
51866 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
51868         * libio/Makefile: Include ../Makeconfig before tests.
51869         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
51870         only if $(build-shared) is yes.
51872         * iconv/gconv_db.c: Update copyright years.
51874 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51876         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
51877         unwind info if defined PIC. Fix special cases description.
51878         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
51880         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
51881         DP_HI_MASK entry.
51882         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
51884 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
51886         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
51888         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
51889         is NULL.
51891         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
51892         (LDLIBS-tst-chk4): This.
51893         (LDFLAGS-tst-chk5): Renamed to ...
51894         (LDLIBS-tst-chk5): This.
51895         (LDFLAGS-tst-chk6): Renamed to ...
51896         (LDLIBS-tst-chk6): This.
51897         (LDFLAGS-tst-lfschk4): Renamed to ...
51898         (LDLIBS-tst-lfschk4): This.
51899         (LDFLAGS-tst-lfschk5): Renamed to ...
51900         (LDLIBS-tst-lfschk5): This.
51901         (LDFLAGS-tst-lfschk6): Renamed to ...
51902         (LDLIBS-tst-lfschk6): This.
51904         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
51905         on $(common-objpfx)soversions.mk.
51907 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
51909         [BZ #10014]
51910         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
51911         example host name.
51913 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
51915         * malloc/arena.c (arena_get_retry): New function that gets
51916         another arena for the caller to try its request on.
51917         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
51918         current arena cannot fulfill the request.
51919         (__libc_memalign): Likewise.
51920         (__libc_memalign): Likewise.
51921         (__libc_pvalloc): Likewise.
51922         (__libc_calloc): Likewise.
51924 2012-09-05  John Tobey  <john.tobey@gmail.com>
51926         [BZ #13542]
51927         * manual/arith.texi (Operations on Complex): Fix description
51928         of carg branch cut.
51930 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
51932         [BZ #10014]
51933         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
51934         host name.
51936         [BZ #10038]
51937         * manual/memory.texi (Memory): Make order of menu items match
51938         order of sections.
51940 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
51942         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
51943         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
51944         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
51946 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
51948         * csu/libc-tls.c (static_dtv): Renamed to ...
51949         (_dl_static_dtv): This.  Make it global.
51950         (_dl_initial_dtv): Removed.
51951         (__libc_setup_tls): Updated.
51952         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
51953         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
51954         DL_INITIAL_DTV.
51956 2012-09-06  Petr Machata  <pmachata@redhat.com>
51958         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
51959         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
51960         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
51961         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
51963 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
51965         [BZ #14545]
51966         * csu/libc-tls.c (_dl_initial_dtv): New variable.
51967         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
51968         freeing dtv[-1].
51970 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
51972         [BZ #14544]
51973         * Makeconfig (link-static-before-libc): Replace $(+prector)
51974         with $(+prectorT).
51975         (link-static-after-libc): Replace $(+postctor) with
51976         $(+postctorT).
51977         (link-bounded): Replace $(+prector)/$(+postctor) with
51978         $(+prectorT)/$(+postctorT).
51979         (+prectorT): New macro.
51980         (+postctorT): Likewise.
51982 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
51984         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
51985         (round_str): Handle values above the maximum for IBM long double
51986         as inexact.
51987         * stdlib/tst-strtod-round.c (tests): Regenerated.
51989 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51991         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
51992         assembler flag.
51993         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
51994         zarch_nohighgprs around the zarch optimized routines.
51995         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
51996         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
51997         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
51998         for zarch.
52000 2012-09-05  David S. Miller  <davem@davemloft.net>
52002         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52004         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
52005         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
52006         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
52007         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
52008         entries.
52010 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
52012         * malloc/arena.c: Fold copyright years.
52013         * malloc/mcheck.c, malloc/memusage.c: Likewise.
52015 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
52017         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
52019 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
52021         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
52023 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
52025         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
52026         change internal state upon failure.
52028 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
52030         * malloc/mcheck.c (mcheck_check_all): Fix typo.
52031         * malloc/memusage.c (mmap): Likewise.
52032         (mmap64, mremap): Likewise.  Adjust name in comment.
52034 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
52036         * libio/fileops.c: Fix typos in comments.
52037         * libio/oldfileops.c: Likewise.
52038         * libio/wfileops.c: Likewise.
52040 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
52042         [BZ #1349]
52043         * malloc/Makefile (tests): Add tst-malloc-usable test case.
52044         (tst-malloc-usable-ENV): Set environment for test case.
52045         * malloc/hooks.c (malloc_check_get_size): New function to get
52046         requested size.
52047         * malloc/malloc.c (musable): Use malloc_check_get_size.
52048         * malloc/tst-malloc-usable.c: New test case.
52050 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
52052         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
52054 2012-09-05  Allan McRae  <allan@archlinux.org>
52056         [BZ #13966]
52057         * configure.in (CXX_SYSINCLUDES): Use compiler output to
52058         determine header location.
52059         * configure: Regenerated.
52061 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
52063         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
52064         float format.
52065         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
52066         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
52067         format.
52068         (test): Regenerate.
52070 2012-09-04  David S. Miller  <davem@davemloft.net>
52072         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
52073         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
52074         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
52076 2012-09-04  Florian Weimer  <fweimer@redhat.com>
52078         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
52079         failures.
52081         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
52083 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
52085         [BZ #9914]
52086         * libio/iogetdelim.c: Include <limits.h>.
52087         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
52088         + len + 1 would overflow.
52090 2012-09-03  Andreas Jaeger  <aj@suse.de>
52092         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52093         * sysdeps/i386/fpu/libm-test-ulps: Update.
52095 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52097         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
52098         Add s_sinf-sse2, s_conf-sse2.
52100         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
52101         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
52102         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
52103         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
52105         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
52106         for using routine as __sinf_ia32.
52107         Use macro for function declaration and weak_alias.
52108         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
52109         for using routine as __cosf_ia32.
52110         Use macro for function declaration and weak_alias.
52112         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
52113         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
52115         * sysdeps/x86_64/fpu/s_sinf.S: New file.
52116         * sysdeps/x86_64/fpu/s_cosf.S: New file.
52117         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52119         * math/libm-test.inc (cos_test): Add more test cases.
52120         (sin_test): Likewise.
52121         (sincos_test): Likewise.
52123 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52125         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
52126         (IFUNC_RESOLVE): Make pointers to the specialized implementations
52127         hidden.
52128         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
52130 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
52132         [BZ #14538]
52133         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
52134         first element of the GOT.
52135         (elf_machine_load_address): Return the difference between
52136         the runtime address of _DYNAMIC and elf_machine_dynamic ().
52138 2012-09-01  Allan McRae  <allan@archlinux.org>
52140         [BZ #13412]
52141         * configure.in (AWK): Require gawk version 3.0 or later.
52142         * configure: Regenerated.
52144 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
52146         * sysdeps/unix/sysv/linux/kernel-features.h
52147         (__ASSUME_POSIX_CPU_TIMERS): Remove.
52148         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
52149         [__NR_clock_getres]: Make code unconditional.
52150         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
52151         (clock_getcpuclockid): Remove code left unreachable by removal of
52152         conditionals.
52153         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
52154         code unconditional.
52155         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
52156         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
52157         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
52158         Make code unconditional.
52159         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
52160         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
52161         * sysdeps/unix/sysv/linux/clock_settime.c
52162         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
52163         conditional code.
52164         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
52165         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
52167 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
52169         [BZ #14476]
52170         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
52171         scripts/test-installation.pl.
52173         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
52174         and $ld_so_version if it is set.
52176 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
52178         [BZ #14516]
52179         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
52180         failure if reading from procfs failed.
52181         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
52183 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
52185         * sysdeps/unix/sysv/linux/kernel-features.h
52186         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
52187         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
52188         Remove conditional code.
52189         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
52190         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
52191         Remove conditional code.
52192         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
52193         * sysdeps/unix/sysv/linux/i386/fxstat.c
52194         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
52195         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
52196         * sysdeps/unix/sysv/linux/i386/fxstatat.c
52197         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
52198         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
52199         * sysdeps/unix/sysv/linux/i386/lxstat.c
52200         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
52201         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
52202         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
52203         Remove conditional code.
52204         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
52205         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
52206         Remove conditional code.
52207         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
52208         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
52209         <kernel-features.h>.
52210         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
52211         Remove.
52212         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
52213         Remove conditional code.
52214         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
52215         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
52216         Remove conditional.
52218 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
52220         [BZ #5400]
52221         * NEWS: Add fixed bug number.
52223 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
52225         [BZ #14519]
52226         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
52227         underflowing exponent in case of negative sign.
52228         * stdlib/tst-strtod-round-data: Add more tests.
52229         * stdlib/tst-strtod-round.c (tests): Regenerated.
52231         [BZ #3479]
52232         * stdlib/strtod_l.c (NDIG): Remove.
52233         (HEXNDIG): Likewise.
52234         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
52235         smallest representable value.
52236         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
52237         lie within an exact representation of 1/2 ulp of the result.
52238         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
52239         unconditionally.
52240         (TENS_P9_IDX): Define unconditionally.
52241         (TENS_P9_SIZE): Likewise.
52242         (TENS_P10_IDX): Likewise.
52243         (TENS_P10_SIZE): Likewise.
52244         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
52245         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
52246         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
52247         entries for 10^2^13 and 10^2^14.
52248         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
52249         (TENS_P13_IDX): Define.
52250         (TENS_P13_SIZE): Likewise.
52251         (TENS_P14_IDX): Likewise.
52252         (TENS_P14_SIZE): Likewise.
52253         (_fpioconst_pow10): Change array size to
52254         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
52255         unconditional.
52256         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
52257         1024]: Add entries for 10^2^13 and 10^2^14.
52258         [LAST_POW10 > _LAST_POW10]: Remove #error.
52259         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
52260         (_fpioconst_pow10): Change array size to
52261         FPIOCONST_POW10_ARRAY_SIZE.
52262         * stdlib/gen-fpioconst.c: New file.
52263         * stdlib/gen-tst-strtod-round.c: Likewise.
52264         * stdlib/tst-strtod-round-data: Likewise.
52265         * stdlib/tst-strtod-round.c: Likewise.
52266         * stdlib/Makefile (tests): Add tst-strtod-round.
52268         [BZ #14459]
52269         * stdlib/strtod_l.c: Include <stdint.h>.
52270         (NDEBUG): Do not define.
52271         (round_and_return): Change EXPONENT parameter to type intmax_t.
52272         Rearrange calculations to avoid internal overflow possibilities.
52273         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
52274         Rearrange calculations to avoid internal overflow possibilities.
52275         Assert that number fits inside MPNSIZE limbs.
52276         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
52277         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
52278         calculations and add assertions to avoid internal overflow
52279         possibilities.  Add casts to avoid signed/unsigned operations.
52280         * stdlib/tst-strtod-overflow.c: New file.
52281         * stdlib/Makefile (tests): Add tst-strtod-overflow.
52283 2012-08-25  Marek Polacek  <polacek@redhat.com>
52285         * time/time.h: Fix some typos in comments.
52287 2012-08-23  Roland McGrath  <roland@hack.frob.com>
52289         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
52290         * posix/tst-rfc3484-2.c: Likewise.
52291         * posix/tst-rfc3484-3.c: Likewise.
52293 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
52295         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
52296         (EF_ARM_ABI_FLOAT_HARD): Likewise.
52298 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
52300         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
52301         #include of fxstatat64.c.
52303 2012-08-22  Roland McGrath  <roland@hack.frob.com>
52305         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
52306         * shadow/getspent_r.c: Likewise.
52307         * shadow/getspnam.c: Likewise.
52308         * shadow/getspnam_r.c: Likewise.
52309         * gshadow/getsgent.c: Likewise.
52310         * gshadow/getsgent_r.c: Likewise.
52311         * gshadow/getsgnam.c: Likewise.
52312         * gshadow/getsgnam_r.c: Likewise.
52313         * inet/getnetbyad.c: Likewise.
52314         * inet/getnetbyad_r.c: Likewise.
52315         * inet/getnetbynm.c: Likewise.
52316         * inet/getnetbynm_r.c: Likewise.
52317         * inet/getnetent.c: Likewise.
52318         * inet/getnetent_r.c: Likewise.
52319         * inet/getproto.c: Likewise.
52320         * inet/getproto_r.c: Likewise.
52321         * inet/getprtent.c: Likewise.
52322         * inet/getprtent_r.c: Likewise.
52323         * inet/getprtname.c: Likewise.
52324         * inet/getprtname_r.c: Likewise.
52325         * inet/getrpcbyname.c: Likewise.
52326         * inet/getrpcbyname_r.c: Likewise.
52327         * inet/getrpcbynumber.c: Likewise.
52328         * inet/getrpcbynumber_r.c: Likewise.
52329         * inet/getrpcent.c: Likewise.
52330         * inet/getrpcent_r.c: Likewise.
52331         * inet/getaliasent.c: Likewise.
52332         * inet/getaliasent_r.c: Likewise.
52333         * inet/getaliasname.c: Likewise.
52334         * inet/getaliasname_r.c: Likewise.
52335         * nscd/getgrgid_r.c: Likewise.
52336         * nscd/getgrnam_r.c: Likewise.
52337         * nscd/gethstbyad_r.c: Likewise.
52338         * nscd/gethstbynm3_r.c: Likewise.
52339         * nscd/getpwnam_r.c: Likewise.
52340         * nscd/getpwuid_r.c: Likewise.
52341         * nscd/getsrvbynm_r.c: Likewise.
52342         * nscd/getsrvbypt_r.c: Likewise.
52343         * nscd/gai.c: Likewise.
52345         * configure.in (build_nscd): New substituted variable, set
52346         by --disable-build-nscd and defaults to $use_nscd.
52347         * configure: Regenerated.
52348         * config.make.in (build-nscd): New substituted variable.
52349         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
52350         Change conditional to require [$(build-nscd) = yes] as well.
52351         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
52353         [BZ# 13696]
52354         * configure.in (use_nscd): New substituted variable, set by
52355         --disable-nscd.  If enabled, define USE_NSCD.
52356         * configure: Regenerated.
52357         * config.h.in: Add USE_NSCD.
52358         * config.make.in (use-nscd): New substituted variable.
52359         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
52360         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
52361         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
52362         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
52363         (CFLAGS-getgrnam_r.c): Likewise.
52364         (CFLAGS-initgroups.c): Likewise.
52365         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
52366         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
52367         Variables removed.
52368         * inet/getnetgrent_r.c
52369         (nscd_setnetgrent): New function, broken out of ...
52370         (setnetgrent): ... here.  Call it.
52371         (innetgr): Conditionalize nscd bits on [USE_NSCD].
52372         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
52373         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
52374         * nscd/Makefile (routines, aux): Move definitions after include of
52375         Makeconfig.  Conditionalize on [$(use-nscd) != no].
52376         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
52377         Conditionalize on [USE_NSCD].
52378         (is_nscd, nscd_init_cb): Likewise.
52379         (nss_load_library): Conditionalize init callback on [USE_NSCD].
52380         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
52381         * nss/nss_db/db-init.c: Likewise.
52382         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
52383         [USE_NSCD].
52384         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
52385         (make_request): Use it.
52386         (cache_valid_p): New function.
52387         (__check_pf): Use it.
52388         * NEWS: Add item for --disable-nscd.
52390 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
52392         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
52393         to support sed >= 4.2.1-20-ga9bf076.
52394         * configure: Regenerated.
52396 2012-08-22  Roland McGrath  <roland@hack.frob.com>
52398         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
52399         Conditionalize whole body on [IREL].
52401 2012-08-22  Jeff Law <law@redhat.com>
52403         [BZ #14505]
52404         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
52405         if the family is PF_UNSPEC.
52407 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
52409         * Makerules (lib-version): Rename from V.
52410         (install-lib-nosubdir): Change V to lib-version.
52412 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
52414         [BZ #14252]
52415         * powerpc32/power6/wcschr.c: New file.
52416         * powerpc32/power6/wcscpy.c: New file.
52417         * powerpc32/power6/wcsrchr.c: New file.
52418         * powerpc64/power6/wcschr.c: New file.
52419         * powerpc64/power6/wcscpy.c: New file.
52420         * powerpc64/power6/wcsrchr.c: New file.
52422 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
52424         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
52425         (two_way_short_needle): Use it.
52426         * string/strstr.c (AVAILABLE1_USES_J): Define.
52427         * string/strcasestr.c: Likewise.
52429         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
52430         array references.
52431         * string/strcasestr.c (TOLOWER): Make side-effect safe.
52433         [BZ #11607]
52434         * NEWS: Add an entry.
52435         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
52436         define their defaults.
52437         (two_way_short_needle): Detect end-of-string on-the-fly.
52438         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
52439         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
52440         * string/bug-strcasestr1.c: New test.
52441         * string/Makefile: Run it.
52443 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
52445         [BZ #11607]
52446         * string/str-two-way.h (two_way_short_needle): Optimize matching of
52447         the first character.
52449 2012-08-21  Roland McGrath  <roland@hack.frob.com>
52451         * csu/elf-init.c (__libc_csu_irel): Function removed.
52452         * csu/libc-start.c (apply_irel): New function.
52453         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
52455 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
52457         * sysdeps/unix/sysv/linux/kernel-features.h
52458         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
52459         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
52460         <kernel-features.h>.
52461         [__NR_fadvise64_64]: Make code unconditional.
52462         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
52463         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
52464         !__NR_fadvise64_64)]: Likewise.
52465         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
52466         !__NR_fadvise64_64))]: Likewise.
52467         [__NR_fadvise64]: Make code unconditional.
52468         [!__NR_fadvise64]: Remove conditional code.
52469         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
52470         <kernel-features.h>.
52471         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
52472         unconditional.
52473         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
52474         conditional code.
52475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
52476         not include <kernel-features.h>.
52477         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
52478         unconditional.
52479         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
52480         conditional code.
52481         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
52482         include <kernel-features.h>.
52483         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
52484         unconditional.
52485         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
52486         conditional code.
52488 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
52490         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
52491         slight instruction rearrangements per scrollpipe analysis.
52492         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
52494 2012-08-20  Roland McGrath  <roland@hack.frob.com>
52496         * manual/syslog.texi (syslog; vsyslog, closelog):
52497         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
52498         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
52500         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
52501         DSOCAPS to match condition on defining it.
52503 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
52505         * sysdeps/unix/sysv/linux/kernel-features.h
52506         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
52507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
52508         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
52509         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
52510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
52511         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
52512         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
52513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
52514         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
52515         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
52517         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
52518         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
52520         * sysdeps/unix/sysv/linux/kernel-features.h
52521         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
52522         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
52523         unconditional.
52524         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
52525         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
52526         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
52527         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
52528         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
52529         Make code unconditional.
52530         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
52531         (__mmap64) [!__NR_mmap2]: Likewise.
52532         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
52533         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
52534         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
52535         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
52536         [__NR_mmap2]: Make code unconditional.
52537         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
52538         (__mmap64) [!__NR_mmap2]: Likewise.
52540 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52542         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
52544 2012-08-18  Andreas Jaeger  <aj@suse.de>
52546         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
52548 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
52550         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
52551         * include/unistd.h (__have_sock_cloexec): Likewise.
52552         (__have_pipe2): Likewise.
52553         (__have_dup3): Likewise.
52555 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
52557         [BZ #9685]
52558         * include/unistd.h (__have_pipe2): Change define into an extern int.
52559         (__have_dup3): Likewise.
52560         * socket/have_sock_cloexec.c: Include fcntl.h.
52561         (__have_pipe2): New variable.
52562         (__have_dup3): Likewise.
52564 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
52566         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
52568 2012-08-17  Marek Polacek  <polacek@redhat.com>
52570         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
52571         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
52573 2012-08-17  Roland McGrath  <roland@hack.frob.com>
52575         * configure.in: Add AC_SUBST for sysheaders.
52576         * configure: Regenerated.
52577         * config.make.in (sysheaders): New substituted variable.
52579         * sysdeps/unix/mkfifo.c: Moved ...
52580         * sysdeps/posix/mkfifo.c: ... here.
52581         * sysdeps/unix/mkfifoat.c: Moved ...
52582         * sysdeps/posix/mkfifoat.c: ... here.
52584         * sysdeps/unix/utime.c: Moved ...
52585         * sysdeps/posix/utime.c: ... here.
52587         * sysdeps/unix/time.c: Moved ...
52588         * sysdeps/posix/time.c: ... here.
52589         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
52590         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
52592         * sysdeps/unix/nice.c: Moved ...
52593         * sysdeps/posix/nice.c: ... here.
52595         * sysdeps/unix/alarm.c: Moved ...
52596         * sysdeps/posix/alarm.c: ... here.
52598         * intl/Makefile ($(codeset_mo)): Depend on the input file.
52600 2012-08-17  Jeff Law <law@redhat.com>
52602         * intl/Makefile (codeset_mo): New variable.
52603         ($(codeset_mo)): New target.
52604         (tst-codeset.out): Depend on that.  Remove explicit rule.
52605         (tst-gettext3.out, tst-gettext5.out): Likewise.
52606         (LOCPATH-ENV, tst-codeset-ENV): New variables.
52607         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
52608         * intl/tst-codeset.sh: Remove.
52609         * intl/tst-gettext3.sh: Likewise.
52610         * intl/tst-gettext5.sh: Likewise.
52612 2012-08-17  Roland McGrath  <roland@hack.frob.com>
52614         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
52615         * sysdeps/unix/syscalls.list: ... here.
52617         * sysdeps/posix/getaddrinfo.c
52618         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
52619         (gaiconf_init, gaiconf_reload): Use them.
52620         [!_STATBUF_ST_NSEC]
52621         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
52622         Define using time_t rather than struct timespec.
52624         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
52625         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
52626         Macros removed.
52627         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
52628         [!NO_THREADS].
52629         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
52630         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
52631         Likewise.
52633         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
52634         __libc_cleanup_push argument.
52636         * bits/param.h: New file.
52637         * misc/sys/param.h: New file.
52638         * include/sys/param.h: New file.
52639         * misc/Makefile (headers): Add bits/param.h.
52640         * sysdeps/generic/sys/param.h: File removed.
52641         * sysdeps/unix/sysv/linux/bits/param.h: New file.
52642         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
52643         * sysdeps/mach/hurd/bits/param.h: New file.
52644         * sysdeps/mach/hurd/sys/param.h: File removed.
52646         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
52647         last change.
52649         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
52650         [_IO_MTSAFE_IO].
52651         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
52652         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
52653         New macros.
52655         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
52656         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
52657         rather than -D_IO_MTSAFE_IO conditionally.
52658         * stdio-common/Makefile (CPPFLAGS): Likewise.
52659         * wcsmbs/Makefile (CPPFLAGS): Likewise.
52660         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
52661         Use $(libio-mtsafe).
52662         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
52663         of -D_IO_MTSAFE_IO.
52664         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
52665         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
52666         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
52667         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
52668         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
52669         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
52670         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
52671         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
52672         (CFLAGS-fread_u_chk.c): Likewise.
52673         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
52674         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
52675         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
52676         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
52677         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
52678         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
52679         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
52680         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
52681         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
52683         * libio/Makefile: Test [$(libc-reentrant) = yes]
52684         instead of [$(filter %REENTRANT, $(defines)) nonempty].
52686         * Makeconfig
52687         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
52688         * sysdeps/pthread/configure: File removed.
52689         * sysdeps/pthread/Makeconfig: New file.
52690         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
52691         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
52693 2012-08-16  Gary Benson  <gbenson@redhat.com>
52695         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
52696         unmapping the first object in a namespace.
52698 2012-08-16  Roland McGrath  <roland@hack.frob.com>
52700         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
52701         (__internal_setnetgrent): ... this.  Add internal_function to
52702         definition.  Add libc_hidden_def.
52703         (setnetgrent): Update caller.
52704         (internal_endnetgrent): Renamed to ...
52705         (__internal_endnetgrent): ... this.  Add internal_function to
52706         definition.  Add libc_hidden_def.
52707         (endnetgrent): Update caller.
52708         (internal_getnetgrent_r): Renamed to ...
52709         (__internal_getnetgrent_r): ... this.  Add internal_function to
52710         definition.  Add libc_hidden_def.
52711         (__getnetgrent_r): Update caller.
52712         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
52714 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
52716         * stdlib/longlong.h: Update from GCC.
52718 2012-08-16  Roland McGrath  <roland@hack.frob.com>
52720         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
52721         on _QL, which is set by umul_ppmm but never used.
52722         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
52723         variables, which are set by GMP macros but never used.
52724         * stdio-common/_itowa.c (_itowa): Likewise.
52725         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
52726         * stdlib/mod_1.c (mpn_mod_1): Likewise.
52728 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
52730         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
52731         struct La_sh_regs is not constant.
52732         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
52733         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
52734         and struct La_sparc64_regs are not constant.
52736 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
52738         * sysdeps/unix/sysv/linux/kernel-features.h
52739         (__ASSUME_POSIX_TIMERS): Remove.
52740         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
52741         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
52742         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
52743         Make code unconditional.
52744         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
52745         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
52746         Make code unconditional.
52747         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
52748         * sysdeps/unix/sysv/linux/clock_nanosleep.c
52749         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
52750         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
52751         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
52752         Make code unconditional.
52753         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
52754         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
52755         (__libc_missing_posix_timers): Remove.
52757 2012-08-15  Roland McGrath  <roland@hack.frob.com>
52759         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
52760         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
52762         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
52764         * elf/dl-sym.c: Include <stdlib.h>.
52766         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
52767         constants, which avoids warnings in 32-bit builds.
52769         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
52770         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
52772         * misc/lseek.c: File moved to ...
52773         * io/lseek.c: ... here.
52775         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
52777         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
52778         shifting LEN more than 31 bits at once.
52780 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52782         [BZ #14195]
52783         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
52784         segmentation fault for a case of two empty input strings.
52785         * string/test-strncasecmp.c (check1): Renamed to...
52786         (bz12205): ...this.
52787         (bz14195): Add new testcase for two empty input strings and N > 0.
52788         (test_main): Call new testcase, adapt for renamed function.
52790 2012-08-15  Andreas Jaeger  <aj@suse.de>
52792         [BZ #14090]
52793         * crypt/md5test2.c: New test, based on test supplied by Serge
52794         Belyshev <belyshev@depni.sinp.msu.ru>.
52795         * crypt/Makefile (xtests): Add md5test-giant..
52796         * crypt/Makefile ($(objpfx)md5test-giant): Add.
52798 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
52800         [BZ #14090]
52801         * crypt/md5.c (md5_process_block): Don't assume the buffer
52802         length is less than 2**32.
52803         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
52804         length is less than 2**64.
52806 2012-08-15  Roland McGrath  <roland@hack.frob.com>
52808         * string/str-two-way.h: Include <sys/param.h>.
52809         (MAX): Macro removed.
52811         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
52812         Move #define and #undef of memmove to just before and after
52813         including <string.h>.
52815         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
52816         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
52817         and after including <string.h>.  Move declarations of
52818         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
52819         to before #include "string/memmove.c".
52821         * include/dirent.h: Declare __getdirentries.
52823         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
52824         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
52826 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
52828         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
52829         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
52830         * sysdeps/i386/configure: Regenerated.
52831         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
52832         STABS_CURRENT_FILE, and STABS_FUN.
52833         (END): Remove call to STABS_FUN_END.
52834         (STABS_CURRENT_FILE1): Delete.
52835         (STABS_CURRENT_FILE): Likewise.
52836         (STABS_FUN): Likewise.
52837         (STABS_FUN_END): Likewise.
52838         (STABS_FUN2): Likewise.
52839         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
52840         * sysdeps/x86_64/configure: Regenerated.
52842 2012-08-14  Roland McGrath  <roland@hack.frob.com>
52844         * elf/dl-open.c: Include <atomic.h>.
52845         * elf/dl-lookup.c: Likewise.
52847 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
52849         * sysdeps/unix/sysv/linux/kernel-features.h
52850         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
52851         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
52852         unconditionally.
52853         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
52854         unconditionally.
52855         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
52856         condition on __ASSUME_CLONE_THREAD_FLAGS.
52858 2012-08-14  Andreas Jaeger  <aj@suse.de>
52860         * sysdeps/i386/fpu/libm-test-ulps: Update.
52862 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
52864         * include/atomic.h (atomic_exchange_and_add): Split into ...
52865         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
52866         New atomic macros.
52868 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
52870         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52872 2012-08-13  Jeff Law <law@redhat.com>
52874         * manual/stdio.texi (snprintf): Clarify handling of the trailing
52875         null byte in the output string.
52877 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
52879         * sysdeps/unix/sysv/linux/kernel-features.h
52880         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
52881         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
52882         (__ASSUME_ARG_MAX_STACK_BASED): Define.
52883         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
52884         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
52885         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
52886         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
52888 2012-08-09  Jeff Law <law@redhat.com>
52890         [BZ #13939]
52891         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
52892         When avoid_arena is set, don't retry in the that arena.  Pick the
52893         next one, whatever it might be.
52894         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
52895         (arena_lock): Pass in new parameter to arena_get2.
52896         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
52897         arena_get2.
52898         (__libc_malloc): Unify retrying after main arena failure with
52899         __libc_memalign version.
52900         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
52902 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
52904         [BZ #14166]
52905         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
52906         to __redirect_strstr.
52907         (__strstr_sse42): Use typeof __redirect_strstr.
52908         (__strstr_ia32): Likewise.
52909         (__libc_strstr): New prototype.
52910         (strstr): Renamed to ...
52911         (__libc_strstr): This.
52912         (strstr): New strong alias of __libc_strstr.
52913         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
52914         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
52915         __redirect_time.
52916         Include <time.h>.
52917         (__libc_time): New prototype.
52918         (time_ifunc): Replace time with __libc_time.
52919         (time): New strong alias and hidden definition of __libc_time.
52920         (__GI_time): Remove strong alias.
52921         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
52922         Include <stddef.h>.
52923         (memmove): Redefined to __redirect_memmove.
52924         (__memmove_sse2): Use typeof __redirect_memmove.
52925         (__memmove_ssse3): Likewise.
52926         (__memmove_ssse3_back): Likewise.
52927         (__libc_memmove): New prototype.
52928         (memmove): Renamed to ...
52929         (__libc_memmove): This.
52930         (memmove): New strong alias of __libc_memmove.
52932 2012-08-08  Mark Salter  <msalter@redhat.com>
52934         * elf/elf.h
52935         (R_MN10300_TLS_GD): Define.
52936         (R_MN10300_TLS_LD): Likewise.
52937         (R_MN10300_TLS_LDO): Likewise.
52938         (R_MN10300_TLS_GOTIE): Likewise.
52939         (R_MN10300_TLS_IE): Likewise.
52940         (R_MN10300_TLS_LE): Likewise.
52941         (R_MN10300_TLS_DTPMOD): Likewise.
52942         (R_MN10300_TLS_DTPOFF): Likewise.
52943         (R_MN10300_TLS_TPOFF): Likewise.
52944         (R_MN10300_SYM_DIFF): Likewise.
52945         (R_MN10300_ALIGN): Likewise.
52946         (R_MN10300_NUM): Update.
52948 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
52950         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
52951         Remove.
52953 2012-08-08  Roland McGrath  <roland@hack.frob.com>
52955         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
52957         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
52958         sysdeps/unix -> sysdeps/posix move.
52959         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
52961 2012-08-07      Allan McRae     <allan@archlinux.org>
52963         [BZ #14303]
52964         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
52965         (SUNOS_CPP): Likewise.
52966         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
52967         not found.
52968         (open_input): Call CPP using execvp.
52970 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
52972         * sysdeps/unix/sysv/linux/kernel-features.h
52973         (__ASSUME_PROT_GROWSUPDOWN): Remove.
52974         (__ASSUME_NO_CLONE_DETACHED): Likewise.
52975         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
52976         (__ASSUME_WAITID_SYSCALL): Likewise.
52977         * sysdeps/unix/sysv/linux/dl-execstack.c
52978         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
52979         code unconditional.
52980         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
52981         conditional code.
52982         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
52983         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
52984         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
52985         code.
52986         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
52987         unconditional.
52988         [__ASSUME_WAITID_SYSCALL]: Likewise.
52989         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
52991 2012-08-07  Roland McGrath  <roland@hack.frob.com>
52993         * sysdeps/unix/closedir.c: Renamed to ...
52994         * sysdeps/posix/closedir.c: ... here.
52995         * sysdeps/unix/dirfd.c: Renamed to ...
52996         * sysdeps/posix/dirfd.c: ... here.
52997         * sysdeps/unix/dirstream.h: Renamed to ...
52998         * sysdeps/posix/dirstream.h: ... here.
52999         * sysdeps/unix/fdopendir.c: Renamed to ...
53000         * sysdeps/posix/fdopendir.c: ... here.
53001         * sysdeps/unix/opendir.c: Renamed to ...
53002         * sysdeps/posix/opendir.c: ... here.
53003         * sysdeps/unix/readdir.c: Renamed to ...
53004         * sysdeps/posix/readdir.c: ... here.
53005         * sysdeps/unix/readdir_r.c: Renamed to ...
53006         * sysdeps/posix/readdir_r.c: ... here.
53007         * sysdeps/unix/rewinddir.c: Renamed to ...
53008         * sysdeps/posix/rewinddir.c: ... here.
53009         * sysdeps/unix/seekdir.c: Renamed to ...
53010         * sysdeps/posix/seekdir.c: ... here.
53011         * sysdeps/unix/telldir.c: Renamed to ...
53012         * sysdeps/posix/telldir.c: ... here.
53013         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
53014         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
53015         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
53016         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
53018         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
53019         * bits/fcntl.h: ... here.
53021         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
53022         not 0.
53023         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
53024         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
53025         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
53026         (struct flock): Move l_start, l_len to the beginning.
53027         Use __pid_t for l_pid.
53028         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
53029         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
53030         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
53031         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
53032         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
53033         [__USE_LARGEFILE64] (struct flock64): New type.
53034         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
53036         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
53037         * bits/dirent.h: ... here.
53039         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
53040         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
53042 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
53044         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
53045         Change from 2.6.0 to 2.6.16.
53046         * sysdeps/unix/sysv/linux/configure: Regenerated.
53047         * sysdeps/unix/sysv/linux/kernel-features.h
53048         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
53049         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
53050         version.
53051         (__ASSUME_UTIMES): Likewise.
53052         (__ASSUME_CLONE_STOPPED): Remove.
53053         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
53054         architectures, not kernel version.
53055         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
53056         (__ASSUME_NO_CLONE_DETACHED): Likewise.
53057         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
53058         (__ASSUME_WAITID_SYSCALL): Likewise.
53059         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
53060         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
53061         * README: State 2.6.16 as minimum Linux kernel version.  Do not
53062         refer to older versions.
53064 2012-08-06  Roland McGrath  <roland@hack.frob.com>
53066         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
53067         Define alphasort64 as an alias.
53068         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
53069         Define versionsort64 as an alias.
53070         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
53071         Define scandir64 as an alias.
53072         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
53073         Define scandirat64 as an alias.
53074         * dirent/alphasort64.c (alphasort64):
53075         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
53076         * dirent/versionsort64.c: Likewise.
53077         * dirent/scandir64.c: Likewise.
53078         * dirent/scandirat64.c: Likewise.
53079         * sysdeps/wordsize-64/alphasort.c: File removed.
53080         * sysdeps/wordsize-64/alphasort64.c: File removed.
53081         * sysdeps/wordsize-64/scandir.c: File removed.
53082         * sysdeps/wordsize-64/scandir64.c: File removed.
53083         * sysdeps/wordsize-64/scandirat.c: File removed.
53084         * sysdeps/wordsize-64/scandirat64.c: File removed.
53085         * sysdeps/wordsize-64/versionsort.c: File removed.
53086         * sysdeps/wordsize-64/versionsort64.c: File removed.
53087         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
53088         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
53089         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
53090         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
53091         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
53092         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
53093         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
53094         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
53096         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
53097         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
53098         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
53099         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
53100         [defined __arch64__ || defined __sparcv9]
53101         (__INO_T_MATCHES_INO64_T): New macro.
53102         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
53103         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
53104         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
53105         * sysdeps/unix/sysv/linux/bits/dirent.h
53106         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
53107         (_DIRENT_MATCHES_DIRENT64): New macro.
53109         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
53110         Define lockf64 as an alias.
53111         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
53112         Define fseeko64 as an alias.
53113         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
53114         Define ftello64 as an alias.
53115         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
53116         Define _IO_fgetpos64 and fgetpos64 as aliases.
53117         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
53118         Define _IO_fsetpos64 and fsetpos64 as aliases.
53119         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
53120         Conditionalize body on this.
53121         * libio/fseeko64.c: Likewise.
53122         * libio/ftello64.c: Likewise.
53123         * libio/iofgetpos64.c: Likewise.
53124         * libio/iofsetpos64.c: Likewise.
53125         * sysdeps/wordsize-64/lockf.c: File removed.
53126         * sysdeps/wordsize-64/lockf64.c: File removed.
53127         * sysdeps/wordsize-64/fseeko.c: File removed.
53128         * sysdeps/wordsize-64/fseeko64.c: File removed.
53129         * sysdeps/wordsize-64/ftello.c: File removed.
53130         * sysdeps/wordsize-64/ftello64.c: File removed.
53131         * sysdeps/wordsize-64/iofgetpos.c: File removed.
53132         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
53133         * sysdeps/wordsize-64/iofsetpos.c: File removed.
53134         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
53135         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
53136         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
53137         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
53138         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
53139         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
53140         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
53141         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
53142         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
53143         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
53144         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
53146         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
53147         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
53148         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
53149         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
53150         [defined __arch64__ || defined __sparcv9]
53151         (__OFF_T_MATCHES_OFF64_T): New macro.
53152         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
53153         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
53154         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
53155         (__OFF_T_MATCHES_OFF64_T): New macro.
53157 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
53159         * stdlib/secure-getenv.c (__secure_getenv): Replace
53160         GLIBC_2_16 with GLIBC_2_17.
53162 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
53164         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
53165         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
53167 2012-08-03  David S. Miller  <davem@davemloft.net>
53169         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53171 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
53173         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
53174         Remove.
53175         (__ASSUME_CORRECT_SI_PID): Likewise.
53176         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
53177         (__ASSUME_TMPFS_NAME): Likewise.
53178         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
53179         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
53180         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
53181         (HAVE_AUX_SECURE): Make definition unconditional.
53182         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
53183         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
53185 2012-08-03  Roland McGrath  <roland@hack.frob.com>
53187         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
53188         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
53189         * sysdeps/mach/hurd/eloop-threshold.h: New file.
53190         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
53191         __eloop_threshold instead of SYMLOOP_MAX.
53193         * sysdeps/generic/eloop-threshold.h: New file.
53194         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
53195         of MAXSYMLINKS.
53196         * elf/chroot_canon.c (chroot_canon): Likewise.
53198 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
53200         [BZ #13717]
53201         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
53202         Change to 2.6.0 everywhere.
53203         * sysdeps/unix/sysv/linux/configure: Regenerated.
53204         * sysdeps/unix/sysv/linux/kernel-features.h
53205         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
53206         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
53207         kernel versions.
53208         (__ASSUME_POSIX_TIMERS): Define unconditionally.
53209         (__ASSUME_FUTEX_REQUEUE): Remove.
53210         (__ASSUME_STATFS64): Define unconditionally.
53211         (__ASSUME_AT_SECURE): Likewise.
53212         (__ASSUME_CORRECT_SI_PID): Likewise.
53213         (__ASSUME_TGKILL): Define without depending on kernel version for
53214         i386.
53215         (__ASSUME_UTIMES): Likewise.
53216         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
53217         kernel version.
53218         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
53219         (__ASSUME_TMPFS_NAME): Likewise.
53220         * README: Update reference to Linux kernel versions.
53222 2012-08-02  Marek Polacek  <polacek@redhat.com>
53224         [BZ# 14150]
53225         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
53226         libc_cv_asm_type_prefix with %.
53227         * configure: Regenerated.
53228         * include/libc-symbols.h: Remove comment about
53229         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
53230         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
53231         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
53232         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
53233         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
53234         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
53235         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
53236         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
53237         * elf/tst-unique2mod1.c: Likewise.
53238         * elf/tst-unique1mod2.c: Likewise.
53239         * elf/tst-unique1mod1.c: Likewise.
53240         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
53241         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
53242         Replace ASM_TYPE_DIRECTIVE with .type.
53243         * sysdeps/s390/s390-64/sysdep.h: Likewise.
53244         * sysdeps/i386/sysdep.h: Likewise.
53245         * sysdeps/x86_64/sysdep.h: Likewise.
53246         * sysdeps/sh/sysdep.h: Likewise.
53247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
53248         Do not define ASM_TYPE_DIRECTIVE.
53249         * sysdeps/powerpc/sysdep.h: Likewise.
53250         * sysdeps/powerpc/powerpc32/sysdep.h:
53251         Replace ASM_TYPE_DIRECTIVE with .type.
53252         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
53253         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
53254         * sysdeps/i386/fpu/e_powf.S: Likewise.
53255         * sysdeps/i386/fpu/e_expl.S: Likewise.
53256         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
53257         * sysdeps/i386/fpu/e_acosh.S: Likewise.
53258         * sysdeps/i386/fpu/e_pow.S: Likewise.
53259         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
53260         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
53261         * sysdeps/i386/fpu/s_expm1.S: Likewise.
53262         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
53263         * sysdeps/i386/fpu/e_log2.S: Likewise.
53264         * sysdeps/i386/fpu/e_log2l.S: Likewise.
53265         * sysdeps/i386/fpu/e_scalb.S: Likewise.
53266         * sysdeps/i386/fpu/e_powl.S: Likewise.
53267         * sysdeps/i386/fpu/e_log10f.S: Likewise.
53268         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
53269         * sysdeps/i386/fpu/e_logl.S: Likewise.
53270         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
53271         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
53272         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
53273         * sysdeps/i386/fpu/e_log2f.S: Likewise.
53274         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
53275         * sysdeps/i386/fpu/e_log.S: Likewise.
53276         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
53277         * sysdeps/i386/fpu/e_logf.S: Likewise.
53278         * sysdeps/i386/fpu/e_log10l.S: Likewise.
53279         * sysdeps/i386/fpu/e_atanh.S: Likewise.
53280         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
53281         * sysdeps/i386/fpu/e_log10.S: Likewise.
53282         * sysdeps/i386/fpu/s_frexp.S: Likewise.
53283         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
53284         * sysdeps/i386/fpu/s_asinh.S: Likewise.
53285         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
53286         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
53287         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
53288         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
53289         * sysdeps/i386/i686/strtok.S: Likewise.
53290         * sysdeps/i386/i386-mcount.S: Likewise.
53291         * sysdeps/i386/strtok.S: Likewise.
53292         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
53293         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
53294         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
53295         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
53296         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
53297         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
53298         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
53299         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
53300         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
53301         * sysdeps/x86_64/_mcount.S: Likewise.
53302         * sysdeps/x86_64/strtok.S: Likewise.
53303         * sysdeps/sh/_mcount.S: Likewise.
53305 2012-08-01  Roland McGrath  <roland@hack.frob.com>
53307         * libio/iofopen.c: Include <fcntl.h>.
53308         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
53309         (_IO_fopen64, fopen64): Define as aliases.
53310         * libio/iofopen64.c: Include <fcntl.h>.
53311         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
53312         Conditionalize body on this.
53313         * sysdeps/wordsize-64/iofopen.c: File removed.
53314         * sysdeps/wordsize-64/iofopen64.c: File removed.
53316 2012-08-01  Marek Polacek  <polacek@redhat.com>
53318         * libc/Makeconfig: Use elf in place of binfmt-subdir.
53319         Use dlfcn directly instead of a variable.
53320         (binfmt-subdir): Do not define.
53321         (dlfcn): Likewise.
53323 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
53325         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
53326         Remove all definitions.
53327         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
53328         <kernel-features.h>.
53329         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
53330         (miss_F_GETOWN_EX): Remove all definitions.
53331         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
53332         macro definition.
53333         [!__ASSUME_FCNTL64]: Remove conditional code.
53334         [__ASSUME_FCNTL64]: Make code unconditional.
53335         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
53336         <kernel-features.h>.
53337         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
53338         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
53339         (lockf64) [__NR_fcntl64]: Make code unconditional.
53340         (lockf64) [__ASSUME_FCNTL64]: Likewise.
53342         * sysdeps/unix/sysv/linux/kernel-features.h
53343         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
53344         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
53345         Make code unconditional.
53346         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
53347         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
53348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
53349         [__NR_vfork]: Make code unconditional.
53350         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
53351         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
53352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
53353         [__NR_vfork]: Make code unconditional.
53354         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
53355         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
53357 2012-08-01  Roland McGrath  <roland@hack.frob.com>
53359         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
53360         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
53362         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
53363         Define mkstemp64 as an alias.
53364         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
53365         Define mkstemps64 as an alias.
53366         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
53367         Define mkostemp64 as an alias.
53368         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
53369         Define mkostemps64 as an alias.
53370         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
53371         Conditionalize body on this.
53372         * misc/mkostemp64.c: Likewise.
53373         * misc/mkostemps64.c: Likewise.
53374         * misc/mkstemps64.c: Likewise.
53375         * sysdeps/wordsize-64/mkstemp64.c: File removed.
53376         * sysdeps/wordsize-64/mkostemp64.c: File removed.
53377         * sysdeps/wordsize-64/mkostemp.c: File removed.
53378         * sysdeps/wordsize-64/mkstemp.c: File removed.
53379         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
53380         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
53381         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
53382         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
53384         [BZ #14138]
53385         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
53386         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
53387         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
53388         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
53390         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
53391         compat_symbol macros from <shlib-compat.h> rather than the underlying
53392         default_symbol_version and symbol_version macros, so that DEFAULT
53393         lines in shlib-versions are respected.
53394         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
53396 2012-08-01  Florian Weimer  <fweimer@redhat.com>
53398         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
53399         Declare with warn_unused_result.
53400         (setgid, setregid, setegid, setresgid): Likewise.
53401         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
53402         Likewise.
53403         * WUR-REPORT: Remove set*id functions.
53405 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
53407         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
53409 2012-07-31  Roland McGrath  <roland@hack.frob.com>
53411         [BZ #10191]
53412         * include/sys/socket.h (__libc_accept, __libc_accept4):
53413         Add attribute_hidden.
53414         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
53416         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
53417         use of PTR_MANGLE.
53418         * inet/getnetgrent_r.c (setup): Likewise.
53420         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
53422 2012-07-31  David S. Miller  <davem@davemloft.net>
53424         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53426 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
53428         [BZ #13629]
53429         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
53430         value between 1.0 and 2.0 and smaller part has absolute value less
53431         than 1.0.
53432         * math/s_clog10.c (__clog10): Likewise.
53433         * math/s_clog10f.c (__clog10f): Likewise.
53434         * math/s_clog10l.c (__clog10l): Likewise.
53435         * math/s_clogf.c (__clogf): Likewise.
53436         * math/s_clogl.c (__clogl): Likewise.
53437         * math/libm-test.inc (clog_test): Add more tests.
53438         (clog10_test): Likewise.
53439         * sysdeps/i386/fpu/libm-test-ulps: Update.
53440         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53442 2012-07-31  Florian Weimer  <fweimer@redhat.com>
53444         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
53445         Exit with zero in case no suitable GID is found, and write a
53446         message to standard error.
53448 2012-07-30  Roland McGrath  <roland@hack.frob.com>
53450         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
53451         rather than to 1.
53452         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
53453         (MAXPATHLEN): Removed.
53454         (NOGROUP, NODEV): New macros.
53455         (setbit, clrbit, isset, isclr): New macros.
53456         (howmany, roundup, powerof2): New macros.
53457         (DEV_BSIZE): New macro.
53459         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
53460         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
53462         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
53463         definition on [!__NO_LONG_DOUBLE_MATH].
53465         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
53466         PTR_MANGLE and PTR_DEMANGLE.
53468         * socket/accept4.c (accept4): Rename to __libc_accept4.
53469         Define accept4 as a weak alias.
53471         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
53472         on [_DIRENT_HAVE_D_TYPE].
53473         * io/ftw.c (ftw_dir): Likewise.
53475         * io/xmknod.c (__xmknod): Don't check PATH for being null.
53477         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
53479         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
53480         Use the BSD numbers rather than the arbitrary ones we had.
53481         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
53482         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
53483         (SIGXCPU, SIGXFSZ): New macros.
53484         (_NSIG): Now 32.
53486         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
53487         initializer on [_LIBC_REENTRANT].
53489         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
53490         definitions inside [_POSIX_MAPPED_FILES].
53492         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
53494         * dirent/opendir.c: Include <fcntl.h>.
53496         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
53497         (__libc_getspecific): Likewise.
53498         (__libc_key_create): Likewise.
53500         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
53501         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
53502         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
53503         (tmpfile64): Define as alias.
53504         * sysdeps/wordsize-64/tmpfile.c: File removed.
53505         * sysdeps/wordsize-64/tmpfile64.c: File removed.
53506         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
53507         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
53509         * stdio-common/vfscanf.c: Include <stdbool.h>.
53510         * nss/makedb.c: Likewise.
53511         * stdio-common/_i18n_number.h: Likewise.
53512         * argp/argp-help.c: Likewise.
53513         * posix/wordexp.c: Likewise.
53514         * sysdeps/posix/spawni.c: Likewise.
53515         * nss/nss_files/files-initgroups.c: Likewise.
53516         * stdio-common/reg-modifier.c: Include <stdlib.h>.
53517         * nss/nss_files/files-initgroups.c: Likewise.
53518         * nss/nss_db/db-netgrp.c: Likewise.
53519         * nss/nss_db/db-initgroups.c: Likewise.
53520         * io/fchmodat.c: Include <sys/stat.h>.
53522         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
53523         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
53525         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
53526         [HAVE_MMAP].
53528         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
53529         Add multiple inclusion protection.
53531 2012-07-27  David S. Miller  <davem@davemloft.net>
53533         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53535 2012-07-27  Gary Benson  <gbenson@redhat.com>
53537         [BZ #14298]
53538         * elf/rtld.c: Include <stap-probe.h>.
53539         (dl_main): Added static probes "init_start" and "init_complete".
53540         * elf/dl-load.c: Include <stap-probe.h>.
53541         (lose): Take new parameter "nsid".
53542         Added static probe "map_failed".
53543         (_dl_map_object_from_fd): Pass namespace id to lose.
53544         Added static probe "map_start".
53545         (open_verify): Pass namespace id to lose.
53546         * elf/dl-open.c: Include <stap-probe.h>.
53547         (dl_open_worker) Added static probes "map_complete", "reloc_start"
53548         and "reloc_complete".
53549         * elf/dl-close.c: Include <stap-probe.h>.
53550         (_dl_close_worker): Added static probes "unmap_start" and
53551         "unmap_complete".
53552         * elf/rtld-debugger-interface.txt: New file documenting the above.
53554 2012-07-26  Roland McGrath  <roland@hack.frob.com>
53556         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
53557         rather than a string variable.
53558         * sunrpc/rpc_main.c (h_output): Likewise.
53559         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
53561 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
53563         * inet/check_native.c: New file.
53565 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
53567         [BZ #13629]
53568         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
53569         if larger part has absolute value 1.0.
53570         * math/s_clog10.c (__clog10): Likewise.
53571         * math/s_clog10f.c (__clog10f): Likewise.
53572         * math/s_clog10l.c (__clog10l): Likewise.
53573         * math/s_clogf.c (__clogf): Likewise.
53574         * math/s_clogl.c (__clogl): Likewise.
53575         * math/libm-test.inc (clog_test): Add more tests.
53576         (clog10_test): Likewise.
53577         * sysdeps/i386/fpu/libm-test-ulps: Update.
53578         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53580         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
53581         (pltexit): Likewise.
53582         (La_regs): Likewise.
53583         (La_retval): Likewise.
53584         (int_retval): Likewise.
53585         Update #error for removed macros to refer only to definitions in
53586         tst-audit.h.
53587         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
53588         macro.
53589         (pltexit): Likewise.
53590         (La_regs): Likewise.
53591         (La_retval): Likewise.
53592         (int_retval): Likewise.
53593         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
53594         macro.
53595         (pltexit): Likewise.
53596         (La_regs): Likewise.
53597         (La_retval): Likewise.
53598         (int_retval): Likewise.
53599         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
53600         macro.
53601         (pltexit): Likewise.
53602         (La_regs): Likewise.
53603         (La_retval): Likewise.
53604         (int_retval): Likewise.
53605         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
53606         macro.
53607         (pltexit): Likewise.
53608         (La_regs): Likewise.
53609         (La_retval): Likewise.
53610         (int_retval): Likewise.
53611         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
53612         macro.
53613         (pltexit): Likewise.
53614         (La_regs): Likewise.
53615         (La_retval): Likewise.
53616         (int_retval): Likewise.
53617         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
53618         macro.
53619         (pltexit): Likewise.
53620         (La_regs): Likewise.
53621         (La_retval): Likewise.
53622         (int_retval): Likewise.
53623         * sysdeps/generic/tst-audit.h: Update comment to refer only to
53624         macro definitions in tst-audit.h.
53625         * sysdeps/i386/tst-audit.h: New file.
53626         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
53627         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
53628         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
53629         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
53630         * sysdeps/sh/tst-audit.h: Likewise.
53631         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
53632         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
53633         * sysdeps/x86_64/tst-audit.h: Likewise.
53635 2012-07-26  Andreas Jaeger  <aj@suse.de>
53637         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
53638         ptrace.
53640         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
53641         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
53642         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
53643         PTRACE_O_MASK.
53644         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
53645         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
53646         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
53648         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
53649         value.
53651         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
53652         _sigsys.
53653         (si_call_addr, si_syscall, si_arch): Define new macro.
53654         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
53655         _sigsys.
53656         (si_call_addr, si_syscall, si_arch): Define new marcro.
53657         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
53658         _sigsys.
53659         (si_call_addr, si_syscall, si_arch): Define new macro.
53660         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
53661         _sigsys.
53662         (si_call_addr, si_syscall, si_arch): Define new macro.
53664 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
53666         [BZ #13717]
53667         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
53668         Change to 2.4.21 where previously 2.4.1.
53669         * sysdeps/unix/sysv/linux/configure: Regenerated.
53670         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
53671         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
53672         Linux kernel version.
53673         (__ASSUME_STD_AUXV): Remove.
53674         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
53675         kernel version.
53676         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
53677         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
53678         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
53679         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
53680         (__ASSUME_NETLINK_SUPPORT): Likewise.
53681         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
53682         (__no_netlink_support): Remove conditional definition.
53683         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
53684         Remove.
53685         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
53686         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
53687         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
53688         (if_nameindex_ioctl): Remove.
53689         (if_nameindex_netlink): Do not handle __no_netlink_support.
53690         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
53691         code.
53692         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
53693         Remove conditional code.
53694         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
53695         code.
53696         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
53697         unconditional.
53698         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
53699         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
53700         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
53701         Remove.
53702         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
53703         [!__ASSUME_STD_AUXV]: Remove conditional code.
53704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
53705         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
53706         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
53707         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
53708         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
53709         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
53710         code.
53711         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
53712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
53713         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
53714         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
53715         conditional code.
53716         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
53717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
53718         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
53719         code.
53720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
53721         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
53722         conditional code.
53723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
53724         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
53725         code unconditional.
53726         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
53727         conditional code.
53728         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
53729         unconditional.
53730         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
53731         conditional code.
53732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
53733         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
53734         unconditional.
53735         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
53736         conditional code.
53737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
53738         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
53739         code unconditional.
53740         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
53741         conditional code.
53742         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
53743         unconditional.
53744         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
53745         conditional code.
53746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
53747         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
53748         code unconditional.
53749         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
53750         conditional code.
53751         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
53752         unconditional.
53753         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
53754         conditional code.
53756 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
53758         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
53759         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
53760         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
53761         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
53762         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
53763         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
53764         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
53765         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
53766         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
53767         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
53768         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
53769         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
53770         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
53771         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
53772         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
53773         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
53774         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
53775         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
53776         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
53777         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
53778         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
53779         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
53780         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
53782 2012-07-25  Florian Weimer  <fweimer@redhat.com>
53784         * Versions.def: Add GLIBC_2.17.
53785         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
53786         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
53787         Introduce __libc_secure_getenv.
53788         * stdlib/Versions (2.17): Add secure_getenv
53789         (GLIBC_PRIVATE): Add __libc_secure_getenv.
53790         * stdlib/secure-getenv.c: Rename __secure_getenv to
53791         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
53792         symbol __secure_getenv for GLIBC_2.0.
53793         * stdlib/tst-secure-getenv.c: New.
53794         * stdlib/Makefile (tests): Add testcase.
53795         * manual/startup.texi (Environment Access): Document
53796         secure_getenv.
53797         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
53798         __libc_secure_getenv.
53799         * inet/ruserpass.c (ruserpass): Likewise.
53800         * malloc/mtrace.c (mtrace): Likewise.
53801         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
53802         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
53803         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
53804         * sysdeps/posix/tempname.c: Likewise.  Evaluate
53805         HAVE_SECURE_GETENV.
53806         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
53807         __secure_getenv to __libc_secure_getenv.
53808         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
53809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
53810         Likewise.
53811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
53812         Likewise.
53813         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
53814         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
53815         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
53816         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
53817         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
53818         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
53819         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
53821 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
53823         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
53824         (struct La_i86_retval): Likewise.
53825         (struct La_x86_64_regs): Likewise.
53826         (struct La_x86_64_retval): Likewise.
53827         (struct La_x32_regs): Likewise.
53828         (struct La_x32_retval): Likewise.
53829         (struct La_ppc32_regs): Likewise.
53830         (struct La_ppc32_retval): Likewise.
53831         (struct La_ppc64_regs): Likewise.
53832         (struct La_ppc64_retval): Likewise.
53833         (struct La_sh_regs): Likewise.
53834         (struct La_sh_retval): Likewise.
53835         (struct La_s390_32_regs): Likewise.
53836         (struct La_s390_32_retval): Likewise.
53837         (struct La_s390_64_regs): Likewise.
53838         (struct La_s390_64_retval): Likewise.
53839         (struct La_sparc32_regs): Likewise.
53840         (struct La_sparc32_retval): Likewise.
53841         (struct La_sparc64_regs): Likewise.
53842         (struct La_sparc64_retval): Likewise.
53843         (struct audit_ifaces): Remove architecture-specific pltenter and
53844         pltexit members.
53845         * sysdeps/i386/ldsodefs.h: New file.
53846         * sysdeps/powerpc/ldsodefs.h: Likewise.
53847         * sysdeps/s390/ldsodefs.h: Likewise.
53848         * sysdeps/sh/ldsodefs.h: Likewise.
53849         * sysdeps/sparc/ldsodefs.h: Likewise.
53850         * sysdeps/x86_64/ldsodefs.h: Likewise.
53852 2012-07-25  Marek Polacek  <polacek@redhat.com>
53854         [BZ #6808]
53855         * math/libm-test.inc (yn_test): Add another test.
53856         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
53857         to ERANGE when the result is +-Inf.
53858         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
53859         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
53860         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
53861         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
53863 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
53865         * conform/data/time.h-data (NULL): Use macro-constant.  Require
53866         equal to 0.
53867         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
53868         clock_t.
53869         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
53871 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
53873         * configure.in <sysdeps resolving>: Correct printing
53874         Implies_before.
53875         * configure: Regenerate.
53877 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
53879         * math/w_ilogb.c: Include <limits.h>.
53880         * math/w_ilogbl.c: Likewise.
53882 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
53884         * manual/lang.texi (__va_copy): Document primarily as ISO C99
53885         va_copy.  Document allowing for unavailable va_copy only as
53886         pre-C99 compatibility.
53887         * manual/string.texi (Copying and Concatenation): Use va_copy
53888         instead of __va_copy in concat example.
53890 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
53892         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
53893         (__sendto): Use create_address_port.  Initialize APORT and deallocate
53894         it if not null.
53896         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
53897         with O_NOLINK passed to __file_name_lookup.
53899         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
53900         with O_NOLINK passed to __file_name_lookup.
53902         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
53903         negative N or less than NGIDS.
53905         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
53906         type to string_t.  Set ERANGE as errno and return it if NAME is not big
53907         enough.  Use memcpy instead of strncpy.
53909 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
53911         * elf/Makefile (check-data): Remove.
53912         (localplt.data): New vpath directive.
53913         ($(objpfx)check-localplt.out): Use localplt.data from vpath
53914         instead of $(check-data).
53915         * scripts/data/localplt-generic.data: Move to ...
53916         * sysdeps/generic/localplt.data: ... here.
53917         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
53918         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
53919         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
53920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
53921         ... here.
53922         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
53923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
53924         ... here.
53925         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
53926         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
53927         ... here.
53928         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
53929         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
53930         ... here.
53931         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
53932         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
53933         ... here.
53934         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
53935         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
53936         ... here.
53938 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53940         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
53941         PPC32 and PPC64 files.
53942         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
53943         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
53945 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53947         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
53948         __makecontext_ret to ...
53949         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
53950         ... here and call exit if uc_link is NULL.  New file.
53951         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
53952         __makecontext_ret.S.
53953         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
53954         __makecontext_ret to ...
53955         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
53956         ... here and call exit if uc_link is NULL.  New file.
53957         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
53958         __makecontext_ret.S.
53960 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53962         * elf/elf.h (R_390_IRELATIVE): New definition.
53963         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
53964         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
53965         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
53966         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
53967         (elf_machine_lazy_rel): Likewise.
53968         * sysdeps/s390/dl-irel.h: New file.
53969         * sysdeps/s390/s390-64/memcpy.S: New asm code.
53970         * sysdeps/s390/s390-64/memset.S: New asm code.
53971         * sysdeps/s390/s390-64/memcmp.S: New asm code.
53972         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
53973         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
53974         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
53975         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
53976         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
53977         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
53978         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
53979         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
53980         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
53981         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
53982         * sysdeps/s390/s390-32/memcpy.S: New asm code.
53983         * sysdeps/s390/s390-32/memset.S: New asm code.
53984         * sysdeps/s390/s390-32/memcmp.S: New asm code.
53986 2012-07-17  Marek Polacek  <polacek@redhat.com>
53988         [BZ #14349]
53989         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
53990         * sysdeps/s390/s390-64/configure.in: Likewise.
53991         * sysdeps/sparc/configure.in: Likewise.
53992         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
53993         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
53994         * sysdeps/i386/configure.in: Likewise.
53995         * sysdeps/x86_64/configure.in: Likewise.
53996         * sysdeps/sh/configure.in: Likewise.
53997         * sysdeps/s390/s390-32/configure: Regenerated.
53998         * sysdeps/s390/s390-64/configure: Likewise.
53999         * sysdeps/x86_64/configure: Likewise.
54000         * sysdeps/sh/configure: Likewise.
54001         * sysdeps/powerpc/powerpc64/configure: Likewise.
54002         * sysdeps/powerpc/powerpc32/configure: Likewise.
54003         * sysdeps/sparc/configure: Likwise.
54004         * sysdeps/i386/configure: Likewise.
54006         * elf/dl-open.c: Comment fixes.
54008 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
54010         * Makefile [CXX] (check-data): Remove.
54011         [CXX] (c++-types.data): New vpath directive.
54012         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
54013         vpath.  Do not allow for C++ type data being missing.
54014         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
54015         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
54016         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
54017         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
54018         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
54019         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
54020         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
54021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
54022         ... here.
54023         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
54024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
54025         ... here.
54026         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
54027         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
54028         ... here.
54029         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
54030         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
54031         ... here.
54032         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
54033         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
54034         ... here.
54035         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
54036         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
54037         ... here.
54038         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
54039         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
54040         ... here.
54041         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
54042         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
54044         * elf/tls-macros.h (TLS_LE): Move architecture-specific
54045         definitions to architecture-specific files.
54046         (TLS_IE): Likewise.
54047         (TLS_LD): Likewise.
54048         (TLS_GD): Likewise.
54049         * sysdeps/i386/tls-macros.h: New file.
54050         * sysdeps/powerpc/tls-macros.h: Likewise.
54051         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
54052         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
54053         * sysdeps/sh/tls-macros.h: Likewise.
54054         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
54055         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
54056         * sysdeps/x86_64/tls-macros.h: Likewise.
54058 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
54060         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
54061         zero value for regular exit case.
54063         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
54064         (__start_context): Preserve zero value for regular exit case.
54066 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
54067             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54069         * manual/setjmp.texi (setcontext): Clarify normal process
54070         termination when uc_link is the null pointer.
54071         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
54072         exit call.
54074 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
54076         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
54077         preprocessor.  Test for each exception mask separately.
54079 2012-07-16  Andreas Jaeger  <aj@suse.de>
54081         * po/ru.po: Update from translation team.
54083 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
54085         * conform/data/string.h-data (NULL): Use macro-constant.  Require
54086         equal to 0.
54087         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
54088         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
54089         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
54090         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
54091         [ISO || ISO99 || ISO11] (*_t): Do not allow.
54093 2012-07-13  Andreas Jaeger  <aj@suse.de>
54095         * po/fr.po: Update from translation team.
54097 2012-07-12  Marek Polacek  <polacek@redhat.com>
54099         [BZ #14173]
54100         * math/libm-test.inc (yn_test): Add test for BZ #14173.
54101         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
54102         loop condition.
54104 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
54106         [BZ #13717]
54107         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
54108         Change to 2.4.1 where previously 2.4.0.
54109         * sysdeps/unix/sysv/linux/configure: Regenerated.
54110         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
54111         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
54112         version.
54113         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
54114         (__ASSUME_AT_CLKTCK): Remove.
54115         (__ASSUME_AT_PAGESIZE): Likewise.
54116         (__ASSUME_AT_XID): Likewise.
54117         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
54118         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
54119         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
54120         unconditionally.
54121         (HAVE_AUX_PAGESIZE): Likewise.
54122         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
54123         [__ASSUME_AT_CLKTCK]: Make code unconditional.
54124         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
54126 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
54128         [BZ #14307]
54129         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
54130         the temporary buffer used to invoke __gethostbyname2_r,
54131         __gethostbyaddr_r and gethostbyname4_r to make room for struct
54132         host_data / struct gaih_addrtuple.
54133         * resolv/nss_dns/dns-host.c (global scope): Move definition of
54134         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
54135         header file nss/nsswitch.h.
54136         * nss/nsswitch.h (global scope): Add definition of implementation
54137         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
54138         resolv/nss_dns/dns-host.c).
54140 2012-07-11  Andreas Jaeger  <aj@suse.de>
54142         * po/fr.po: Update from translation team.
54144         * po/sv.po: Update from translation team
54145         * po/fr.po: Another update from translation team.
54147 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54149         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
54150         for subnormals or multiply small sinh result by itself.
54151         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
54152         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54154 2012-07-11  David S. Miller  <davem@davemloft.net>
54156         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54158 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
54160         [BZ #14347]
54161         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
54162         (INTERNAL_MARK): Shift it here.
54164 2012-07-10  Marek Polacek  <polacek@redhat.com>
54166         [BZ #14151]
54167         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
54168         libc_cv_asm_global_directive with .globl.
54169         * configure: Regenerated.
54170         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
54171         with .globl.
54172         * sysdeps/i386/configure: Regenerated.
54173         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
54174         with .globl.
54175         * sysdeps/x86_64/configure: Regenerated.
54176         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
54177         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
54178         * elf/tst-unique2mod2.c: Likewise.
54179         * elf/tst-unique2mod1.c: Likewise.
54180         * elf/tst-unique1mod2.c: Likewise.
54181         * elf/tst-unique1mod1.c: Likewise.
54182         * sysdeps/s390/s390-32/sysdep.h: Likewise.
54183         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
54184         * sysdeps/s390/s390-64/sysdep.h: Likewise.
54185         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
54186         * sysdeps/mach/sysdep.h: Likewise.
54187         * sysdeps/i386/sysdep.h: Likewise.
54188         * sysdeps/i386/i386-mcount.S: Likewise.
54189         * sysdeps/x86_64/_mcount.S: Likewise.
54190         * sysdeps/x86_64/sysdep.h: Likewise.
54191         * sysdeps/sh/_mcount.S: Likewise.
54192         * sysdeps/sh/sysdep.h: Likewise.
54193         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
54194         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
54195         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
54196         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
54197         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
54198         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
54199         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
54200         * locale/localeinfo.h: Likewise.
54201         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
54202         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
54204 2012-07-09  Roland McGrath  <roland@hack.frob.com>
54206         [BZ #14336]
54207         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
54208         system".
54209         * manual/message.texi (The Uniforum approach): Likewise.
54210         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
54211         (glibc iconv Implementation): Likewise.
54213 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
54215         [BZ #14337]
54216         * math/s_clog.c (__clog): Avoid scaling a value down where that
54217         could result in underflow.
54218         * math/s_clog10.c (__clog10): Likewise.
54219         * math/s_clog10f.c (__clog10f): Likewise.
54220         * math/s_clog10l.c (__clog10l): Likewise.
54221         * math/s_clogf.c (__clogf): Likewise.
54222         * math/s_clogl.c (__clogl): Likewise.
54223         * math/libm-test.inc (clog_test): Add more tests.
54224         (clog10_test): Likewise.
54225         * sysdeps/i386/fpu/libm-test-ulps: Update.
54226         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54228 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
54230         [BZ #14283]
54231         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
54232         by 7 not 8 to examine high bit of fractional part.
54234         [BZ #14042]
54235         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
54236         for call to __mcount_internal.
54237         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
54238         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
54239         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
54241 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
54243         [BZ #14154]
54244         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
54245         approximation for values within 0x1p-13f of an odd multiple of
54246         pi/4.
54247         * math/libm-test.inc (tan_test): Do not allow spurious underflow
54248         exception.  Add more tests.
54249         * sysdeps/i386/fpu/libm-test-ulps: Update.
54251         [BZ #6778]
54252         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
54253         inputs and return -1 for them.  Do not check for +Inf in case not
54254         reachable for +Inf.
54255         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
54256         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
54257         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
54258         and return -1 for them.  Do not check for +Inf in case not
54259         reachable for +Inf.
54260         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
54261         define.
54262         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
54263         and return -1 for them.  Do not check for +Inf in case not
54264         reachable for +Inf.
54265         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
54266         spurious underflow.
54267         * sysdeps/i386/fpu/libm-test-ulps: Update.
54268         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54270 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
54272         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
54274 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
54276         [BZ #14157]
54277         [BZ #14331]
54278         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
54279         could result in spurious underflow.  Scale down values above
54280         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
54281         * math/s_csqrtf.c (__csqrtf): Likewise.
54282         * math/s_csqrtl.c (__csqrtl): Likewise.
54283         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
54284         spurious underflow.
54285         * sysdeps/i386/fpu/libm-test-ulps: Update.
54286         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54288 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
54290         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
54291         xopen-msg.sed.
54292         * catgets/xopen-msg.awk: New file.
54293         * catgets/xopen-msg.sed: Removed.
54295         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
54296         po2text.sed.
54297         * intl/po2test.awk: New file.
54298         * intl/po2test.sed: Removed.
54300 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
54302         [BZ #14328]
54303         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
54304         or multiply small sinh result by itself.
54305         * math/s_ctanf.c (__ctanf): Likewise.
54306         * math/s_ctanh.c (__ctanh): Likewise.
54307         * math/s_ctanhf.c (__ctanhf): Likewise.
54308         * math/s_ctanhl.c (__ctanhl): Likewise.
54309         * math/s_ctanl.c (__ctanl): Likewise.
54310         * math/libm-test.inc (ctan_test_tonearest): New function.
54311         (ctan_test_towardzero): Likewise.
54312         (ctan_test_downward): Likewise.
54313         (ctan_test_upward): Likewise.
54314         (ctanh_test_tonearest): Likewise.
54315         (ctanh_test_towardzero): Likewise.
54316         (ctanh_test_downward): Likewise.
54317         (ctanh_test_upward): Likewise.
54318         (main): Call these new functions.
54319         * sysdeps/i386/fpu/libm-test-ulps: Update.
54320         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54322 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
54324         * .gitignore: Delete /ports entry.
54326 2012-07-03  Andreas Jaeger  <aj@suse.de>
54328         * po/bg.po: Update from translation team.
54329         * po/cs.po: Likewise.
54330         * po/de.po: Likewise.
54331         * po/hr.po: Likewise.
54332         * po/nl.pl: Likewise.
54333         * po/pl.po: Likewise.
54334         * po/vi.po: Likewise.
54336 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
54338         * Makeconfig [!+link] (+link-before-libc): New variable.
54339         [!+link] (+link-after-libc): Likewise.
54340         [!+link] (+link-tests): Likewise.
54341         [!+link] (+link): Define in terms of $(+link-before-libc) and
54342         $(+link-after-libc).
54343         [!+link-static] (+link-static-before-libc): New variable.
54344         [!+link-static] (+link-static-after-libc): Likewise.
54345         [!+link-static] (+link-static-tests): Likewise.
54346         [!+link-static] (+link-static): Define in terms of
54347         $(+link-static-before-libc) and $(+link-static-after-libc).
54348         [build-shared] (link-libc-before-gnulib): New variable.
54349         [build-shared] (link-libc-tests): Likewise.
54350         [build-shared] (link-libc): Define in terms of
54351         $(link-libc-before-gnulib).
54352         [!build-shared] (link-libc-tests): New variable.
54353         (link-libc-static-tests): New variable.
54354         [!gnulib] (gnulib-arch): New variable.
54355         [!gnulib] (gnulib-tests): Likewise.
54356         [!gnulib] (static-gnulib-arch): Likewise.
54357         [!gnulib] (static-gnulib-tests): Likewise.
54358         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
54359         Define with "=" instead of ":=".
54360         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
54361         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
54362         * Rules (binaries-all-notests): New variable.
54363         (binaries-all-tests): Likewise.
54364         (binaries-static-notests): Likewise.
54365         (binaries-static-tests): Likewise.
54366         (binaries-all): Define using $(binaries-all-notests) and
54367         $(binaries-all-tests).
54368         (binaries-static): Define using $(binaries-static-notests) and
54369         $(binaries-static-tests).
54370         (binaries-shared-tests): New variable.
54371         (binaries-shared-notests): Likewise.
54372         (binaries-shared): Remove variable.
54373         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
54374         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
54375         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
54376         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
54377         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
54378         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
54379         * elf/Makefile (sln-modules): New variable.
54380         (extra-objs): Add $(sln-modules:=.o).
54381         (ldconfig-modules): Add static-stubs.
54382         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
54383         * elf/static-stubs.c: New file.
54385         [BZ #14283]
54386         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
54387         by 7 not 8 to examine high bit of fractional part.  Use volatile
54388         variables when splitting into final array of floats if
54389         __FLT_EVAL_METHOD__ != 0.
54390         * math/libm-test.inc (cos_test): Add another test.
54391         (sin_test): Likewise.
54392         * sysdeps/i386/fpu/libm-test-ulps: Update.
54394         [BZ #14273]
54395         * math/libm-test.inc (cosh_test): Add more tests.
54397         * version.h (RELEASE): Set to "development".
54398         (VERSION): Set to "2.16.90".
54400 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
54402         * NEWS: Update copyright. Remove last-updated date.
54403         Mention math library bug fixes and timezone data changes.
54404         * README: Mention GNU/Hurd, x32, and HPPA support status.
54406 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
54408         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
54410 2012-06-27  Andreas Jaeger  <aj@suse.de>
54412         * manual/contrib.texi (Contributors): Add Samuel Thibault.
54414 2012-06-25  Andreas Jaeger  <aj@suse.de>
54416         * sysdeps/s390/fpu/libm-test-ulps: Update.
54418 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
54419             Thomas Schwinge  <thomas@codesourcery.com>
54421         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
54422         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
54423         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
54424         fanotify_mark.
54426 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
54428         * sysdeps/mach/start.c: Remove file.
54429         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
54430         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
54431         * sysdeps/sh/init-first.c: Likewise.
54433         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
54434         registers for frame unwinding purposes, add CFI directives.
54435         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
54436         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
54437         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
54438         Likewise.
54440         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
54441         __fortify_fail returning.
54442         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
54444         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
54445         sysdeps/sh/____longjmp_chk.S.
54446         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
54447         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
54448         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
54449         (gen-as-const-headers): Append sigaltstack-offsets.sym.
54451         * sysdeps/sh/abort-instr.h: New file.
54452         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
54453         process in case exit returns.
54455         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
54456         initialize the GOT register before use.
54458         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
54459         calculation of ARGC > 4.
54461         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
54462         meaningful names to some local labels.
54464 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
54465             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54467         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
54468         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
54469         (__arch_compare_and_exchange_val_16_acq): Likewise.
54470         (__arch_compare_and_exchange_val_32_acq): Likewise.
54471         (atomic_exchange_and_add): Fix gUSA sequence.
54472         (atomic_add): Likewise.
54473         (atomic_add_negative): Likewise.
54474         (atomic_add_zero): Likewise.
54475         (atomic_bit_test_set): Likewise.
54477 2012-06-22  Andreas Schwab  <schwab@redhat.com>
54479         [BZ #13579]
54480         * include/link.h (struct link_map): Add l_free_initfini.
54481         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
54482         l_initfini.
54483         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
54484         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
54485         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
54486         set.
54488 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
54490         * configure.in: Use AC_LANG_SOURCE.
54491         * configure: Regenerate.
54493 2012-06-22  Roland McGrath  <roland@hack.frob.com>
54495         * configure.in (libc_cv_localstatedir): New substituted variable.
54496         * configure: Regenerated.
54497         * config.make.in (localstatedir): New variable, substituted from
54498         libc_cv_localstatedir.
54499         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
54500         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
54501         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
54502         * sysdeps/gnu/configure: Regenerated.
54504 2012-06-21  Jeff Law  <law@redhat.com>
54506         [BZ #14277]
54507         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
54508         free.  Simplify list management for _LIBC case.
54510 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
54512         [BZ #14273]
54513         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
54514         Clear sign bit of 64-bit integer value before comparing against
54515         overflow value.
54517         * sysdeps/mach/configure: Regenerated.
54519 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
54521         [BZ #14278]
54522         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
54524 2012-06-21  Jeff Law  <law@redhat.com>
54526         [BZ #13882]
54527         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
54528         uint16_t for elements in the "seen" array to avoid char overflows.
54529         * elf/dl-fini.c (_dl_sort_fini): Likewise.
54530         * elf/dl-open.c (dl_open_worker): Likewise.
54532 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
54534         * scripts/list-sources.sh: Scan PORTS for translations.
54535         * po/libc.pot: Regenerated.
54537 2012-06-21  Andreas Jaeger  <aj@suse.de>
54539         [BZ #12194]
54540         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
54541         warning.
54542         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
54543         * bits/byteswap-16.h (__bswap_16): Likewise.
54544         * bits/byteswap.h (__bswap_constant_16): Likewise.
54546 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
54548         [BZ #14117]
54549         * sysdeps/i386/fpu_control.h: Removed.
54550         * sysdeps/x86_64/fpu_control.h: Moved to ...
54551         * sysdeps/x86/fpu_control.h: Here.
54553         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
54554         (_FPU_SETCW): Likewise.
54556 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
54558         [BZ #14117]
54559         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
54560         * sysdeps/x86/fpu/bits/mathinline.h: This.
54561         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
54563         [BZ #14050]
54564         [BZ #14117]
54565         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
54566         functions if __x86_64__ is defined.
54568 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
54570         * string/endian.h: Add !__ASSEMBLER__ condition for including
54571         conversion interfaces.
54573 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
54575         [BZ #14241]
54576         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
54577         of ABS(x) in calculating zero to negative powers other than odd
54578         integers.
54579         * math/libm-test.inc (pow_test): Add more tests.
54581 2012-06-15  Andreas Jaeger  <aj@suse.de>
54583         * manual/contrib.texi (Contributors): Update entry of Liubov
54584         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
54585         Machado Filho.
54587 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
54589         * string/string.h: Add __wur to GNU version of strerror_r.
54591 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
54593         [BZ #14229]
54594         * string/Makefile (tests): Add tst-strtok_r.
54595         * string/tst-strtok_r.c: New file.
54596         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
54597         RAX_LP/RDX_LP on SAVE_PTR.
54599 2012-06-14  Roland McGrath  <roland@hack.frob.com>
54601         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
54603 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
54605         * libm_test.inc (csqrt_test): Allow more spurious underflow
54606         exceptions.
54607         (j0_test): Likewise.
54608         (j1_test): Likewise.
54609         (y0_test): Likewise.
54610         (y1_test): Likewise.
54612 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
54614         * po/Makefile (libc.pot): Use UTF-8 charset.
54616 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
54618         [BZ #14210]
54619         Suppress sign-conversion warning from FD_SET.
54620         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
54621         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
54622         not unsigned long int.
54623         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
54625 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
54627         [BZ #14050]
54628         [BZ #14117]
54629         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
54630         __extern_always_inline instead of __extern_inline.
54631         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
54632         (__signbit): Likewise.
54633         (__signbitl): Support C++ namespace.
54634         (lrintf): New inline function.
54635         (lrint): Likewise.
54636         (llrintf): Likewise.
54637         (llrint): Likewise.
54638         (fmaxf): Likewise.
54639         (fmax): Likewise.
54640         (fminf): Likewise.
54641         (fmin): Likewise.
54642         (rint): Likewise.
54643         (rintf): Likewise.
54644         (ceil): Likewise.
54645         (ceilf): Likewise.
54646         (floor): Likewise.
54647         (floorf): Likewise.
54648         (nearbyint): Likewise.
54649         (nearbyintf): Likewise.
54651 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
54653         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
54654         non-default versions.
54656 2012-06-11  Roland McGrath  <roland@hack.frob.com>
54658         [BZ #14218]
54659         * manual/argp.texi (Argp): Reword argp_parse description slightly.
54661 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
54663         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
54664         (FE_UPWARD, FE_DOWNWARD): Don't define.
54665         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
54666         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
54668         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
54669         reading it.
54670         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
54671         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
54673 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54675         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
54676         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
54677         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
54678         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
54680 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
54682         [BZ #14117]
54683         * sysdeps/i386/fpu/bits/fenv.h: Removed.
54684         * sysdeps/i386/fpu/Implies: New file.
54685         * sysdeps/x86_64/fpu/Implies: Likewise.
54686         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
54687         * sysdeps/x86/fpu/bits/fenv.h: This.
54689         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
54690         __SSE_MATH__.
54692 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
54694         [BZ #14134]
54695         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
54696         character 0xffff that matches the last element of the
54697         conversion table.
54699 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54701         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
54702         fmodl commit.
54704 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54706         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
54707         values higher than 25.6283.
54709 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54711         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
54712         subnormal exponent extraction and add some __builtin_expect.
54713         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
54714         Fix for subnormal mantissa calculation.
54716 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
54718         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
54719         cpu2 is -1 and errno is not ENOSYS.
54721 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
54723         [BZ #14117]
54724         * sysdeps/i386/i486/bits/string.h: Renamed to ...
54725         * sysdeps/x86/bits/string.h: This.
54726         * sysdeps/x86_64/bits/string.h: Removed.
54728         * sysdeps/i386/i486/bits/string.h: Define inline functions only
54729         if not compiling for x86-64, but compiling for >= i486.
54731         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
54732         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
54734         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
54735         New macro from Linux kernel 3.4.0.
54736         (FP_XSTATE_MAGIC2): Likewise.
54737         (FP_XSTATE_MAGIC2_SIZE): Likewise.
54738         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
54739         (struct _fpx_sw_bytes): New struct.
54740         (struct _xsave_hdr): Likewise.
54741         (struct _ymmh_state): Likewise.
54742         (struct _xstate): Likewise.
54744         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
54745         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
54746         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
54747         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
54748         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
54749         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
54751         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
54752         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
54753         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
54754         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
54755         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
54756         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
54758 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
54760         [BZ #13743]
54761         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
54762         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
54763         (sysdep_headers): Include sys/platform/ppc.h.
54764         * sysdeps/powerpc/test-gettimebase.c: Test for
54765         __ppc_get_timebase() to catch future ISA opcode/insn changes.
54766         * manual/Makefile (appendices): Include platform.texi.
54767         * manual/contrib.texi (Contributors): Update @node pointers.
54768         * manual/maint.texi (Maintenance): Likewise.
54769         (Platform): New node.
54770         * manual/platform.texi: New file.  Document the new features.
54772 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
54773             Jakub Jelinek  <jakub@redhat.com>
54775         [BZ #14188]
54776         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
54777         where __builtin_expect is unavailable.
54779 2012-06-03  David S. Miller  <davem@davemloft.net>
54781         * stdlib/longlong.h: Updated from GCC.
54783 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
54785         [BZ #14042]
54786         * sysdeps/powerpc/powerpc32/mcount.c: New file.
54787         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
54788         __mcount_internal.
54789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
54790         (GLIBC_2.16): Likewise.
54792 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
54794         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
54796 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
54798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
54799         (default-abi): New variable.
54800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
54801         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
54802         variable.
54803         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
54804         Likewise.
54805         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
54806         Likewise.
54807         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
54808         Likewise.
54810         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
54811         definition.  Document in comment.
54813 2012-06-01  David S. Miller  <davem@davemloft.net>
54815         * stdlib/longlong.h: Updated from GCC.
54817 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
54819         [BZ #14117]
54820         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
54821         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
54822         sys/debugreg.h sys/io.h here.
54823         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
54824         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
54825         sys/io.h.
54826         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
54827         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
54828         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
54829         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
54830         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
54831         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
54833         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
54834         Define only if __x86_64__ is defined.
54836 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
54838         [BZ #14048]
54839         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
54840         Use int64_t for variable i.
54841         * math/libm-test.inc (fmod_test): Add more tests.
54843         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
54844         z computation is not scheduled after fetestexcept.
54845         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
54846         Use math_force_eval instead of asm to ensure calculation scheduled
54847         before exception test.
54848         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
54849         Ensure a1 + u.d computation is not scheduled after fetestexcept.
54851 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
54853         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
54854         computation is not scheduled after fetestexcept.
54856 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
54858         [BZ #14117]
54859         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
54860         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
54862 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54864         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
54865         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
54867 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
54869         [BZ #14117]
54870         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
54871         <bits/wordsize.h>.
54872         (__WCHAR_MIN): Support __WORDSIZE == 64.
54873         (__WCHAR_MAX): Likewise.
54875         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
54876         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
54878         [BZ #14183]
54879         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
54880         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
54882         [BZ #14117]
54883         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
54884         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
54886         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
54887         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
54889         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
54890         Defined to 1 if __x86_64__ isn't defined.
54891         (_STAT_VER_LINUX_OLD): New.
54892         (st_atime): Remove duplicate.
54893         (st_mtime): Likewise.
54894         (st_ctime): Likewise.
54896 2012-05-31  David S. Miller  <davem@davemloft.net>
54898         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
54899         entries.
54901 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
54903         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
54904         gen-libm-test.pl.
54906         [BZ #14132]
54907         * elf/dl-reloc.c: Include <_itoa.h>.
54908         (_dl_reloc_bad_type): Remove use of INTUSE.
54909         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
54910         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
54911         * stdio-common/psiginfo.c (psiginfo): Likewise.
54912         * stdio-common/psignal.c (psignal): Likewise.
54913         * string/strsignal.c (strsignal): Likewise.
54914         * include/signal.h (_sys_siglist): Declare hidden proto.
54915         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
54916         INTVARDEF with libc_hidden_data_def.
54917         * stdio-common/itoa-udigits.c: Likewise.
54918         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
54919         (_itoa_lower_digits_internal): Remove declaration.
54920         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
54921         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
54922         (_sys_sigabbrev_internal): Remove aliases.
54923         (_sys_siglist): Define hidden alias.
54925 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
54927         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54928         bits/sysctl.h.
54930 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
54932         [BZ #14117]
54933         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
54934         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
54936         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
54937         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
54938         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
54939         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
54940         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
54941         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
54943         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
54944         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
54945         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
54947         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
54948         with __addr.
54949         (insw): Likewise.
54950         (insl): Likewise.
54951         (outsb): Likewise.
54952         (outsw): Likewise.
54953         (outsl): Likewise.
54955         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
54956         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
54957         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
54959         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
54960         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
54961         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
54962         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
54963         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
54964         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
54966         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
54967         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
54969         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
54970         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
54972         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
54973         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
54974         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
54976         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
54977         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
54978         to ...
54979         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
54981         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
54982         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
54983         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
54985         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
54986         for x86-64.
54987         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
54989 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
54991         * math/math.h (M_El): Use two more decimal places.
54992         (M_LOG2El): Likewise.
54993         (M_LOG10El): Likewise.
54994         (M_LN2l): Likewise.
54995         (M_LN10l): Likewise.
54996         (M_PIl): Likewise.
54997         (M_PI_2l): Likewise.
54998         (M_PI_4l): Likewise.
54999         (M_1_PIl): Likewise.
55000         (M_2_PIl): Likewise.
55001         (M_2_SQRTPIl): Likewise.
55002         (M_SQRT2l): Likewise.
55003         (M_SQRT1_2l): Likewise.
55005 2012-05-31  David S. Miller  <davem@davemloft.net>
55007         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
55008         values between float registers.
55009         * sysdeps/sparc/sparc64/memset.S: Likewise.
55010         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
55012 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
55014         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
55015         -D_FORTIFY_SOURCE=1.
55016         (CPPFLAGS-tst-longjmp_chk.c): Define.
55017         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
55018         (CPPFLAGS-tst-longjmp_chk2.c): Define.
55019         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
55020         CFLAGS-tst-wchar-h.c.
55022 2012-05-31  Marek Polacek  <polacek@redhat.com>
55024         [BZ #14132]
55025         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
55026         __endmntent_internal): Remove declaration.
55027         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
55028         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
55029         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
55031 2012-05-30  David S. Miller  <davem@davemloft.net>
55033         * sysdeps/sparc/sparc32/soft-fp/q_util.c
55034         (___Q_simulate_exceptions): Use real FP ops rather than writing
55035         into the %fsr.
55036         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
55037         Likewise.
55039 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
55041         [BZ #14117]
55042         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
55043         * sysdeps/x86/bits/xtitypes.h: This.
55045         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
55046         * sysdeps/x86/bits/wordsize.h: This.
55048         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
55049         * sysdeps/x86/bits/huge_vall.h: This.
55051         * sysdeps/i386/bits/select.h: Removed.
55052         * sysdeps/x86_64/bits/select.h: Renamed to ...
55053         * sysdeps/x86/bits/select.h: This.
55055         * sysdeps/i386/bits/setjmp.h: Removed.
55056         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
55057         * sysdeps/x86/bits/setjmp.h: This.
55059         * sysdeps/i386/bits/mathdef.h: Removed.
55060         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
55061         * sysdeps/x86/bits/mathdef.h: This.
55063 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
55065         [BZ #14132]
55066         * include/sys/socket.h (__connect_internal)
55067         (__libc_sa_len_internal): Remove declaration.
55068         (__connect, __libc_sa_len): Declare hidden_proto.
55069         (SA_LEN): Remove use of INTUSE.
55070         * socket/connect.c: Add libc_hidden_def.
55071         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
55072         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
55073         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
55074         alias.
55075         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
55076         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
55077         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
55078         of adding _internal alias.
55080 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
55082         [BZ #14117]
55083         * sysdeps/i386/bits/link.h: Removed.
55084         * sysdeps/i386/bits/linkmap.h: Likewise.
55085         * sysdeps/x86_64/bits/link.h: Renamed to ...
55086         * sysdeps/x86/bits/link.h: This.
55087         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
55088         * sysdeps/x86/bits/linkmap.h: This.
55090         * sysdeps/i386/bits/endian.h: Removed.
55091         * sysdeps/x86_64/bits/endian.h: Renamed to ...
55092         * sysdeps/x86/bits/endian.h: This.
55094         * sysdeps/i386/bits/byteswap.h: Removed.
55095         * sysdeps/i386/bits/byteswap-16.h: Likewise.
55096         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
55097         * sysdeps/x86/bits/byteswap.h: This.
55098         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
55099         * sysdeps/x86/bits/byteswap-16.h: This.
55100         * sysdeps/i386/Implies: Add x86.
55101         * sysdeps/x86_64/Implies: Likewise.
55103 2012-05-30  David S. Miller  <davem@davemloft.net>
55105         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
55106         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
55107         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
55108         (FP_TRAPPING_EXCEPTIONS): Define.
55109         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
55110         (FP_TRAPPING_EXCEPTIONS): Define.
55111         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
55112         subnormals only when inexact has been signalled or underflow
55113         exceptions are enabled.
55114         (_FP_PACK_CANONICAL): Likewise.
55116 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
55118         [BZ #14183]
55119         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
55120         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
55122 2012-05-30  Richard Henderson  <rth@twiddle.net>
55124         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
55125         with #ifndef NOT_IN_libc.
55127         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
55128         marked to avoid plt entry.
55130 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
55132         [BZ #14112]
55133         * Makeconfig (default-abi): New macro.
55134         (abi-includes): Likewise.
55135         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
55136         $(abi-$(default-abi)-lib-soname) for soname if defined.
55137         ($(common-objpfx)gnu/lib-names.stmp): Generate from
55138         abi-variants.
55139         * Makefile (installed-stubs): Likewise.
55140         * include/stubs-biarch.h: Removed.
55141         * scripts/lib-names.awk: Only handle one library at a time.
55142         * scripts/soversions.awk: Remove WORDSIZE support.
55143         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
55144         entries.
55145         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
55146         Removed.
55147         (syscall-list-default-condition): Likewise.
55148         (syscall-list-default-condition): Likewise.
55149         (syscall-list-includes): Likewise.
55150         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
55151         syscall-list-* with abi-*.  Handle undefined abi-variants.
55152         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
55153         * sysdeps/unix/sysv/linux/i386/Implies: New file.
55154         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
55155         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
55156         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
55157         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
55158         Removed.
55159         (syscall-list-32-options): Likewise.
55160         (syscall-list-32-condition): Likewise.
55161         (syscall-list-64-options): Likewise.
55162         (syscall-list-64-condition): Likewise.
55163         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
55164         macro.
55165         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
55166         Renamed to ...
55167         (abi-*): This.
55168         (abi-64-ld-soname): New macro.
55169         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
55170         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
55171         Renamed to ...
55172         (abi-*): This.
55173         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
55174         * sysdeps/x86_64/x32/shlib-versions: Likewise.
55176 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
55178         * sysdeps/unix/sysv/linux/kernel-features.h
55179         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
55180         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
55181         include <kernel-features.h>.
55182         [!__NR_ftruncate64]: Remove conditional code.
55183         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
55184         [__NR_ftruncate64]: Make code unconditional.
55185         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
55186         * sysdeps/unix/sysv/linux/truncate64.c: Do not
55187         include <kernel-features.h>.
55188         [!__NR_ftruncate64]: Remove conditional code.
55189         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
55190         [__NR_ftruncate64]: Make code unconditional.
55191         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
55192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
55193         include <kernel-features.h>.
55194         [!__NR_ftruncate64]: Remove conditional code.
55195         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
55196         [__NR_ftruncate64]: Make code unconditional.
55197         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
55198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
55199         include <kernel-features.h>.
55200         [!__NR_ftruncate64]: Remove conditional code.
55201         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
55202         [__NR_ftruncate64]: Make code unconditional.
55203         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
55205         * configure.in (libc_cv_fpie): Weaken to a compile test using
55206         LIBC_TRY_CC_OPTION.
55207         * configure: Regenerated.
55209 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55211         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
55212         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
55213         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
55214         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
55215         Refreshed.
55216         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
55217         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
55218         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
55219         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
55220         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
55221         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
55222         Refreshed.
55224 2012-05-27  David S. Miller  <davem@davemloft.net>
55226         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
55227         (___Q_zero): New.
55228         (__Q_simulate_exceptions): Return void.  Change to simulate
55229         exceptions by writing into the %fsr.
55230         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
55231         (__Qp_handle_exceptions): Likewise.
55232         (numbers): Delete.
55233         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
55234         __Qp_handle_exceptions.
55235         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
55236         __Qp_handle_exceptions.
55237         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
55238         as unused and give dummy FP_RND_NEAREST initializer.
55239         (FP_INHIBIT_RESULTS): Define.
55240         (___Q_simulate_exceptions): Update declaration.
55241         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
55242         formatting.
55243         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
55244         as unused and give dummy FP_RND_NEAREST initializer.
55245         (__Qp_handle_exceptions): Update declaration.
55246         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
55247         formatting.
55249 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
55251         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
55252         the temporary FPU control word.
55253         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
55254         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
55255         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
55256         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
55257         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
55258         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
55259         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
55260         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
55261         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
55262         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
55263         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
55265 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55267         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
55268         fields.
55270 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
55272         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
55273         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
55274         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
55275         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
55276         Likewise.
55277         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
55278         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
55279         Likewise.
55281 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
55283         * po/h.po: Update from translation team.
55285 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
55287         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
55289         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
55290         handling of denormals.
55291         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
55292         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
55293         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
55294         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
55295         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
55296         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
55297         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
55298         Likewise.
55300 2012-05-26  Marek Polacek  <polacek@redhat.com>
55302         [BZ #14152]
55303         * math/libm-test.inc (fma_test): Don't always expect underflow
55304         exception.
55306 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
55308         [BZ #12416]
55309         * elf/tst-execstack.c: Include stackinfo.h.
55310         (do_test): Adjust test case to ensure that pthread_getattr_np
55311         behaviour remains the same after marking stack executable.
55313 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
55315         * sysdeps/unix/sysv/linux/kernel-features.h
55316         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
55317         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
55318         kernel-features.h.
55319         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
55320         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
55321         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
55322         kernel-features.h.
55323         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
55324         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
55326 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
55328         * configure.in: Define the default includes to being none.
55329         * configure: Regenerated.
55331 2012-05-25  Roland McGrath  <roland@hack.frob.com>
55333         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
55334         * sysdeps/x86_64/setjmp.S: Likewise.
55335         * sysdeps/i386/bsd-setjmp.S: Likewise.
55336         * sysdeps/i386/bsd-_setjmp.S: Likewise.
55337         * sysdeps/i386/setjmp.S: Likewise.
55338         * sysdeps/i386/__longjmp.S: Likewise.
55339         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
55340         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
55342         * include/stap-probe.h: New file.
55343         * configure.in: Handle --enable-systemtap.
55344         * configure: Regenerated.
55345         * config.h.in (USE_STAP_PROBE): New #undef.
55346         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
55347         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
55348         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
55350 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
55352         [BZ #13717]
55353         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
55354         to 2.4.0 where earlier.
55355         * sysdeps/unix/sysv/linux/configure: Regenerated.
55356         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
55357         <kernel-features.h>.
55358         [__ASSUME_32BITUIDS]: Make code unconditional.
55359         [!__ASSUME_32BITUIDS]: Remove conditional code.
55360         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
55361         <kernel-features.h>.
55362         [__ASSUME_32BITUIDS]: Make code unconditional.
55363         [!__ASSUME_32BITUIDS]: Remove conditional code.
55364         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
55365         [__ASSUME_32BITUIDS]: Make code unconditional.
55366         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
55367         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
55368         <kernel-features.h>.
55369         [__ASSUME_32BITUIDS]: Make code unconditional.
55370         [!__ASSUME_32BITUIDS]: Remove conditional code.
55371         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
55372         <kernel-features.h>.
55373         [__ASSUME_32BITUIDS]: Make code unconditional.
55374         [!__ASSUME_32BITUIDS]: Remove conditional code.
55375         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
55376         <kernel-features.h>.
55377         [__ASSUME_32BITUIDS]: Make code unconditional.
55378         [!__ASSUME_32BITUIDS]: Remove conditional code.
55379         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
55380         <kernel-features.h>.
55381         [__ASSUME_32BITUIDS]: Make code unconditional.
55382         [!__ASSUME_32BITUIDS]: Remove conditional code.
55383         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
55384         <kernel-features.h>.
55385         [__ASSUME_32BITUIDS]: Make code unconditional.
55386         [!__ASSUME_32BITUIDS]: Remove conditional code.
55387         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
55388         <kernel-features.h>.
55389         [__ASSUME_32BITUIDS]: Make code unconditional.
55390         [!__ASSUME_32BITUIDS]: Remove conditional code.
55391         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
55392         <kernel-features.h>.
55393         [__ASSUME_32BITUIDS]: Make code unconditional.
55394         [!__ASSUME_32BITUIDS]: Remove conditional code.
55395         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
55396         <kernel-features.h>.
55397         [__ASSUME_32BITUIDS]: Make code unconditional.
55398         [!__ASSUME_32BITUIDS]: Remove conditional code.
55399         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
55400         <kernel-features.h>.
55401         [__ASSUME_32BITUIDS]: Make code unconditional.
55402         [!__ASSUME_32BITUIDS]: Remove conditional code.
55403         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
55404         <kernel-features.h>.
55405         [__ASSUME_32BITUIDS]: Make code unconditional.
55406         [!__ASSUME_32BITUIDS]: Remove conditional code.
55407         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
55408         <kernel-features.h>.
55409         [__NR_setresgid] (__setresgid): Do not declare.
55410         [__ASSUME_32BITUIDS]: Make code unconditional.
55411         [!__ASSUME_32BITUIDS]: Remove conditional code.
55412         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
55413         <kernel-features.h>.
55414         [__NR_setresuid] (__setresuid): Do not declare.
55415         [__ASSUME_32BITUIDS]: Make code unconditional.
55416         [!__ASSUME_32BITUIDS]: Remove conditional code.
55417         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
55418         <kernel-features.h>.
55419         [__ASSUME_32BITUIDS]: Make code unconditional.
55420         [!__ASSUME_32BITUIDS]: Remove conditional code.
55421         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
55422         <kernel-features.h>.
55423         [__ASSUME_32BITUIDS]: Make code unconditional.
55424         [!__ASSUME_32BITUIDS]: Remove conditional code.
55425         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
55426         <kernel-features.h>.
55427         [__ASSUME_32BITUIDS]: Make code unconditional.
55428         [!__ASSUME_32BITUIDS]: Remove conditional code.
55429         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
55430         <kernel-features.h>.
55431         [__ASSUME_32BITUIDS]: Make code unconditional.
55432         [!__ASSUME_32BITUIDS]: Remove conditional code.
55433         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
55434         <kernel-features.h>.
55435         [__ASSUME_32BITUIDS]: Make code unconditional.
55436         [!__ASSUME_32BITUIDS]: Remove conditional code.
55437         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
55438         <kernel-features.h>.
55439         [__ASSUME_32BITUIDS]: Make code unconditional.
55440         [!__ASSUME_32BITUIDS]: Remove conditional code.
55441         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
55442         <kernel-features.h>.
55443         [__ASSUME_32BITUIDS]: Make code unconditional.
55444         [!__ASSUME_32BITUIDS]: Remove conditional code.
55445         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
55446         <kernel-features.h>.
55447         [__ASSUME_32BITUIDS]: Make code unconditional.
55448         [!__ASSUME_32BITUIDS]: Remove conditional code.
55449         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
55450         <kernel-features.h>.
55451         [__ASSUME_32BITUIDS]: Make code unconditional.
55452         [!__ASSUME_32BITUIDS]: Remove conditional code.
55453         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
55454         <kernel-features.h>.
55455         [__ASSUME_32BITUIDS]: Make code unconditional.
55456         [!__ASSUME_32BITUIDS]: Remove conditional code.
55457         * sysdeps/unix/sysv/linux/kernel-features.h
55458         (__ASSUME_SETRESUID_SYSCALL): Remove.
55459         (__ASSUME_SETRESGID_SYSCALL): Likewise.
55460         (__ASSUME_32BITUIDS): Likewise.
55461         (__ASSUME_LDT_WORKS): Likewise.
55462         (__ASSUME_O_DIRECTORY): Likewise.
55463         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
55464         architecture but not kernel version.
55465         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
55466         (__ASSUME_MMAP2_SYSCALL): Likewise.
55467         (__ASSUME_STAT64_SYSCALL): Likewise.
55468         (__ASSUME_IPC64): Likewise.
55469         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
55470         <kernel-features.h>.
55471         [__ASSUME_32BITUIDS]: Make code unconditional.
55472         [!__ASSUME_32BITUIDS]: Remove conditional code.
55473         * sysdeps/unix/sysv/linux/opendir.c: Do not include
55474         <kernel-features.h>.
55475         [__ASSUME_O_DIRECTORY]: Make code unconditional.
55476         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
55477         132096]: Remove conditional code.
55478         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
55479         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
55480         <kernel-features.h>.
55481         [__ASSUME_32BITUIDS]: Make code unconditional.
55482         [!__ASSUME_32BITUIDS]: Remove conditional code.
55483         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
55484         <kernel-features.h>.
55485         [__ASSUME_32BITUIDS]: Make code unconditional.
55486         [!__ASSUME_32BITUIDS]: Remove conditional code.
55487         * sysdeps/unix/sysv/linux/setegid.c: Do not include
55488         <kernel-features.h>.
55489         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
55490         unconditional.
55491         (__setresgid): Do not declare.
55492         [__ASSUME_32BITUIDS]: Make code unconditional.
55493         [!__ASSUME_32BITUIDS]: Remove conditional code.
55494         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
55495         <kernel-features.h>.
55496         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
55497         unconditional.
55498         (__setresuid): Do not declare.
55499         [__ASSUME_32BITUIDS]: Make code unconditional.
55500         [!__ASSUME_32BITUIDS]: Remove conditional code.
55501         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
55502         <kernel-features.h>.
55503         [__ASSUME_32BITUIDS]: Make code unconditional.
55504         [!__ASSUME_32BITUIDS]: Remove conditional code.
55505         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
55506         <kernel-features.h>.
55507         [__ASSUME_32BITUIDS]: Make code unconditional.
55508         [!__ASSUME_32BITUIDS]: Remove conditional code.
55510 2012-05-25  Richard Henderson  <rth@twiddle.net>
55512         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
55513         dl_hwcap to ifunc resolver.
55514         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
55515         elf_ifunc_invoke.
55516         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
55517         dl_hwcap to ifunc resolver.
55518         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
55520 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
55522         [BZ #14153]
55523         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
55524         for |x| <= 2**-26, not 2**-57.
55525         * math/libm-test.inc (acos_test): Do not allow spurious underflow
55526         exception.
55528 2012-05-24  Jeff Law  <law@redhat.com>
55530         * stdio-common/Makefile (tests): Add bug25.
55531         * stdio-common/bug25.c: New test.
55533 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
55535         [BZ #13576]
55536         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
55537         multiple of MALLOC_ALIGNMENT in size.
55538         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
55540 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
55542         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
55543         Require >= 256.
55544         (FILENAME_MAX): Use macro-int-constant.
55545         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
55546         (_IOFBF): Use macro-int-constant.
55547         (_IOLBF): Likewise.
55548         (_IONBF): Likewise.
55549         (SEEK_CUR): Likewise.
55550         (SEEK_END): Likewise.
55551         (SEEK_SET): Likewise.
55552         (TMP_MAX): Likewise.
55553         (EOF): Use macro-int-constant.  Require < 0.
55554         (NULL): Use macro-constant.  Require == 0.
55555         (stdin): Require type to be FILE *.
55556         (stdout): Likewise.
55557         (stderr): Likewise.
55558         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
55559         macro-int-constant.
55560         (EXIT_SUCCESS): Likewise.
55561         (NULL): Use macro-constant.  Require == 0.
55562         (RAND_MAX): Use macro-int-constant.
55563         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
55564         [C99-based standards] (strtof): Require function.
55565         [C99-based standards] (strtold): Likewise.
55566         [C99-based standards] (strtoll): Likewise.
55567         [C99-based standards] (strtoull): Likewise.
55568         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
55569         [ISO || ISO99 || ISO11] (limits.h): Likewise.
55570         [ISO || ISO99 || ISO11] (math.h): Likewise.
55571         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
55572         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
55573         [ISO || ISO99 || ISO11] (*_t): Do not allow.
55575 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
55577         [BZ #14132]
55578         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
55579         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
55580         * intl/dgettext.c (DCGETTEXT): Likewise.
55581         * intl/gettext.c (DCGETTEXT): Likewise.
55582         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
55583         * posix/regex_internal.h (gettext): Likewise.
55584         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
55585         Remove declaration.
55586         * include/argz.h (__argz_count_internal)
55587         (__argz_stringify_internal): Remove declaration.
55588         (__argz_count, __argz_stringify): Declare hidden proto.
55589         * intl/dcgettext.c: Remove use of INTDEF.
55590         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
55591         * string/argz-stringify.c: Likewise.
55592         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
55593         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
55594         Declare hidden proto.
55595         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
55596         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
55597         Declare hidden proto.
55598         * include/stdio.h (__asprintf_internal): Don't declare.
55599         (__asprintf): Don't define as macro.  Declare hidden proto.
55600         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
55601         (__fsetlocking): Declare hidden proto.
55602         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
55603         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
55604         hidden proto.
55605         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
55606         (_IO_setlinebuf): Remove use of INTUSE.
55607         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
55608         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
55609         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
55610         Remove declaration.
55611         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
55612         (_IO_do_flush): Remove use of INTUSE.
55613         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
55614         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
55615         (_IO_adjust_column, _IO_least_wmarker)
55616         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
55617         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
55618         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
55619         (_IO_default_doallocate, _IO_wdefault_doallocate)
55620         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
55621         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
55622         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
55623         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
55624         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
55625         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
55626         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
55627         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
55628         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
55629         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
55630         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
55631         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
55632         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
55633         proto.
55634         (_IO_flush_all_internal, _IO_adjust_column_internal)
55635         (_IO_default_uflow_internal, _IO_default_finish_internal)
55636         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
55637         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
55638         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
55639         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
55640         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
55641         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
55642         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
55643         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
55644         (_IO_file_close_internal, _IO_file_close_it_internal)
55645         (_IO_file_underflow_internal, _IO_file_overflow_internal)
55646         (_IO_file_init_internal, _IO_file_attach_internal)
55647         (_IO_file_fopen_internal, _IO_file_read_internal)
55648         (_IO_file_sync_internal, _IO_file_seek_internal)
55649         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
55650         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
55651         (_IO_str_underflow_internal, _IO_str_overflow_internal)
55652         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
55653         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
55654         (_IO_list_all_internal, _IO_link_in_internal)
55655         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
55656         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
55657         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
55658         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
55659         (_IO_do_write_internal, _IO_padn_internal)
55660         (_IO_getline_info_internal, _IO_getline_internal)
55661         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
55662         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
55663         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
55664         (_IO_vfscanf_internal, _IO_vfprintf_internal)
55665         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
55666         (_IO_init_internal, _IO_un_link_internal): Don't declare.
55667         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
55668         with libc_hidden_ver, remove use of INTUSE.
55669         * libio/genops.c: Likewise.
55670         * libio/freopen.c: Likewise.
55671         * libio/freopen64.c: Likewise.
55672         * libio/iofclose.c: Likewise.
55673         * libio/iofdopen.c: Likewise.
55674         * libio/iofflush.c: Likewise.
55675         * libio/iofflush_u.c: Likewise.
55676         * libio/iofgets.c: Likewise.
55677         * libio/iofgets_u.c: Likewise.
55678         * libio/iofopen.c: Likewise.
55679         * libio/iofopncook.c: Likewise.
55680         * libio/iofread.c: Likewise.
55681         * libio/iofread_u.c: Likewise.
55682         * libio/ioftell.c: Likewise.
55683         * libio/iofwrite.c: Likewise.
55684         * libio/iogetline.c: Likewise.
55685         * libio/iogets.c: Likewise.
55686         * libio/iogetwline.c: Likewise.
55687         * libio/iopadn.c: Likewise.
55688         * libio/iopopen.c: Likewise.
55689         * libio/ioseekoff.c: Likewise.
55690         * libio/ioseekpos.c: Likewise.
55691         * libio/iosetbuffer.c: Likewise.
55692         * libio/iosetvbuf.c: Likewise.
55693         * libio/ioungetc.c: Likewise.
55694         * libio/ioungetwc.c: Likewise.
55695         * libio/iovdprintf.c: Likewise.
55696         * libio/iovsprintf.c: Likewise.
55697         * libio/iovsscanf.c: Likewise.
55698         * libio/memstream.c: Likewise.
55699         * libio/obprintf.c: Likewise.
55700         * libio/oldfileops.c: Likewise.
55701         * libio/oldiofclose.c: Likewise.
55702         * libio/oldiofdopen.c: Likewise.
55703         * libio/oldiofopen.c: Likewise.
55704         * libio/oldiopopen.c: Likewise.
55705         * libio/oldstdfiles.c: Likewise.
55706         * libio/putc.c: Likewise.
55707         * libio/setbuf.c: Likewise.
55708         * libio/setlinebuf.c: Likewise.
55709         * libio/stdfiles.c: Likewise.
55710         * libio/strops.c: Likewise.
55711         * libio/vasprintf.c: Likewise.
55712         * libio/vscanf.c: Likewise.
55713         * libio/vsnprintf.c: Likewise.
55714         * libio/vswprintf.c: Likewise.
55715         * libio/wfiledoalloc.c: Likewise.
55716         * libio/wfileops.c: Likewise.
55717         * libio/wgenops.c: Likewise.
55718         * libio/wmemstream.c: Likewise.
55719         * libio/wstrops.c: Likewise.
55720         * libio/__fpurge.c: Likewise.
55721         * libio/__fsetlocking.c: Likewise.
55722         * assert/assert.c: Likewise.
55723         * debug/fgets_chk.c: Likewise.
55724         * debug/fgets_u_chk.c: Likewise.
55725         * debug/fread_chk.c: Likewise.
55726         * debug/fread_u_chk.c: Likewise.
55727         * debug/gets_chk.c: Likewise.
55728         * debug/obprintf_chk.c: Likewise.
55729         * debug/vasprintf_chk.c: Likewise.
55730         * debug/vdprintf_chk.c: Likewise.
55731         * debug/vsnprintf_chk.c: Likewise.
55732         * debug/vsprintf_chk.c: Likewise.
55733         * malloc/mtrace.c: Likewise.
55734         * misc/error.c: Likewise.
55735         * misc/syslog.c: Likewise.
55736         * stdio-common/asprintf.c: Likewise.
55737         * stdio-common/fxprintf.c: Likewise.
55738         * stdio-common/getw.c: Likewise.
55739         * stdio-common/isoc99_fscanf.c: Likewise.
55740         * stdio-common/isoc99_scanf.c: Likewise.
55741         * stdio-common/isoc99_vfscanf.c: Likewise.
55742         * stdio-common/isoc99_vscanf.c: Likewise.
55743         * stdio-common/isoc99_vsscanf.c: Likewise.
55744         * stdio-common/printf-prs.c: Likewise.
55745         * stdio-common/printf_fp.c: Likewise.
55746         * stdio-common/printf_fphex.c: Likewise.
55747         * stdio-common/printf_size.c: Likewise.
55748         * stdio-common/putw.c: Likewise.
55749         * stdio-common/scanf.c: Likewise.
55750         * stdio-common/sprintf.c: Likewise.
55751         * stdio-common/tmpfile.c: Likewise.
55752         * stdio-common/vfprintf.c: Likewise.
55753         * stdio-common/vfscanf.c: Likewise.
55754         * stdlib/strfmon_l.c: Likewise.
55755         * sunrpc/openchild.c: Likewise.
55756         * sunrpc/xdr_stdio.c: Likewise.
55757         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
55758         * sysdeps/mach/hurd/tmpfile.c: Likewise.
55760 2012-05-24  Roland McGrath  <roland@hack.frob.com>
55762         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
55764         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
55765         in the third column, to generate for the shared library an IFUNC
55766         that uses _dl_vdso_vsym.
55767         * Makerules (COMPILE.c, compile-stdin.c): New variables.
55768         * Makeconfig (object-suffixes-noshared): New variable.
55770         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
55771         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
55772         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
55773         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
55775         [BZ #14132]
55776         * include/sys/time.h (__gettimeofday): Remove macro.
55777         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
55778         * time/gettimeofday.c (__gettimeofday): Remove #undef.
55779         Remove INTDEF.
55780         (__gettimeofday): Add libc_hidden_def.
55781         (gettimeofday): Add libc_hidden_weak.
55782         * sysdeps/mach/gettimeofday.c: Likewise.
55783         * sysdeps/posix/gettimeofday.c: Likewise.
55784         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
55785         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
55786         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
55787         (__gettimeofday_internal): Remove strong_alias.
55788         (__gettimeofday): Add libc_hidden_def.
55789         (gettimeofday): Add libc_hidden_weak.
55790         * sysdeps/unix/syscalls.list (gettimeofday):
55791         Remove __gettimeofday_internal alias.
55793 2012-05-24  Daniel Jacobowitz  <drow@false.org>
55794             H.J. Lu  <hongjiu.lu@intel.com>
55796         [BZ #12495]
55797         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
55798         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
55799         (largebin_index_32_big): New.
55800         (largebin_index): Use it for 16-byte alignment.
55801         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
55802         correction with front_misalign.
55804 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
55806         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
55807         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
55808         Likewise.
55809         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
55810         Likewise.
55811         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
55812         Likewise.
55813         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
55814         Likewise.
55815         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
55816         Likewise.
55817         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
55818         Likewise.
55819         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
55820         Likewise.
55821         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
55822         Likewise.
55823         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
55824         Likewise.
55825         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
55826         Likewise.
55827         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
55828         Likewise.
55829         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
55830         Likewise.
55832         * scripts/data/c++-types-x32-linux-gnu.data: New file.
55833         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
55835 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
55837         [BZ #10846]
55838         [BZ #14036]
55839         * math/libm-test.inc (exp_test): Add test from bug 14036.
55840         (pow_test): Add test from bug 10846.
55842         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
55843         and other flags.
55844         (special_function): Do not include flags in test name.
55845         (parse_args): Likewise.
55846         * sysdeps/i386/fpu/libm-test-ulps: Update.
55847         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
55848         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
55849         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
55850         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55852         * math/gen-libm-test.pl (%beautify): Add entries for underflow
55853         exceptions.
55854         * math/libm-test.inc ("Philosophy"): Update comment about
55855         exception testing.
55856         (UNDERFLOW_EXCEPTION): New macro.
55857         (UNDERFLOW_EXCEPTION_OK): Likewise.
55858         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
55859         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
55860         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
55861         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
55862         (INVALID_EXCEPTION_OK): Update value.
55863         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
55864         (OVERFLOW_EXCEPTION_OK): Likewise.
55865         (IGNORE_ZERO_INF_SIGN): Likewise.
55866         (test_exceptions): Handle underflow exceptions.
55867         (acos_test): Update for underflow exception expectations.
55868         (cexp_test): Likewise.
55869         (clog_test): Likewise.
55870         (clog10_test): Likewise.
55871         (csqrt_test): Likewise.
55872         (ctan_test): Likewise.
55873         (ctanh_test): Likewise.
55874         (exp_test): Likewise.
55875         (exp10_test): Likewise.
55876         (exp2_test): Likewise.
55877         (expm1_test): Likewise.
55878         (fma_test): Likewise.
55879         (j0_test): Likewise.
55880         (jn_test): Likewise.
55881         (nexttoward_test): Likewise.
55882         (pow_test): Likewise.
55883         (scalbn_test): Likewise.
55884         (scalbln_test): Likewise.
55885         (tan_test): Likewise.
55886         (y1_test): Likewise.
55887         * sysdeps/i386/fpu/libm-test-ulps: Update.
55888         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55890 2012-05-23  David S. Miller  <davem@davemloft.net>
55892         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
55893         (__libc_sigaction): Remove unused local variables.
55895 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
55897         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
55899 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
55901         mktime: avoid signed integer overflow
55902         * time/mktime.c (__mktime_internal): Do not mishandle the case
55903         where diff == INT_MIN.
55905         mktime: simplify computation of average
55906         * time/mktime.c (ranged_convert): Use new time_t_avg function
55907         instead of rolling our own (probably-slower) code.
55909         mktime: do not assume signed right shift propagates sign bit
55910         * time/mktime.c (isdst_differ): New static function.
55911         (__mktime_internal): No need to normalize tm_isdst now.
55912         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
55913         tm_isdst values.
55915         mktime: merge another wrapv change from gnulib
55916         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
55917         from some compilers.
55919         mktime: remove incorrect attempt at unusual arithmetics
55920         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
55921         The code didn't really work on such machines anyway.
55922         (TYPE_MINIMUM): Assume two's complement.
55923         (twos_complement_arithmetic): Verify that long_int and time_t
55924         are two's complement (or unsigned, in the latter case).
55926         mktime: check signed shifts on long_int and time_t, too
55927         * time/mktime.c (SHR): Check that shifts work as desired
55928         on the types long_int and time_t too, as SHR is used on
55929         such types.
55931         mktime: do not assume 'long' is wide enough
55932         * time/mktime.c (verify): Move decl up.
55933         (long_int): New type.
55934         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
55935         to remove assumption in the code that 'long' is wide enough to
55936         store year values.  This assumption is not true on x32 and on
55937         some non-glibc platforms.
55939         mktime: merge wrapv change from gnulib
55940         * time/mktime.c (WRAPV): New macro.
55941         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
55942         (guess_time_tm, __mktime_internal): Do not assume that signed
55943         integer overflow wraps around; modern compilers generate code
55944         where this assumption is no longer valid.
55946 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
55948         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
55949         Replace "jmp L(pseudo_end)" with "ret".
55950         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
55951         Likewise.
55953 2012-05-23  Andreas Jaeger  <aj@suse.de>
55955         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
55956         * sysdeps/unix/sysv/linux/poll.c: Remove file.
55958 2012-05-23  Andreas Jaeger  <aj@suse.de>
55959             Maximilian Attems  <max@stro.at>
55961         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
55962         New macros.
55964 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
55966         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
55967         code so that pseudo_end is just ret and the stack pointer is
55968         correct also for static library in error case.
55970 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
55972         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
55973         move to syscalls.list.
55974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
55975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
55976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
55977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
55979         * manual/install.texi (Running make install): Do not mention Linux
55980         kernel version for which pt_chown is not needed.
55981         (Linux): Do not mention problems with nscd with 2.0 kernels.
55982         * INSTALL: Regenerated.
55984 2012-05-23  Andreas Jaeger  <aj@suse.de>
55986         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
55987         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
55988         macro.
55989         * sysdeps/unix/sysv/linux/s390/bits/mman.h
55990         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
55991         * sysdeps/unix/sysv/linux/sh/bits/mman.h
55992         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
55993         * sysdeps/unix/sysv/linux/i386/bits/mman.h
55994         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
55995         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
55996         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
55997         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
55998         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
55999         * sysdeps/unix/sysv/linux/bits/in.h
56000         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
56002 2012-05-22  Roland McGrath  <roland@hack.frob.com>
56004         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
56005         (PREPARE_VERSION): Just use assert instead, it will be elided
56006         under [NDEBUG] anyway.
56008 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
56010         * sysdeps/unix/sysv/linux/Makefile: Include
56011         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
56012         (sysdep_routines): Remove sysctl.
56013         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
56014         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
56015         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
56016         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
56017         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
56019 2012-05-22  Andreas Jaeger  <aj@suse.de>
56021         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
56022         that pseudo_end is just ret and the stack pointer is correct also
56023         for static library in error case.
56025 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
56027         [BZ #14122]
56028         * nss/nsswitch.c (defconfig_entries): New variable.
56029         (__nss_database_lookup): Don't leak defconfig entries.
56030         (nss_parse_service_list): Don't leak on error paths.
56031         (free_database_entries): New function.
56032         (free_defconfig): New function.
56033         (free_mem): Move common code to free_database_entries.
56035 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
56037         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
56038         Add arch_prctl.
56039         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
56041         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
56042         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
56043         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
56044         New macro.
56045         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
56046         (INTERNAL_SYSCALL_TYPES): Likewise.
56047         (LOAD_ARGS_TYPES_[1-6]): Likewise.
56048         (LOAD_REGS_TYPES_[1-6]): Likewise.
56049         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
56050         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
56052 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56054         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
56055         copysignl for GLIBC_2_0.
56056         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
56057         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
56058         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
56059         logbl for GLIBC_2_0.
56060         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
56061         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
56063 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
56065         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
56066         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
56068         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
56069         Use "neg %eax".
56071         * time/mktime.c: Update copyright years.
56073 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
56075         mktime: merge comment-quoting-style change from gnulib
56076         * time/mktime.c: Quote 'like this' in comments.
56077         The GNU coding standards suggest that we no longer quote `like this',
56078         as "`" and "'" are typically rendered asymmetrically nowadays.
56079         The typical gnulib style is to quote 'like this' when quoting
56080         code, and "like this" when quoting English.
56082         * time/mktime.c (compile-command): Add "-I.".
56084         mktime: merge mktime-internal.h change from gnulib
56085         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
56087         mktime: merge time_r change from gnulib
56088         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
56090         mktime: merge DEBUG change from gnulib
56091         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
56092         case system <time.h> has a #define.
56094         mktime: merge <sys/types.h> change from gnulib
56095         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
56096         since <time.t> is now guaranteed to define time_t.
56098         mktime: merge HAVE_CONFIG_H change from gnulib
56099         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
56101 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
56103         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
56104         Use "neg %eax".
56106         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
56107         __rlim_t cast.
56108         (struct rusage): Use anonymous union to pad each field to
56109         __syscall_slong_t.
56111 2012-05-21  David S. Miller  <davem@davemloft.net>
56113         * Makefules (o-iterator): Remove .s cases.
56114         (compile-command.s): Delete.
56115         (COMPILE.s): Delete.
56116         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
56118 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
56120         * configure.in (libc_cv_predef_stack_protector): Only consider
56121         "foobar" and "__stack_chk_fail" lines in libc_undefs.
56122         * configure: Regenerated.
56124 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
56126         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
56127         New macro.  Use R*LP on int and pointer.
56128         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
56129         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
56130         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
56131         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
56133         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
56134         [__WORDSIZE_TIME64_COMPAT32] instead of
56135         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
56136         (struct utmp): Likewise.
56137         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
56138         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
56139         Renamed to ...
56140         (__WORDSIZE_TIME64_COMPAT32): This.
56141         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
56142         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
56143         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
56144         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
56145         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
56146         (__WORDSIZE_TIME64_COMPAT32): New macro.
56148 2012-05-21  Andreas Jaeger  <aj@suse.de>
56150         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
56151         only if [SHARED]. Add prototype for __wcschr_ia32.
56153 2012-05-21  Roland McGrath  <roland@hack.frob.com>
56155         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
56156         of %rbp unmolested in the jmp_buf while mangling the low bits.
56157         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
56158         unmolested high bits of %rbp while demangling the low bits.
56159         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
56161 2012-05-21  Andreas Jaeger  <aj@suse.de>
56163         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
56164         * sunrpc/svc_simple.c: Use it for registerrpc.
56165         * sunrpc/xcrypt.c: Use it for passwd2des.
56167         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
56169 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
56171         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
56172         Don't define if [__SYSCALL_WORDSIZE != 32].
56173         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
56174         New macro.
56176 2012-05-21  Bruno Haible  <bruno@clisp.org>
56177             Andreas Jaeger  <aj@suse.de>
56179         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
56180         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
56181         inptr and inend for must_buffer_ch.
56182         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
56183         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
56184         * stdio-common/Makefile (tests): Remove bug15.
56185         (bug15-ENV): Remove macro.
56186         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
56187         anymore.
56189 2012-05-19  Andreas Jaeger  <aj@suse.de>
56190             Roland McGrath  <roland@hack.frob.com>
56192         * manual/contrib.texi: Completely rewritten. It contains now an
56193         alphabetical list of contributors and their contributions.
56195 2012-05-21  Richard Henderson  <rth@twiddle.net>
56197         * misc/getauxval.c (__getauxval): Use unsigned long int.
56198         * misc/sys/auxv.h: Include <sys/cdefs.h>.
56199         (getauxval): Use unsigned long int.
56201 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
56203         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
56205 2012-05-21  Roland McGrath  <roland@hack.frob.com>
56207         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
56208         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
56209         __alignof__ (long double).
56211 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56213         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56215 2012-05-20  Richard Henderson  <rth@twiddle.net>
56217         * misc/getauxval.c: New file.
56218         * misc/sys/auxv.h: New file.
56219         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
56220         (routines): Add getauxval.
56221         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
56222         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
56223         * elf/dl-sysdep.c (_dl_auxv): Remove.
56224         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
56225         * elf/dl-support.c (_dl_auxv): New variable.
56226         (_dl_aux_init): Initialize it.
56227         * manual/startup.texi (Auxiliary Vector): New node.
56228         * sysdeps/generic/bits/hwcap.h: New file.
56229         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
56230         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
56231         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
56232         * sysdeps/sparc/sysdep.h: ... here.  Include it.
56233         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
56234         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
56235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
56236         Update.
56237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
56238         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
56239         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
56240         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
56241         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
56242         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
56243         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
56244         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
56246 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56248         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56250 2012-05-19  David S. Miller  <davem@davemloft.net>
56252         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56254 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
56256         [BZ #14123]
56257         * math/s_ccosh.c: Include <float.h>
56258         (__ccosh): Avoid internal overflow calculating sinh and cosh
56259         values before multiplying by sin and cos values.
56260         * math/s_ccoshf.c: Likewise.
56261         * math/s_ccoshl.c: Likewise.
56262         * math/s_csin.c: Likewise.
56263         * math/s_csinf.c: Likewise.
56264         * math/s_csinl.c: Likewise.
56265         * math/s_csinh.c: Likewise.
56266         * math/s_csinhf.c: Likewise.
56267         * math/s_csinhl.c: Likewise.
56268         * math/libm-test.inc (ccos_test): Add more tests.
56269         (ccosh_test): Likewise.
56270         (csin_test): Likewise.
56271         (csinh_test): Likewise.
56272         * sysdeps/i386/fpu/libm-test-ulps: Update.
56273         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56275 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
56277         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
56278         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
56280         * sysdeps/x86_64/x32/_itoa.h: Add comment.
56282 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
56284         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
56285         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
56286         * sysdeps/powerpc/soft-fp/Versions: Likewise.
56287         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
56288         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
56289         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
56290         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
56291         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
56292         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
56293         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
56294         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
56295         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
56296         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
56297         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
56298         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
56299         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
56300         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
56301         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
56302         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
56303         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
56304         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
56305         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
56306         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
56307         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
56308         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
56309         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
56310         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
56311         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
56312         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
56313         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
56314         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
56316 2012-05-18  Andreas Jaeger  <aj@suse.de>
56318         * csu/.gitignore: Delete.
56320 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
56322         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
56323         (timex): Use __syscall_slong_t.
56325 2012-05-18  Andreas Jaeger  <aj@suse.de>
56326             Carlos O'Donell  <carlos_odonell@mentor.com>
56328         * manual/install.texi (Configuring and compiling): Update
56329         description about files modified in the source directory.
56330         * INSTALL: Regenerated.
56332 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
56334         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
56335         value.  Use "or" to set return value to -1.
56336         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
56337         negate return value.
56339 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
56341         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
56342         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
56343         failure if the compiler has Graphite support disabled.
56344         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
56345         Likewise.
56346         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
56347         (CFLAGS-memmove.c): Likewise.
56348         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
56349         Likewise.
56351 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
56353         * sysdeps/x86_64/x32/_itoa.h: New file.
56355         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
56356         getdents system call only if kernel and user dirents have the
56357         same d_ino and d_off.
56359         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
56360         LLONG_MAX != LONG_MAX.
56361         (_itoa_word): Use _ITOA_WORD_TYPE on value.
56362         (_fitoa_word): Likewise.
56364         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
56365         years.
56366         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
56367         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
56368         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
56370         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
56371         include <bits/wordsize.h>.  Check __x86_64__ instead of
56372         __WORDSIZE.
56373         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
56374         if __x86_64__ is defined.  Use anonymous union on fpstate.
56376         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
56377         anonymous union.
56379 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
56381         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
56382         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
56383         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
56384         Refer to _rtld_local_ro instead of _rtld_global_ro.
56385         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
56386         Likewise.
56387         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
56388         Likewise.
56389         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
56390         Likewise.
56391         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
56392         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
56393         of _rtld_global, and rtld_progname instead of _dl_argv[0].
56395         [BZ #10882]
56396         * sysdeps/powerpc/powerpc32/dl-machine.c
56397         (__elf_machine_runtime_setup) [PROF]: Don't reference
56398         _dl_prof_resolve.
56400 2012-05-18  Andreas Jaeger  <aj@suse.de>
56402         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
56403         function only available for GCCs before 3.4 since GCC 3.4
56404         introduced a builtin.
56405         (lrint): Likewise.
56406         (llrintf): Likewise.
56407         (llrint): Likewise.
56408         (fmaxf): Likewise.
56409         (fmax): Likewise.
56410         (fminf): Likewise.
56411         (fmin): Likewise.
56412         (rint): Likewise.
56413         (rintf): Likewise.
56414         (nearbyint): Likewise.
56415         (nearbyintf): Likewise.
56416         (ceil): Likewise.
56417         (ceilf): Likewise.
56418         (floor): Likewise.
56419         (floorf): Likewise.
56421 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
56423         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
56424         on both fields and cast pointer to __syscall_ulong_t.
56426         * bits/types.h (__fsword_t): New type.
56427         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
56428         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
56429         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
56430         (__FSWORD_T_TYPE): Likewise.
56431         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
56432         (__FSWORD_T_TYPE): Likewise.
56433         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
56434         (__FSWORD_T_TYPE): Likewise.
56435         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
56436         (__FSWORD_T_TYPE): Likewise.
56437         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
56438         __SWORD_TYPE with __fsword_t.
56439         (statfs64): Likewise.
56441 2012-05-17  David S. Miller  <davem@davemloft.net>
56443         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
56445 2012-05-17  Andreas Jaeger  <aj@suse.de>
56447         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
56448         warning.
56450 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
56452         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
56454 2012-05-17  Andreas Jaeger  <aj@suse.de>
56456         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
56457         when it is used.
56459 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
56461         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
56463 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
56465         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
56466         * sysdeps/x86_64/tst-mallocalign1.c: New file.
56468 2012-05-17  Andreas Jaeger  <aj@suse.de>
56469             Carlos O'Donell  <carlos_odonell@mentor.com>
56471         [BZ #14059]
56472         * sysdeps/x86_64/multiarch/init-arch.h
56473         (bit_YMM_Usable): Rename to...
56474         (bit_AVX_Usable): ... this.
56475         (bit_FMA4_Usable): New macro.
56476         (bit_XMM_state): New macro.
56477         (bit_YMM_state): New macro.
56478         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
56479         [__ASSEMBLER__] (index_AVX_Usable): ... this.
56480         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
56481         (CPUID_OSXSAVE): New macro.
56482         (CPUID_AVX): New macro.
56483         (CPUID_FMA4): New macro.
56484         (index_YMM_Usable): Rename to...
56485         (index_AVX_Usable): ... this.
56486         (HAS_AVX): Use HAS_ARCH_FEATURE.
56487         (HAS_FMA4): Likewise.
56488         (HAS_YMM_USABLE): Remove.
56489         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56490         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
56491         are present.
56492         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
56493         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
56494         * sysdeps/x86_64/multiarch/Makefile: Likewise.
56495         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
56496         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
56498 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
56500         * math/libm-test.c: Support platforms without multiple rounding modes.
56501         * math/bug-nextafter.c: Support platforms without FP exceptions.
56502         * math/bug-nexttoward.c: Likewise.
56503         * math/test-fenv.c: Likewise.
56504         * math/test-misc.c: Likewise.
56505         * stdlib/bug-getcontext.c: Likewise.
56507 2012-05-17  Andreas Jaeger  <aj@suse.de>
56509         * manual/examples/search.c (critter_cmp): Change signature to
56510         avoid warnings.
56511         * manual/string.texi (Collation Functions): Likewise.
56513 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
56515         * bits/types.h: Fold copyright years.
56516         * bits/typesizes.h: Likewise.
56517         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
56518         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
56519         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
56520         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
56521         * time/time.h: Likewise.
56523 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
56525         [BZ #208]
56526         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
56527         in instead of returning them.  Return void.
56528         (__libc_mallinfo): Accumulate over all arenas.
56529         (__malloc_stats): Adjust for change in int_mallinfo interface.
56531 2012-05-16  Roland McGrath  <roland@hack.frob.com>
56533         [BZ #10375]
56534         * configure.in (NM): Add AC_CHECK_TOOL for it.
56535         (libc_extra_cflags): New substituted variable.
56536         Check for -fstack-protector being used implicitly.
56537         * configure: Regenerated.
56538         * config.make.in (config-extra-cflags): New variable,
56539         gets @libc_extra_cflags@.
56540         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
56542         [BZ #10375]
56543         * configure.in: Check for _FORTIFY_SOURCE being predefined.
56544         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
56545         * configure: Regenerated.
56546         * config.make.in (CPPUNDEFS): New substituted variable.
56547         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
56548         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
56549         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
56551 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
56553         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
56554         (mq_attr): Use __syscall_slong_t.
56556 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
56558         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
56559         Check __x86_64__ instead of __WORDSIZE.
56560         (_STAT_VER_LINUX): Likewise.
56561         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
56562         __syscall_ulong_t and __syscall_slong_t.
56563         (stat64): Likewise.
56565 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
56567         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
56569 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
56571         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
56573 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
56575         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
56576         __syscall_ulong_t.
56578         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
56579         include <bits/wordsize.h>.  Check __x86_64__ instead of
56580         __WORDSIZE.
56581         (greg_t): Use "__extension__ long long int" if __x86_64__ is
56582         defined.
56583         (mcontext_t): Replace "unsigned long" with "unsigned long long".
56585         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
56586         include <bits/wordsize.h>.  Check __x86_64__ instead of
56587         __WORDSIZE.
56588         (user_regs_struct): Use "__extension__ unsigned long long"
56589         instead of "unsigned long" if __x86_64__ is defined.
56590         (user): Likewise.  Pad after pointer field if __ILP32__ is
56591         defined.
56593 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
56595         * configure.in (makeinfo): Require version 4.5 or later.  Allow
56596         versions 5 to 9.
56597         * configure: Regenerated.
56598         * manual/install.texi (texinfo): Increase version requirement to
56599         4.5 or later.
56600         * INSTALL: Regenerated.
56602         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
56604 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
56606         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
56608         * sysdeps/x86_64/x32/ffs.c: New file.
56610         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
56611         __syscall_ulong_t.
56612         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
56613         defined.  Use __syscall_ulong_t.
56614         (shminfo): Use __syscall_ulong_t.
56615         (shm_info): Likewise.
56617         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
56618         __syscall_ulong_t.
56620         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
56621         <bits/wordsize.h>.
56622         (msgqnum_t): Use __syscall_ulong_t.
56623         (msglen_t): Likewise.
56624         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
56625         __syscall_ulong_t.
56627         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
56628         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
56630         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
56632         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
56633         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
56635         * sysvipc/sys/msg.h (msgbuf): Replace long int with
56636         __syscall_slong_t.
56638         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
56639         include <bits/wordsize.h>.  Check __x86_64__ instead of
56640         __WORDSIZE.
56642         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
56643         "unsigned long long int" if __x86_64__ is defined.
56644         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
56646         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
56647         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
56648         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
56650         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
56651         <stdint.h>.
56652         (GET_PC): Cast to uintptr_t first.
56653         (GET_FRAME): Likewise.
56654         (GET_STACK): Likewise.
56656         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
56657         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
56658         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
56659         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
56660         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
56661         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
56662         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
56663         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
56664         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
56665         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
56666         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
56667         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
56668         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
56669         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
56670         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
56671         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
56672         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
56673         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
56674         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
56675         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
56676         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
56677         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
56678         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
56679         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
56680         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
56681         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
56682         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
56683         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
56684         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
56686 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
56688         * Makerules (+depfiles): Also collect depfiles from .oS in
56689         $(extra-objs).
56690         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
56691         .oS, $(libnldbl-routines)).
56693         * Makerules (native-compile-mkdep-flags): Define.
56694         * sunrpc/Makefile (extra-objs): Add $(addprefix
56695         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
56696         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
56697         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
56698         calling $(make-target-directory).
56700 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56702         * bits/types.h (__snseconds_t): Removed.
56703         * time/time.h (struct timespec): Replace __snseconds_t with
56704         __syscall_slong_t.
56705         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
56706         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
56707         Likewise.
56708         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
56709         (__SNSECONDS_T_TYPE): Likewise.
56710         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
56711         (__SNSECONDS_T_TYPE): Likewise.
56712         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
56713         (__SNSECONDS_T_TYPE): Likewise.
56715 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56717         * sysdeps/mach/hurd/bits/typesizes.h
56718         (__SYSCALL_SLONG_TYPE): New macro.
56719         (__SYSCALL_ULONG_TYPE): Likewise.
56721 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56723         * bits/types.h (__syscall_slong_t): New type.
56724         (__syscall_ulong_t): Likewise.
56726         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
56727         (__SYSCALL_ULONG_TYPE): Likewise.
56728         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
56729         (__SYSCALL_SLONG_TYPE): Likewise.
56730         (__SYSCALL_ULONG_TYPE): Likewise.
56731         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
56732         (__SYSCALL_SLONG_TYPE): Likewise.
56733         (__SYSCALL_ULONG_TYPE): Likewise.
56734         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
56735         (__SYSCALL_SLONG_TYPE): Likewise.
56736         (__SYSCALL_ULONG_TYPE): Likewise.
56738 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56740         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
56741         Add sigaltstack-offsets.sym.
56742         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
56743         <sigaltstack-offsets.h>.
56744         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
56745         longjmp_msg pointer.
56746         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
56747         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
56748         signal stack.
56749         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
56751 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
56753         * elf/stackguard-macros.h: Remove file.
56754         * sysdeps/generic/stackguard-macros.h: New file.
56755         * sysdeps/i386/stackguard-macros.h: Likewise.
56756         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
56757         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
56758         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
56759         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
56760         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
56761         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
56762         * sysdeps/x86_64/stackguard-macros.h: Likewise.
56763         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
56764         <elf/stackguard-macros.h>.
56766         [BZ #14109]
56767         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
56768         __aligned__ in attribute.
56769         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
56770         (gregset_t): Likewise.
56772 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56774         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
56775         * sysdeps/x86_64/64/Implies-after: Here.  New file.
56776         * sysdeps/x86_64/x32/Implies-after: New file.
56778 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56780         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
56781         and access return value for _dl_profile_fixup.  Use R10_LP to
56782         load frame size.
56784 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56786         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
56788 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56790         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
56791         * sysdeps/x86_64/x32/sysdep.h: New file.
56793 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56795         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
56796         * sysdeps/x86_64/setjmp.S: Likewise.
56798 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56800         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
56801         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
56802         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
56803         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
56804         remove unused global constant.
56806 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
56808         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
56809         include of <not-cancel.h>.
56811 2012-05-15  Roland McGrath  <roland@hack.frob.com>
56813         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
56815 2012-05-15  Jeff Law  <law@redhat.com>
56816             Andreas Jaeger  <aj@suse.de>
56818         [BZ #13594]
56819         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
56820         out from...
56821         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
56822         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
56823         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
56824         code changing __hst_map_handle.map.
56826 2012-05-15  Roland McGrath  <roland@hack.frob.com>
56828         * configure.in (sysnames): Look for Implies-before and Implies-after
56829         files.
56830         * configure: Regenerated.
56832 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56834         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
56835         8-byte data alignment with LP_SIZE alignment.
56837 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56839         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
56840         into R10_LP.
56842 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56844         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
56846 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56848         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
56849         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
56850         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
56851         Likewise.
56852         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
56854 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56856         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
56857         (stackinfo_sub_sp): Likewise.
56859 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56861         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
56862         RAX_LP.
56864 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56866         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
56867         into R*_LP.
56869 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56871         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
56872         sizes into R*_LP.
56874 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56876         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
56878 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56880         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
56881         into R11_LP and load __x86_64_shared_cache_size_half into
56882         R8_LP.
56884 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56886         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
56887         R8_LP.
56889 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56891         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
56892         logb for POWER7.
56893         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
56894         logbf for POWER7.
56895         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
56896         logbl for POWER7.
56897         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
56898         powerpc32/power7/fpu/s_logb.c via #include.
56899         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
56900         powerpc32/power7/fpu/s_logbf.c via #include.
56901         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
56902         powerpc32/power7/fpu/s_logbl.c via #include.
56904 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
56906         * README.libm: Remove file.
56908 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
56910         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
56911         count for x32.  Use R*_LP and omit operand-size suffix.
56913 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
56915         * shlib-versions: Move x86_64-.*-linux.* entries to ...
56916         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
56917         * sysdeps/x86_64/x32/shlib-versions: New file.
56919 2012-05-14  Roland McGrath  <roland@hack.frob.com>
56921         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
56922         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
56923         Use _dl_fatal_printf instead.
56925 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
56927         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
56928         set if not set by the user.  Do not allow for being unset.
56929         * sysdeps/unix/sysv/linux/configure: Regenerated.
56931 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
56933         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
56934         the `q' suffix from lea and replace .quad with ASM_ADDR.
56936 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
56938         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
56939         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
56940         instead of $17.
56941         (PTR_DEMANGLE): Likewise.
56943 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
56945         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
56946         (LP_OP): Likewise.
56947         (ASM_ADDR): Likewise.
56948         (RAX_LP): Likewise.
56949         (RBP_LP): Likewise.
56950         (RBX_LP): Likewise.
56951         (RCX_LP): Likewise.
56952         (RDI_LP): Likewise.
56953         (RSI_LP): Likewise.
56954         (RSP_LP): Likewise.
56955         (R8_LP): Likewise.
56956         (R9_LP): Likewise.
56957         (R10_LP): Likewise.
56958         (R10_LP): Likewise.
56959         (R11_LP): Likewise.
56960         (R12_LP): Likewise.
56961         (R13_LP): Likewise.
56962         (R14_LP): Likewise.
56963         (R15_LP): Likewise.
56965 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
56967         * sysdeps/x86_64/x32/dl-machine.h: New file.
56969 2012-05-14  Andreas Jaeger  <aj@suse.de>
56971         * manual/Makefile (subdir): Remove export of subdir.
56972         (all): Remove target.
56973         (.PHONY): Remove all from list.
56974         (mkinstalldirs): Remove.
56975         (.PHONY): Remove installdirs from list.
56976         ($(inst_infodir)/libc.info): Use make-target-directory.
56977         (installdirs): Remove.
56978         (subdir_%): Remove.
56979         (glibc-targets): Remove.
56980         (lib): Remove.
56981         (stubs): Remove.
56982         ($(objpfx)stubs ../po/manual.pot): Remove.
56983         ($(objpfx)stamp%): Remove.
56984         (make-target-directory): Remove.
56985         (subdir_install): Remove.
56986         (routines): Remove.
56987         (aux): Remove.
56988         (sources): Remove.
56989         (objects): Remove.
56990         (headers): Remove.
56992         [BZ #13750]
56993         * manual/.gitignore: Remove, it's not needed anymore.
56994         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
56995         all files in it.
56996         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
56997         directory.
56998         (texis): Renamed to $(objpfx)texis.
56999         (texis-path): New, contains path to generated files.
57000         (chapters.%): Use texis-path for complete path, add extra argument
57001         libc-texinfo.sh.
57002         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
57003         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
57004         (summary,texi, stamp-summary): Use complete path of
57005         files. Generate files in build dir.
57006         (dir-add.texi): Build in build dir.
57007         (libm-err.texi,stamp-libm-err): Likewise.
57008         (version.texi, stamp-version): Likewise.
57009         (.%c.texi): Likewise.
57010         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
57011         (mostlyclean): Remove target.
57012         (realclean): Remove target.
57013         (generated): Add new variable with contents from mostlyclean and
57014         realclean, remove entries duplicated in common-mostlyclean, add
57015         stamp-libm-err and stamp-version.
57016         (generated-dirs): Add libc directory.
57017         ($(inst_infodir)/libc.info): Install files from build dir.
57019         * manual/install.texi (Configuring and compiling): Adjust since
57020         the info files are not part of the tar ball anymore.
57022 2012-05-14  Andreas Jaeger  <aj@suse.de>
57024         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
57025         variable.
57027 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
57029         [BZ #13717]
57030         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
57031         to 2.2.0 where earlier.
57032         * sysdeps/unix/sysv/linux/configure: Regenerated.
57033         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
57034         Remove conditional code.
57035         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
57036         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
57037         Remove conditional code.
57038         [!__NR_lchown]: Likewise.
57039         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
57040         [__NR_lchown]: Likewise.
57041         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
57042         comment referencing __ASSUME_LCHOWN_SYSCALL.
57043         * sysdeps/unix/sysv/linux/i386/sigaction.c
57044         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
57045         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
57046         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
57047         Remove conditional code.
57048         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
57049         (__protocol_available): Remove #if 0 code.
57050         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
57051         conditional code.
57052         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
57053         * sysdeps/unix/sysv/linux/kernel-features.h
57054         (__ASSUME_GETCWD_SYSCALL): Don't define.
57055         (__ASSUME_REALTIME_SIGNALS): Likewise.
57056         (__ASSUME_PREAD_SYSCALL): Likewise.
57057         (__ASSUME_PWRITE_SYSCALL): Likewise.
57058         (__ASSUME_POLL_SYSCALL): Likewise.
57059         (__ASSUME_LCHOWN_SYSCALL): Likewise.
57060         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
57061         non-SPARC.
57062         (__ASSUME_SIOCGIFNAME): Don't define.
57063         (__ASSUME_MSG_NOSIGNAL): Likewise.
57064         (__ASSUME_SENDFILE): Define unconditionally.
57065         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
57066         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
57067         conditional code.
57068         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
57069         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
57070         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
57071         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
57072         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
57073         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
57074         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
57075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
57076         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
57077         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
57078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
57079         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
57080         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
57081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
57082         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
57083         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
57084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
57085         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
57086         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
57087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
57088         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
57089         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
57090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
57091         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
57092         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
57093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
57094         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
57095         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
57096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
57097         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
57098         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
57099         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
57100         Remove conditional code.
57101         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
57102         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
57103         Remove conditional code.
57104         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
57105         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
57106         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
57107         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
57108         Remove conditional code.
57109         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
57110         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
57111         Remove conditional code.
57112         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
57113         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
57114         Remove conditional code.
57115         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
57116         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
57117         Remove conditional code.
57118         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
57119         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
57120         Remove conditional code.
57121         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
57122         * sysdeps/unix/sysv/linux/sh/pwrite64.c
57123         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
57124         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
57125         * sysdeps/unix/sysv/linux/sigaction.c
57126         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
57127         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
57128         * sysdeps/unix/sysv/linux/sigpending.c
57129         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
57130         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
57131         * sysdeps/unix/sysv/linux/sigprocmask.c
57132         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
57133         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
57134         * sysdeps/unix/sysv/linux/sigsuspend.c
57135         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
57136         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
57137         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
57138         (__libc_missing_rt_sigs): Remove.
57139         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
57140         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
57141         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
57142         Remove conditional code.
57143         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
57144         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
57145         return 1.
57146         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
57147         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
57148         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
57149         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
57151 2012-05-14  Andreas Jaeger  <aj@suse.de>
57153         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
57154         it's not used in glibc.
57155         (__coshm1): Likewise.
57156         (__acosh1p): Likewise.
57157         (__sgn): Likewise.
57159         * manual/string.texi (Copying and Concatenation): Add missing
57160         variable in concat example.
57161         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
57163 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
57165         [BZ #14103]
57166         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
57167         __builtin_clzl with __builtin_clzll.
57169 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
57171         [BZ #14104]
57172         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
57173         libc_freeres_ptr.
57175 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57177         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
57178         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
57179         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
57180         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
57182 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
57184         * NEWS: Update ia64 info.
57186 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
57188         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
57189         used as bcopy.
57191 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
57193         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
57194         * sysdeps/unix/syscalls.list (dup3): Likewise.
57195         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
57196         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
57198 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
57200         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
57201         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
57203 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
57205         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
57206         thread pointer.
57207         (TLS_IE): Use mov/add instead of movq/addq to load thread
57208         pointer.
57209         (TLS_GD_PREFIX): New.
57210         (TLS_GD): Use it.
57212 2012-05-11  David S. Miller  <davem@davemloft.net>
57214         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
57215         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
57216         (_FPU_SETCW): Likewise.
57218 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
57220         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
57221         is 32-byte aligned.
57223 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
57225         [BZ #11837]
57226         * iconvdata/gb18030.c: Update tables.
57227         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
57228         characters specially.
57229         (BODY for TO_LOOP): Add encoding of missing ranges.
57231 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
57233         [BZ #13673]
57234         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
57235         * sysdeps/mach/hurd/dup3.c: Likewise.
57236         * sysdeps/mach/hurd/readlinkat.c: Likewise.
57237         * sysdeps/powerpc/memmove.c:: Likewise.
57239 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
57241         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
57242         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
57244 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
57246         * elf/elf.h (R_X86_64_RELATIVE64): New.
57247         (R_X86_64_NUM): Updated.
57248         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
57249         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
57250         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
57251         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
57252         tst-quad1pie tst-quad2pie
57253         (modules-names): Add tst-quadmod1 tst-quadmod2.
57254         ($(objpfx)tst-quad1): New dependency.
57255         ($(objpfx)tst-quad2): Likewise.
57256         ($(objpfx)tst-quad1pie): Likewise.
57257         ($(objpfx)tst-quad2pie): Likewise.
57258         * sysdeps/x86_64/tst-quad1.c: New file.
57259         * sysdeps/x86_64/tst-quad1pie.c: New file.
57260         * sysdeps/x86_64/tst-quad2.c: Likewise.
57261         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
57262         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
57263         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
57264         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
57265         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
57267 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57269         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
57270         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
57271         * streams/stropts.h (t_scalar_t): Define type.
57273         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
57274         (_PATH_PRESERVE): Set to "/var/lib".
57275         (_PATH_RWHODIR): Set to "/var/spool/rwho".
57277         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
57278         instead of int.
57280         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
57281         if __dir_mkfile succeeded.
57283         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
57284         checking for _hurd_dtablesize.  Unlock it right after having
57285         finished _hurd_dtable allocation.
57287 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
57289         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
57290         * sysdeps/mach/hurd/configure: Regenerated.
57291         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
57292         special-casing to...
57293         * sysdeps/gnu/configure.in: ... this new file.
57294         * sysdeps/unix/sysv/linux/configure: Regenerated.
57295         * sysdeps/gnu/configure: New generated file.
57297         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
57298         for Linux: use nsec instead of usec, as well as:
57299         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
57300         members of type struct timespec.
57301         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
57302         New macros.
57303         (struct stat64): Likewise.
57304         (_STATBUF_ST_NSEC): New macro.
57305         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
57307         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
57308         __strtoul_internal rather than strtoul.
57310 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
57312         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
57313         and reject them.
57315 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57317         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
57318         which preserves existing values.
57319         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
57321 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
57323         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
57324         TIMEOUT values.  Return EINVAL for NFDS values either negative or
57325         greater than FD_SETSIZE.
57327 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57329         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
57330         allocated, call __vm_protect to finish enabling the existing space, and
57331         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
57332         allocate the remainder.
57334 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
57336         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
57337         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
57339 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57341         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
57342         sysdeps/mach/hurd/readlink.c.
57344         * posix/tst-sysconf.c (posix_options): Only use
57345         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
57346         _POSIX_SYNCHRONIZED_IO when they are defined
57347         * sysdeps/mach/hurd/bits/posix_opt.h:
57348         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
57349         (_XOPEN_REALTIME): Undefine macro.
57350         (_XOPEN_REALTIME_THREADS): Undefine macro.
57351         (_XOPEN_SHM): Undefine macro.
57352         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
57353         macro to -1.
57354         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
57355         macro to -1.
57356         (_POSIX_ASYNC_IO): Undefine macro.
57357         (_POSIX_PRIORITIZED_IO): Undefine macro.
57358         (_POSIX_SPIN_LOCKS): Define macro to -1.
57360         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
57361         SA_NODEFER, SA_RESETHAND.
57362         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
57363         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
57364         F_DUPFD_CLOEXEC.
57366 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
57368         * elf/Makefile (pldd-modules): Define unconditionally.
57370 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
57372         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
57374 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57376         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
57377         Return ENOENT when name is empty.
57378         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
57380 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
57382         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
57384         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
57386 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57388         Fix mlock in all cases except non-readable pages.
57389         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
57390         instead of VM_PROT_ALL as parameter to __vm_wire function.
57392         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
57393         (__mkdir): When path is `/', just fail with EEXIST.
57394         * sysdeps/mach/hurd/mkdirat.c: Likewise.
57396 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
57398         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
57399         <sys/uio.h> (for writev).
57400         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
57401         and <sys/param.h> (for MIN).
57403 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
57405         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
57406         REQUESTED_TIME.  Properly set the remaining time and return EINTR
57407         if interrupted.
57409 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
57411         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
57412         Depend on against $(link-rpcuserlibs).
57414 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57416         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
57417         (__libc_stack_end): Do not use attribute_relro.
57418         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
57419         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
57420         to libthread-provided value.
57421         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
57422         attribute_relro.
57424 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
57426         [BZ #3748]
57427         * bits/libc-lock.h (__libc_once_get): New macro.
57428         * sysdeps/mach/bits/libc-lock.h: Likewise.
57429         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
57430         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
57431         instead of using implementation details.
57433         * libio/fileops.c: Unconditionally include <kernel-features.h>.
57434         * libio/freopen.c: Likewise.
57435         * libio/freopen64.c: Likewise.
57436         * misc/syslog.c: Likewise.
57437         * nscd/connections.c: Likewise.
57438         * nscd/netgroupcache.c: Likewise.
57439         * sysdeps/posix/getcwd.c: Likewise.
57441 2012-05-10  Roland McGrath  <roland@hack.frob.com>
57443         * math/w_ilogbf.c: Add #include <limits.h>.
57445 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57447         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
57448         path instead of returning without unlocking.
57450         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
57451         immediate-write ioctls.
57452         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
57454 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
57456         * sysdeps/mach/hurd/i386/init-first.c (init): Use
57457         __builtin_frame_address instead of making assumptions about the
57458         location of the return address relative to DATA.  Force early load of
57459         the return address.
57460         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
57461         __builtin_frame_address.
57463         dup3 for GNU Hurd.
57464         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
57465         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
57466         implement dup3 and do some further code clean-ups.
57467         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
57468         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
57470 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57472         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
57474         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
57475         HURD_CRITICAL_END around holding _hurd_dtable_lock.
57476         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
57477         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
57478         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
57479         d->port.lock.
57481         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
57482         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
57483         when handler == SIG_ERR, not when handler != SIG_ERR.
57485 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
57487         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
57488         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
57489         definitions.
57491         accept4 for GNU Hurd.
57492         * include/sys/socket.h (__libc_accept4): New prototype.
57493         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
57494         to implement __libc_accept4.
57495         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
57496         __libc_accept4.
57497         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
57499         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
57500         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
57501         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
57502         signal-defines.sym.
57504 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57506         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
57508 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
57510         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
57511         assertion on O_CLOEXEC flag.
57512         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
57513         * hurd/intern-fd.c: Likewise.
57514         * hurd/port2fd.c: Likewise.
57516 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57518         [BZ #3906]
57519         * bits/in.h (IPV6_PKTINFO): Define new macro.
57520         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
57522 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57524         [BZ #13954]
57525         [BZ #13955]
57526         [BZ #13956]
57527         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
57528         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
57529         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
57530         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
57531         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
57532         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
57533         * math/libm-test.inc (logb_test) : Additional logb tests.
57535 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
57536             Andreas Jaeger  <aj@suse.de>
57538         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
57539         * configure: Regenerated.
57540         * config.h.in (LINK_OBSOLETE_RPC): New macro.
57541         * config.make.in (link-obsolete-rpc): New substituted variable.
57542         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
57543         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
57544         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
57545         (shared-only-routines): Don't set it under [link-obsolete-rpc],
57546         so that libc.a contains the symbols.
57547         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
57548         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
57549         * sunrpc/auth_none.c: Likewise.
57550         * sunrpc/auth_unix.c: Likewise.
57551         * sunrpc/authdes_prot.c: Likewise.
57552         * sunrpc/authuxprot.c: Likewise.
57553         * sunrpc/clnt_gen.c: Likewise.
57554         * sunrpc/clnt_perr.c: Likewise.
57555         * sunrpc/clnt_raw.c: Likewise.
57556         * sunrpc/clnt_simp.c: Likewise.
57557         * sunrpc/clnt_tcp.c: Likewise.
57558         * sunrpc/clnt_udp.c: Likewise.
57559         * sunrpc/clnt_unix.c: Likewise.
57560         * sunrpc/des_crypt.c: Likewise.
57561         * sunrpc/des_soft.c: Likewise.
57562         * sunrpc/get_myaddr.c: Likewise.
57563         * sunrpc/key_call.c: Likewise.
57564         * sunrpc/key_prot.c: Likewise.
57565         * sunrpc/netname.c: Likewise.
57566         * sunrpc/pm_getmaps.c: Likewise.
57567         * sunrpc/pm_getport.c: Likewise.
57568         * sunrpc/pmap_clnt.c: Likewise.
57569         * sunrpc/pmap_prot.c: Likewise.
57570         * sunrpc/pmap_prot2.c: Likewise.
57571         * sunrpc/pmap_rmt.c: Likewise.
57572         * sunrpc/publickey.c: Likewise.
57573         * sunrpc/rpc_cmsg.c: Likewise.
57574         * sunrpc/rpc_common.c: Likewise.
57575         * sunrpc/rpc_dtable.c: Likewise.
57576         * sunrpc/rpc_prot.c: Likewise.
57577         * sunrpc/rpc_thread.c: Likewise.
57578         * sunrpc/rtime.c: Likewise.
57579         * sunrpc/svc.c: Likewise.
57580         * sunrpc/svc_auth.c: Likewise.
57581         * sunrpc/svc_raw.c: Likewise.
57582         * sunrpc/svc_run.c: Likewise.
57583         * sunrpc/svc_tcp.c: Likewise.
57584         * sunrpc/svc_udp.c: Likewise.
57585         * sunrpc/svc_unix.c: Likewise.
57586         * sunrpc/svcauth_des.c: Likewise.
57587         * sunrpc/xcrypt.c: Likewise.
57588         * sunrpc/xdr.c: Likewise.
57589         * sunrpc/xdr_array.c: Likewise.
57590         * sunrpc/xdr_float.c: Likewise.
57591         * sunrpc/xdr_intXX_t.c: Likewise.
57592         * sunrpc/xdr_mem.c: Likewise.
57593         * sunrpc/xdr_rec.c: Likewise.
57594         * sunrpc/xdr_ref.c: Likewise.
57595         * sunrpc/xdr_sizeof.c: Likewise.
57596         * sunrpc/xdr_stdio.c: Likewise.
57598 2012-05-10  Roland McGrath  <roland@hack.frob.com>
57600         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
57601         change.  Update copyright years.
57603 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
57605         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
57607 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
57608             Joseph Myers  <joseph@codesourcery.com>
57609             Paul Pluzhnikov  <ppluzhnikov@google.com>
57611         [BZ #14012]
57612         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
57613         requiring rpcgen.
57614         [cross-compiling] (extra-libs): Likewise.
57615         [cross-compiling] (extra-libs-others): Likewise.
57616         [cross-compiling] (librpcsvc-routines): Likewise.
57617         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
57618         [cross-compiling] (omit-deps): Likewise.
57619         (sunrpc-CPPFLAGS): New variable.
57620         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
57621         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
57622         (cross-rpcgen-objs): New variable.
57623         (extra-objs): Append $(cross-rpcgen-objs).
57624         ($(cross-rpcgen-objs)): New rule.
57625         ($(objpfx)cross-rpcgen): Likewise.
57626         (rpcgen-cmd): Define to use $(built-program-file).  Expand
57627         comment.
57628         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
57629         ($(objpfx)x%.stmp): Likewise.
57630         * sunrpc/proto.h [IS_IN_build] (_): Define.
57631         [IS_IN_build] (_libc_intl_domainname): Likewise.
57633 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
57635         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
57636         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
57637         and R_X86_64_TPOFF64.
57639 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
57641         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
57642         sysdeps/unix/sysv/syscalls.list.
57643         (stime): Likewise.
57644         (utime): Likewise.
57645         * sysdeps/unix/sysv/syscalls.list: Remove file.
57647 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
57649         [BZ #3440]
57650         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
57651         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
57652         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
57653         (__LC_IDENTIFICATION): Make these macros useful in #if
57654         expressions, as required by C99.
57656 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
57658         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
57659         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
57660         after this.
57662 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
57664         * stdlib/longlong.h: Updated from GCC.
57666 2012-05-09  Andreas Jaeger  <aj@suse.de>
57668         * nscd/nscd.c (run_modes): Make named enum, reorder so that
57669         default is first entry.
57670         (run_mode): Set type.
57671         (main): Remove informal message about syslog.
57672         (options): Fix typo.
57674         [BZ #14053]
57675         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
57676         to asm.
57677         (lrint): Likewise.
57678         (llrintf): Likewise.
57679         (llrint): Likewise.
57680         (rint): Likewise.
57681         (rintf): Likewise.
57682         (nearbyint): Likewise.
57683         (nearbyintf): Likewise.
57685 2012-05-09  Andreas Jaeger  <aj@suse.de>
57686             Pedro Alves  <palves@redhat.com>
57688         * nscd/nscd.c (run_mode): Use enum.
57689         (main): Cleanup coding style issue.
57691 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
57692             Andreas Jaeger  <aj@suse.de>
57694         * nscd/nscd.c (go_background): Replaced with...
57695         (run_mode): ... this.
57696         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
57697         (options): Add -F --foreground.
57698         (main): Implement it.
57699         (parse_opt): Parse it.
57701 2012-05-09  Andreas Jaeger  <aj@suse.de>
57703         [BZ #14083]
57704         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
57705         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
57706         -Wconversion warning.
57707         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
57708         Likewise.
57710 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
57712         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
57713         == 0.
57714         (LC_ALL): Use macro-int-constant.
57715         (LC_COLLATE): Likewise.
57716         (LC_CTYPE): Likewise.
57717         (LC_MESSAGES): Likewise.
57718         (LC_MONETARY): Likewise.
57719         (LC_NUMERIC): Likewise.
57720         (LC_TIME): Likewise.
57721         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
57722         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
57723         [ISO || ISO99 || ISO11] (*_t): Do not allow.
57724         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
57725         Specify type.
57726         [C99-based standards] (float_t): Expect type.
57727         [C99-based standards] (double_t): Expect type.
57728         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
57729         type.
57730         [C99-based standards] (HUGE_VALL): Likewise.
57731         [C99-based standards] (INFINITY): Likewise.
57732         [C99-based standards] (NAN): Likewise.
57733         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
57734         [C99-based standards] (FP_NAN): Likewise.
57735         [C99-based standards] (FP_NORMAL): Likewise.
57736         [C99-based standards] (FP_SUBNORMAL): Likewise.
57737         [C99-based standards] (FP_ZERO): Likewise.
57738         [C99-based standards] (FP_FAST_FMA): Use
57739         optional-macro-int-constant.  Specify type.  Require == 1.
57740         [C99-based standards] (FP_FAST_FMAF): Likewise.
57741         [C99-based standards] (FP_FAST_FMAL): Likewise.
57742         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
57743         [C99-based standards] (FP_ILOGBNAN): Likewise.
57744         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
57745         Specify type.
57746         [C99-based standards] (MATH_ERREXCEPT): Likewise.
57747         [C99-based standards] (math_errhandling): Specify type.
57748         [ISO99 || ISO11] (signgam): Do not allow.
57749         [non-C99-based standards] (copysignf): Do not allow.
57750         [non-C99-based standards] (exp2f): Likewise.
57751         [non-C99-based standards] (log2f): Likewise.
57752         [non-C99-based standards] (modff): Allow.
57753         [non-C99-based standards] (erff): Do not allow.
57754         [non-C99-based standards] (erfcf): Likewise.
57755         [non-C99-based standards] (gammaf): Likewise.
57756         [non-C99-based standards] (hypotf): Likewise.
57757         [non-C99-based standards] (j0f): Likewise.
57758         [non-C99-based standards] (j1f): Likewise.
57759         [non-C99-based standards] (jnf): Likewise.
57760         [non-C99-based standards] (lgammaf): Likewise.
57761         [non-C99-based standards] (tgammaf): Likewise.
57762         [non-C99-based standards] (y0f): Likewise.
57763         [non-C99-based standards] (y1f): Likewise.
57764         [non-C99-based standards] (ynf): Likewise.
57765         [non-C99-based standards] (isnanf): Likewise.
57766         [non-C99-based standards] (acoshf): Likewise.
57767         [non-C99-based standards] (asinhf): Likewise.
57768         [non-C99-based standards] (atanhf): Likewise.
57769         [non-C99-based standards] (cbrtf): Likewise.
57770         [non-C99-based standards] (expm1f): Likewise.
57771         [non-C99-based standards] (ilogbf): Likewise.
57772         [non-C99-based standards] (log1pf): Likewise.
57773         [non-C99-based standards] (logbf): Likewise.
57774         [non-C99-based standards] (nextafterf): Likewise.
57775         [non-C99-based standards] (remainderf): Likewise.
57776         [non-C99-based standards] (rintf): Likewise.
57777         [non-C99-based standards] (scalbf): Likewise.
57778         [non-C99-based standards] (copysignl): Likewise.
57779         [non-C99-based standards] (exp2l): Likewise.
57780         [non-C99-based standards] (log2l): Likewise.
57781         [non-C99-based standards] (modfl): Allow.
57782         [non-C99-based standards] (erfl): Do not allow.
57783         [non-C99-based standards] (erfcl): Likewise.
57784         [non-C99-based standards] (gammal): Likewise.
57785         [non-C99-based standards] (hypotl): Likewise.
57786         [non-C99-based standards] (j0l): Likewise.
57787         [non-C99-based standards] (j1l): Likewise.
57788         [non-C99-based standards] (jnl): Likewise.
57789         [non-C99-based standards] (lgammal): Likewise.
57790         [non-C99-based standards] (tgammal): Likewise.
57791         [non-C99-based standards] (y0l): Likewise.
57792         [non-C99-based standards] (y1l): Likewise.
57793         [non-C99-based standards] (ynl): Likewise.
57794         [non-C99-based standards] (isnanl): Likewise.
57795         [non-C99-based standards] (acoshl): Likewise.
57796         [non-C99-based standards] (asinhl): Likewise.
57797         [non-C99-based standards] (atanhl): Likewise.
57798         [non-C99-based standards] (cbrtl): Likewise.
57799         [non-C99-based standards] (expm1l): Likewise.
57800         [non-C99-based standards] (ilogbl): Likewise.
57801         [non-C99-based standards] (log1pl): Likewise.
57802         [non-C99-based standards] (logbl): Likewise.
57803         [non-C99-based standards] (nextafterl): Likewise.
57804         [non-C99-based standards] (remainderl): Likewise.
57805         [non-C99-based standards] (rintl): Likewise.
57806         [non-C99-based standards] (scalbl): Likewise.
57807         [ISO || ISO99 || ISO11] (*_t): Do not allow.
57808         [non-C99-based standards] (FP_*): Do not allow.
57809         [C99-based standards] (FP_*): Change to
57810         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
57811         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
57812         allow.
57813         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
57814         (SIG_ERR): Likewise.
57815         [X/Open-based standards] (SIG_HOLD): Likewise.
57816         (SIG_IGN): Likewise.
57817         (SIGABRT): Use macro-int-constant.  Specify type.  Require
57818         positive value.
57819         (SIGFPE): Likewise.
57820         (SIGILL): Likewise.
57821         (SIGINT): Likewise.
57822         (SIGSEGV): Likewise.
57823         (SIGTER): Likewise.
57824         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
57825         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
57826         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
57827         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
57828         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
57829         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
57830         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
57831         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
57832         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
57833         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
57834         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
57835         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
57836         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
57837         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
57838         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
57839         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
57840         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
57841         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
57842         [X/Open-based standards] (SIGTRAP): Likewise.
57843         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
57844         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
57845         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
57846         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
57847         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
57848         allow.
57850 2012-05-08  Ian Wienand  <ianw@vmware.com>
57852         [BZ #14080]
57853         * time/tzset.c (__tzset_parse_tz): Update default rules for
57854         daylight time changes in the Energy Policy Act of 2005.
57856 2012-05-09  Andreas Jaeger  <aj@suse.de>
57858         [BZ #13983]
57859         * elf/ldconfig.c (parse_conf): Change string to make clear that
57860         ldconfig only issued a warning if ld.so.conf does not exist.
57862 2012-05-08  David S. Miller  <davem@davemloft.net>
57864         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
57865         movxtod instead of popping the value on the stack.
57867         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57869 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
57871         * config.h.in: Add HAVE_ARM_PCS_VFP.
57873 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
57875         [BZ #13979]
57876         * include/features.h: Warn if user requests __FORTIFY_SOURCE
57877         checking but the checks are disabled for any reason.
57879 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
57881         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
57882         and ELF64_R_TYPE with ELFW(R_TYPE).
57884 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
57886         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
57887         (ulimit): Likewise.
57889         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
57890         (settimeofday): Likewise.
57892 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
57894         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
57895         a struct th_u2 inside the union, and move tu_block/tu_code into
57896         a new th_u3 union of tu_block/tu_code inside of that.  Move
57897         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
57898         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
57899         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
57900         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
57901         (th_stuff): Change to th_u1.tu_stuff.
57902         (th_data): Define.
57903         (th_msg): Change to th_u1.th_u2.tu_data.
57905 2012-05-07  David S. Miller  <davem@davemloft.net>
57907         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57909         [BZ #14074]
57910         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
57911         (SETUP_PIC_REG): Use it.
57912         (SETUP_PIC_REG_LEAF): Use it.
57914 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
57916         [BZ #13885]
57917         [BZ #13923]
57918         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
57919         USE_AS_EXPM1L.
57920         (EXPL_FINITE): Likewise.
57921         (FLDLOG): Likewise.
57922         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
57923         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
57924         e_expl.S.
57925         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
57926         USE_AS_EXPM1L.
57927         (EXPL_FINITE): Likewise.
57928         (FLDLOG): Likewise.
57929         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
57930         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
57931         e_expl.S.
57932         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
57933         test of -max_value argument for long double.
57934         * sysdeps/i386/fpu/libm-test-ulps: Update.
57935         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57937 2012-05-06  David S. Miller  <davem@davemloft.net>
57939         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
57940         quad soft-float symbols whose references which are compiler
57941         generated.
57942         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
57944 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
57946         [BZ #13884]
57947         [BZ #13914]
57948         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
57949         USE_AS_EXP10L.
57950         (EXPL_FINITE): Likewise.
57951         (FLDLOG): Likewise.
57952         (c0): Likewise.
57953         (c1): Likewise.
57954         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
57955         Adjust comments for base varying.
57956         (__expl_finite): Change alias to EXPL_FINITE.
57957         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
57958         e_expl.S.
57959         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
57960         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
57961         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
57962         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
57963         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
57964         USE_AS_EXP10L.
57965         (EXPL_FINITE): Likewise.
57966         (FLDLOG): Likewise.
57967         (c0): Likewise.
57968         (c1): Likewise.
57969         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
57970         Adjust comments for base varying.
57971         (__expl_finite): Change alias to EXPL_FINITE.
57972         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
57973         tests for bugs.
57974         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57976         [BZ #14064]
57977         * math/libm-test.inc (check_float_internal): Correct ulp
57978         calculation for subnormal expected results.
57980 2012-05-06  Andreas Jaeger  <aj@suse.de>
57982         * Makeconfig (+math-flags): New, set to -frounding-math.
57983         (+cflags): Add +math-flags so that all of glibc gets compiled with
57984         it.
57986         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
57988 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
57990         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
57991         Disable one test.
57993         [BZ #13787]
57994         [BZ #13922]
57995         [BZ #14036]
57996         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
57997         (__ieee754_expl): Allow for and saturate large arguments.
57998         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
57999         (u_threshold): Likewise.
58000         (__exp): Call __ieee754_exp before checking for overflow and
58001         underflow.
58002         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
58003         (u_threshold): Likewise.
58004         (__expf): Call __ieee754_expf before checking for overflow and
58005         underflow.
58006         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
58007         (u_threshold): Likewise.
58008         (__expl): Call __ieee754_expl before checking for overflow and
58009         underflow.
58010         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
58011         (__ieee754_expl): Allow for and saturate large arguments.
58012         * math/libm-test.inc (exp_test): Add another test.  Do not allow
58013         missing overflow exception on overflow.
58014         (expm1_test): Do not allow missing overflow exception on overflow.
58016         * sysdeps/i386/fpu/e_expl.c: Move to ...
58017         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
58018         rather than using inline asm.
58019         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
58020         * sysdeps/x86_64/fpu/e_expl.S: Copy from
58021         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
58023         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
58024         (nice): Likewise.
58025         (poll): Likewise.
58026         (signal): Likewise.
58027         (time): Likewise.
58028         (times): Likewise.
58030 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
58032         * sysdeps/unix/syscalls.list (adjtime): Add entry from
58033         sysdeps/unix/common/syscalls.list.
58034         (fchmod): Likewise.
58035         (fchown): Likewise.
58036         (ftruncate): Likewise.
58037         (getrusage): Likewise.
58038         (gettimeofday): Likewise.
58039         (setpgid): Likewise.
58040         (setregid): Likewise.
58041         (setreuid): Likewise.
58042         (sigaction): Likewise.
58043         (truncate): Likewise.
58044         (vhangup): Likewise.
58045         * sysdeps/unix/common/syscalls.list: Remove file.
58046         * sysdeps/unix/bsd/Implies: Don't include unix/common.
58047         * sysdeps/unix/sysv/linux/Implies: Likewise.
58049 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
58051         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
58052         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
58053         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
58054         Moved to ...
58055         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
58056         Here.
58057         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
58058         to ...
58059         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
58060         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
58061         to ...
58062         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
58063         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
58064         to ...
58065         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
58066         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
58067         to ...
58068         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
58069         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
58070         to ...
58071         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
58072         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
58073         to ...
58074         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
58075         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
58076         to ...
58077         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
58078         Here.
58079         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
58080         to ...
58081         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
58082         Here.
58083         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
58084         to ...
58085         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
58086         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
58087         Moved to ...
58088         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
58089         Here.
58090         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
58091         to ...
58092         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
58094 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
58096         * sysdeps/unix/common/bits/dirent.h: Remove file.
58097         * sysdeps/unix/common/bits/fcntl.h: Likewise.
58099         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
58100         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
58101         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
58102         * sysdeps/unix/bsd/isatty.c: Likewise.
58103         * sysdeps/unix/bsd/tcdrain.c: Likewise.
58104         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
58105         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
58107 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58109         [BZ #13563]
58110         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
58111         long double comparison inaccuracies.
58112         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
58113         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58115 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
58117         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
58118         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
58120 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
58122         [BZ #14049]
58123         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
58124         nonzero digits before rounding a hex value.
58125         * stdlib/tst-strtod.c (tests): Add another test.
58127 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58129         * sysdeps/s390/fpu/libm-test-ulps: Update.
58131 2012-05-03  Andreas Jaeger  <aj@suse.de>
58133         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
58134         does not get optimized out.
58135         (malloc_opt_barrier): New.
58137 2012-05-03  Andreas Jaeger  <aj@suse.de>
58138             Roland McGrath  <roland@hack.frob.com>
58140         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
58141         intermediate file deletion.
58142         (generated): Add .symlist files.
58144 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
58146         [BZ #13775]
58147         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
58148         Redirect under this condition.
58149         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
58150         [__USE_GNU] (__dprintf_chk): Not under this condition.
58151         [__USE_GNU] (__vdprintf_chk): Likewise.
58152         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
58153         under this condition.
58154         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
58155         [__USE_XOPEN2K8] (dprintf): Define under this condition.
58156         [__USE_XOPEN2K8] (vdprintf): Likewise.
58157         [__USE_GNU] (__dprintf_chk): Not under this condition.
58158         [__USE_GNU] (__vdprintf_chk): Likewise.
58159         [__USE_GNU] (dprintf): Likewise.
58160         [__USE_GNU] (vdprintf): Likewise.
58162 2012-05-03  Roland McGrath  <roland@hack.frob.com>
58164         * elf/Makefile (common-generated): Set this instead of generated for
58165         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
58166         $(all-built-dso)-derived lists.
58168 2012-05-03  Andreas Jaeger  <aj@suse.de>
58170         * sysdeps/i386/fpu/libm-test-ulps: Update.
58172         * FAQ: Removed.
58173         * FAQ.in: Likewise.
58174         * scripts/gen-FAQ.pl: Likewise.
58175         * manual/install.texi (Installation): Point to online location of
58176         FAQ.
58177         * Makefile (files-for-dist): Remove FAQ.
58178         (FAQ): Remove.
58180 2012-05-02  Allan McRae  <allan@archlinux.org>
58182         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
58183         (LDFLAGS-reldepmod5.so): Likewise.
58184         (LDFLAGS-reldep6mod1.so): Likewise.
58185         (LDFLAGS-reldep6mod4.so): Likewise.
58186         (LDFLAGS-reldep8mod3.so): Likewise.
58187         (LDFLAGS-unload4mod1.so): Likewise.
58188         (LDFLAGS-unload4mod2.so): Likewise.
58189         (LDFLAGS-tst-initorder): Likewise.
58190         (LDFLAGS-tst-initordera2.so): Likewise.
58191         (LDFLAGS-tst-initordera3.so): Likewise.
58192         (LDFLAGS-tst-initordera4.so): Likewise.
58193         (LDFLAGS-tst-initorderb2.so): Likewise.
58194         (LDFLAGS-noload): Likewise.
58195         (LDFLAGS-next): Likewise.
58196         (LDFLAGS-order2mod1.so): Likewise.
58197         (LDFLAGS-order2mod2.so): Likewise.
58198         (LDFLAGS-tst-initorder2): Likewise.
58199         (LDFLAGS-tst-initorder2a.so): Likewise.
58200         (LDFLAGS-tst-initorder2b.so): Likewise.
58201         (LDFLAGS-tst-initorder2c.so): Likewise.
58202         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
58204 2012-05-02  David S. Miller  <davem@davemloft.net>
58206         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58208 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
58210         [BZ #14055]
58211         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
58213 2012-05-02  Andreas Jaeger  <aj@suse.de>
58215         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
58216         since we manipulate rounding mode.
58217         (CPPFLAGS-test-idouble.c): Likewise.
58218         (CPPFLAGS-test-ifloat.c): Likewise.
58219         (CFLAGS-test-ldouble.c): Likewise.
58220         (CFLAGS-test-double.c): Likewise.
58221         (CFLAGS-test-float.c): Likewise.
58222         (CFLAGS-test-misc.c): Likewise.
58223         (CFLAGS-test-test-fenv.c): Likewise.
58225 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58227         [BZ #2550]
58228         [BZ #2570]
58229         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
58230         comparisons to determine direction to adjust input.
58232 2012-05-01  Roland McGrath  <roland@hack.frob.com>
58234         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
58235         output to the target.
58237         * scripts/localplt.awk: New file.
58238         * elf/Makefile ($(objpfx)check-localplt): Target removed.
58239         (check-localplt-CFLAGS): Variable removed.
58240         ($(all-built-dso:=.jmprel)): New static pattern rule.
58241         (generated): Add those targets.
58242         (localplt-built-dso): New variable.
58243         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
58245         * elf/check-localplt.c: File removed.
58247         * scripts/check-execstack.awk: New file.
58248         * elf/Makefile ($(objpfx)check-execstack): Target removed.
58249         (check-execstack-CFLAGS): Variable removed.
58250         ($(objpfx)check-execstack.h): Target removed.
58251         ($(objpfx)execstack-default): New target.
58252         (generated): Add that instead of check-execstack.h.
58253         ($(all-built-dso:=.phdr)): New static pattern rule.
58254         (generated): Add those targets.
58255         * elf/check-execstack.c: File removed.
58257         * scripts/check-textrel.awk: New file.
58258         * elf/Makefile ($(objpfx)check-textrel): Target removed.
58259         (check-textrel-CFLAGS): Variable removed.
58260         (all-built-dso): Use := to define.o
58261         ($(all-built-dso:=.dyn)): New static pattern rule.
58262         (generated): Add those targets.
58263         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
58264         * config.make.in (READELF): New substituted variable.
58265         * elf/check-textrel.c: File removed.
58267 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
58269         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
58270         allow.
58271         * conform/data/ctype.h-data [C99-based standards] (isblank):
58272         Expect function.
58273         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
58274         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
58275         [ISO || ISO99 || ISO11] (*_t): Do not allow.
58276         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
58277         Specify type.  Require positive value.
58278         (EILSEQ): Likewise.
58279         (ERANGE): Likewise.
58280         [ISO || POSIX] (EILSEQ): Do not expect.
58281         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
58282         Specify type.  Require positive value.
58283         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
58284         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
58285         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
58286         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
58287         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
58288         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
58289         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
58290         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
58291         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
58292         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
58293         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
58294         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
58295         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
58296         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
58297         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
58298         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
58299         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
58300         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
58301         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
58302         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
58303         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
58304         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
58305         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
58306         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
58307         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
58308         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
58309         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
58310         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
58311         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
58312         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
58313         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
58314         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
58315         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
58316         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
58317         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
58318         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
58319         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
58320         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
58321         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
58322         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
58323         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
58324         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
58325         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
58326         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
58327         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
58328         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
58329         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
58330         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
58331         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
58332         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
58333         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
58334         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
58335         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
58336         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
58337         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
58338         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
58339         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
58340         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
58341         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
58342         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
58343         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
58344         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
58345         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
58346         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
58347         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
58348         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
58349         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
58350         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
58351         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
58352         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
58353         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
58354         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
58355         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
58356         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
58357         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
58358         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
58359         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
58360         Require >= 2.
58361         (FLT_ROUNDS): Expect as macro, not constant.
58362         (FLT_MANT_DIG): Use macro-int-constant.
58363         (DBL_MANT_DIG): Likewise.
58364         (LDBL_MANT_DIG): Likewise.
58365         (FLT_DIG): Likewise.
58366         (DBL_DIG): Likewise.
58367         (LDBL_DIG): Likewise.
58368         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
58369         (DBL_MIN_EXP): Likewise.
58370         (LDBL_MIN_EXP): Likewise.
58371         (FLT_MAX_EXP): Use macro-int-constant.
58372         (DBL_MAX_EXP): Likewise.
58373         (LDBL_MAX_EXP): Likewise.
58374         (FLT_MAX_10_EXP): Likewise.
58375         (DBL_MAX_10_EXP): Likewise.
58376         (LDBL_MAX_10_EXP): Likewise.
58377         (FLT_MAX): Use macro-constant.
58378         (DBL_MAX): Likewise.
58379         (LDBL_MAX): Likewise.
58380         (FLT_EPSILON): Use macro-constant.  Give upper bound.
58381         (DBL_EPSILON): Likewise.
58382         (LDBL_EPSILON): Likewise.
58383         (FLT_MIN): Likewise.
58384         (DBL_MIN): Likewise.
58385         (LDBL_MIN): Likewise.
58386         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
58387         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
58388         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
58389         [ISO11] (FLT_HAS_SUBNORM): Likewise.
58390         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
58391         [ISO11] (DBL_DECIMAL_DIG): Likewise.
58392         [ISO11] (FLT_DECIMAL_DIG): Likewise.
58393         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
58394         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
58395         [ISO11] (FLT_TRUE_MIN): Likewise.
58396         [ISO11] (LDBL_TRUE_MIN): Likewise.
58397         [ISO || ISO99 || ISO11] (*_t): Do not allow.
58398         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
58399         (SCHAR_MIN): Use macro-int-constant.  Specify type.
58400         (SCHAR_MAX): Likewise.
58401         (UCHAR_MAX): Likewise.
58402         (CHAR_MIN): Likewise.
58403         (CHAR_MAX): Likewise.
58404         (MB_LEN_MAX): Use macro-int-constant.
58405         (SHRT_MIN): Use macro-int-constant.  Specify type.
58406         (SHRT_MAX): Likewise.
58407         (USHRT_MAX): Likewise.
58408         (INT_MAX): Likewise.
58409         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
58410         bound negative.
58411         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
58412         bound with "U".
58413         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
58414         bound with "L".
58415         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
58416         bound negative.  Suffix upper bound with "L".
58417         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
58418         bound with "UL".
58419         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
58420         Specify type.
58421         [C99-based standards] (LLONG_MAX): Likewise.
58422         [C99-based standards] (ULLONG_MAX): Likewise.
58423         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
58424         == 0.
58425         [ISO11] (max_align_t): Require type.
58426         [ISO || ISO99 || ISO11] (*_t): Do not allow.
58428         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
58429         from $CFLAGS, without defining away __attribute__ calls.
58430         (checknamespace): Use $CFLAGS_namespace.
58432         * conform/conformtest.pl (@keywords): Only include C99 keywords
58433         for standards based on C99 or C11.
58435         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
58436         Disable tests.
58437         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
58438         UNIX98]: Likewise.
58440         * conform/conformtest.pl: Handle "macro-int-constant" and test for
58441         usability of symbols in #if.
58443         * conform/conformtest.pl: If macro or constant types start
58444         "promoted:", expect the symbol to be of the following type
58445         promoted by the integer promotions.
58447         * conform/conformtest.pl: Parse all "constant" and "macro" lines
58448         in one place.  Also handle "macro-constant".
58450         * conform/conformtest.pl: Only accept expected macro values with
58451         "==".  Parse all "macro" lines in one place.
58452         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
58454         * conform/conformtest.pl: Handle braced types on "constant" lines
58455         instead of handling "typed-constant".
58456         * conform/data/signal.h-data: Use "constant" instead of
58457         "typed-constant".
58459         * conform/conformtest.pl: Handle "optional-" at start of lines in
58460         one place rather than duplicating several cases.  Handle each
58461         format of "macro" line with initial "optional-".
58463         * conform/conformtest.pl: Only accept expected constant or
58464         optional-constant values with "==".  Parse all "constant" lines in
58465         one place.  Parse all "optional-constant" lines in one place.
58466         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
58467         * conform/data/fmtmsg.h-data: Likewise.
58468         * conform/data/netinet/in.h-data: Likewise.
58469         * conform/data/tar.h-data: Likewise.
58470         * conform/data/limits.h-data: Use "==" form on "constant" and
58471         "optional-constant" lines.
58473         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
58474         Use -std=c99 for XOPEN2K.
58475         (@knownproblems): Remove.
58476         (newtoken): Don't check %isknown.
58478         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
58479         Do not expect macro.
58480         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
58481         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
58482         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
58483         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
58484         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
58485         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
58486         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
58487         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
58488         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
58489         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
58490         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
58491         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
58492         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
58493         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
58494         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
58495         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
58496         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
58497         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
58498         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
58499         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
58500         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
58501         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
58502         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
58503         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
58504         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
58505         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
58506         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
58507         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
58508         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
58509         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
58510         [XPG3] (acosh): Likewise.
58511         [XPG3] (asinh): Likewise.
58512         [XPG3] (atanh): Likewise.
58513         [XPG3] (cbrt): Likewise.
58514         [XPG3] (expm1): Likewise.
58515         [XPG3] (ilogb): Likewise.
58516         [XPG3] (log1p): Likewise.
58517         [XPG3] (logb): Likewise.
58518         [XPG3] (nextafter): Likewise.
58519         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
58520         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
58521         [XPG3] (remainder): Likewise.
58522         [XPG3] (rint): Likewise.
58523         [XPG3 || XPG4 || UNIX98] (round): Likewise.
58524         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
58525         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
58526         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
58527         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
58528         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
58529         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
58530         [UNIX98 || XOPEN2K] (scalb): Expect.
58531         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
58532         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
58533         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
58534         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
58535         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
58536         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
58537         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
58538         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
58539         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
58540         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
58541         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
58542         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
58543         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
58544         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
58545         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
58546         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
58547         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
58548         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
58549         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
58550         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
58551         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
58552         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
58553         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
58554         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
58555         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
58556         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
58557         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
58558         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
58559         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
58560         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
58561         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
58562         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
58563         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
58564         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
58565         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
58566         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
58567         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
58568         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
58569         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
58570         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
58571         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
58572         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
58573         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
58574         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
58575         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
58576         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
58577         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
58578         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
58579         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
58580         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
58581         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
58582         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
58583         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
58584         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
58585         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
58586         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
58587         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
58588         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
58589         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
58590         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
58591         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
58592         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
58593         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
58594         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
58595         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
58596         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
58597         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
58598         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
58599         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
58600         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
58601         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
58602         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
58603         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
58604         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
58605         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
58606         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
58607         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
58608         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
58609         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
58610         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
58611         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
58612         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
58613         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
58614         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
58615         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
58616         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
58617         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
58618         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
58619         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
58620         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
58621         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
58622         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
58623         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
58624         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
58625         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
58626         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
58627         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
58628         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
58629         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
58630         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
58631         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
58632         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
58633         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
58634         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
58635         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
58636         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
58637         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
58638         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
58639         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
58640         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
58641         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
58642         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
58643         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
58644         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
58645         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
58646         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
58647         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
58648         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
58649         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
58650         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
58651         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
58652         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
58653         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
58654         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
58655         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
58656         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
58657         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
58658         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
58659         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
58660         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
58661         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
58662         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
58663         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
58664         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
58665         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
58666         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
58667         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
58669         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
58670         _XOPEN_SOURCE_EXTENDED for XPG4.
58672         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
58674         * Makeconfig (localtime): Remove variable.
58675         (inst_localtime-file): Likewise.
58677 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
58679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
58680         Update.
58681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
58682         Update.
58683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
58684         Update.
58685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
58686         Update.
58687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
58688         Update.
58689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
58690         Update.
58691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
58692         Update.
58693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
58694         Update.
58695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
58696         Update.
58698 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
58700         [BZ #2550]
58701         [BZ #2570]
58702         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
58703         comparisons to determine direction to adjust input.
58704         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
58705         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
58706         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
58707         Likewise.
58708         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
58709         Likewise.
58710         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
58711         Likewise.
58712         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
58713         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
58714         Likewise.
58715         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
58716         Likewise.
58717         * math/libm-test.inc (nexttoward_test): Add more tests.
58719 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
58721         [BZ #14040]
58722         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
58723         in version GLIBC_2.1, not GLIBC_2.0.
58724         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
58725         Likewise.
58727 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
58729         [BZ #13942]
58730         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
58731         (1 - x) * (1 + x).
58732         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
58733         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
58734         * math/libm-test.inc (acos_test): Add more tests.
58735         (asin_test): Likewise.
58736         * sysdeps/i386/fpu/libm-test-ulps: Update.
58737         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58739         [BZ #14034]
58740         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
58741         of square root.
58742         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
58743         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
58744         * math/libm-test.inc (acos_test_tonearest): New function.
58745         (acos_test_towardzero): Likewise.
58746         (acos_test_downward): Likewise.
58747         (acos_test_upward): Likewise.
58748         (asin_test_tonearest): Likewise.
58749         (asin_test_towardzero): Likewise.
58750         (asin_test_downward): Likewise.
58751         (asin_test_upward): Likewise.
58752         (main): Call the new functions.
58753         * sysdeps/i386/fpu/libm-test-ulps: Update.
58754         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58756         [BZ #13884]
58757         [BZ #13924]
58758         * math/e_exp10.c: Include <float.h>.
58759         (__ieee754_exp10): Handle underflow here rather than multiplying
58760         large negative argument by M_LN10.
58761         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
58762         of __ieee754_expf.
58763         * math/e_exp10l.c: Include <float.h>.
58764         (__ieee754_exp10l): Handle underflow here rather than multiplying
58765         large negative argument by M_LN10l.
58766         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
58767         spurious overflow exception on underflow.
58769 2012-04-29  Marek Polacek  <polacek@redhat.com>
58771         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
58772         (__fortify_function): New macro.
58773         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
58774         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
58775         __extern_always_inline.
58776         * libio/bits/stdio2.h: Likewise.
58777         * libio/bits/stdio.h: Likewise.
58778         * string/string.h: Likewise.
58779         * string/bits/string3.h: Likewise.
58780         * include/stdio.h: Likewise.
58781         * stdlib/bits/stdlib.h: Likewise.
58782         * stdlib/stdlib.h: Likewise.
58783         * rt/bits/mqueue2.h: Likewise.
58784         * rt/mqueue.h: Likewise.
58785         * posix/bits/unistd.h: Likewise.
58786         * posix/unistd.h: Likewise.
58787         * io/bits/poll2.h: Likewise.
58788         * io/bits/fcntl2.h: Likewise.
58789         * io/fcntl.h: Likewise.
58790         * io/sys/poll.h: Likewise.
58791         * misc/bits/syslog.h: Likewise.
58792         * misc/bits/syslog-ldbl.h: Likewise.
58793         * misc/sys/syslog.h: Likewise.
58794         * socket/bits/socket2.h: Likewise.
58795         * socket/sys/socket.h: Likewise.
58796         * debug/tst-chk1.c: Likewise.
58797         * wcsmbs/bits/wchar2.h: Likewise.
58798         * wcsmbs/bits/wchar-ldbl.h: Likewise.
58799         * wcsmbs/wchar.h: Likewise.
58801 2012-04-29  Andreas Jaeger  <aj@suse.de>
58803         * Makerules (tests): Remove enable-check-abi protection.
58804         (check-abi-warn): Remove.
58805         (check-abi-%): Remove check-abi-warn usage.
58807         * configure.in: Remove check-abi configure option.
58808         * configure: Regenerated.
58809         * config.make.in (enable-check-abi): Remove.
58811 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
58813         [BZ #14033]
58814         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
58815         double functions to double *_finite functions.
58817         [BZ #13941]
58818         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
58819         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
58820         LDBL_MIN_EXP.
58821         * stdio-common/Makefile (tests): Add tst-sprintf3.
58822         * stdio-common/tst-sprintf3.c: New file.
58824         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
58825         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
58827 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
58829         * conform/conformtest.pl: Remove duplicate typed-constant
58830         handling.
58832 2012-04-28  David S. Miller  <davem@davemloft.net>
58834         * Makerules (%.abilist): Add vpath on sysdep_dirs.
58835         (check-abi-%): Remove AWK script prerequisite and explicit
58836         abilist directory.
58837         (check-abi): Rewrite to just diff the symlist with the abilist.
58838         (config-tls, config-abi-config): Delete, no longer used.
58839         (update-abi-%): Remove AWK script and explicit abilist directory.
58840         (update-abi): Rewrite to simply compare and conditionally copy the
58841         symlist and the sysdep abilist file.  Remove update-abi-config
58842         checks.
58843         * abilist/ld.abilist: Remove.
58844         * abilist/libBrokenLocale.abilist: Remove.
58845         * abilist/libanl.abilist: Remove.
58846         * abilist/libcrypt.abilist: Remove.
58847         * abilist/libdl.abilist: Remove.
58848         * abilist/librt.abilist: Remove.
58849         * abilist/libthread_db.abilist: Remove.
58850         * abilist/libutil.abilist: Remove.
58851         * scripts/extract-abilist.awk: Remove.
58852         * scripts/merge-abilist.awk: Remove.
58853         * sysdeps/generic/libcidn.abilist: New file.
58854         * sysdeps/generic/libnss_compat.abilist: New file.
58855         * sysdeps/generic/libnss_db.abilist: New file.
58856         * sysdeps/generic/libnss_dns.abilist: New file.
58857         * sysdeps/generic/libnss_files.abilist: New file.
58858         * sysdeps/generic/libnss_hesiod.abilist: New file.
58859         * sysdeps/generic/libnss_nis.abilist: New file.
58860         * sysdeps/generic/libnss_nisplus.abilist: New file.
58861         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
58862         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
58863         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
58864         file.
58865         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
58866         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
58867         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
58868         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
58869         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
58870         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
58871         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
58872         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
58873         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
58874         file.
58875         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
58876         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
58877         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
58878         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
58879         file.
58880         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
58881         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
58882         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
58883         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
58884         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
58885         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
58886         file.
58887         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
58888         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
58889         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
58890         file.
58891         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
58892         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
58893         New file.
58894         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
58895         New file.
58896         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
58897         New file.
58898         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
58899         New file.
58900         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
58901         New file.
58902         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
58903         New file.
58904         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
58905         New file.
58906         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
58907         New file.
58908         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
58909         New file.
58910         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
58911         New file.
58912         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
58913         New file.
58914         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
58915         New file.
58916         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
58917         New file.
58918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
58919         file.
58920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
58921         New file.
58922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
58923         New file.
58924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
58925         file.
58926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
58927         New file.
58928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
58929         New file.
58930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
58931         file.
58932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
58933         New file.
58934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
58935         New file.
58936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
58937         New file.
58938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
58939         New file.
58940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
58941         New file.
58942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
58943         New file.
58944         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
58945         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
58946         file.
58947         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
58948         New file.
58949         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
58950         file.
58951         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
58952         file.
58953         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
58954         file.
58955         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
58956         file.
58957         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
58958         file.
58959         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
58960         New file.
58961         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
58962         file.
58963         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
58964         file.
58965         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
58966         New file.
58967         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
58968         file.
58969         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
58970         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
58971         file.
58972         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
58973         New file.
58974         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
58975         file.
58976         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
58977         file.
58978         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
58979         file.
58980         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
58981         file.
58982         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
58983         file.
58984         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
58985         New file.
58986         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
58987         file.
58988         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
58989         file.
58990         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
58991         New file.
58992         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
58993         file.
58994         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
58995         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
58996         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
58997         file.
58998         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
58999         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
59000         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
59001         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
59002         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
59003         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
59004         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
59005         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
59006         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
59007         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
59008         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
59009         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
59010         file.
59011         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
59012         New file.
59013         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
59014         file.
59015         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
59016         file.
59017         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
59018         file.
59019         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
59020         file.
59021         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
59022         file.
59023         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
59024         New file.
59025         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
59026         New file.
59027         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
59028         file.
59029         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
59030         New file.
59031         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
59032         file.
59033         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
59034         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
59035         file.
59036         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
59037         New file.
59038         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
59039         file.
59040         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
59041         file.
59042         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
59043         file.
59044         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
59045         file.
59046         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
59047         file.
59048         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
59049         New file.
59050         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
59051         New file.
59052         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
59053         file.
59054         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
59055         New file.
59056         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
59057         file.
59059 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
59061         * conform/conformtest.pl: Fix typo in handling typed-constant from
59062         allow-header.
59064 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
59066         * README: Cut down references to pre-2.6 Linux kernels and
59067         Linuxthreads.  Update lists of configurations in libc and ports
59068         and sort alphabetically.  Say "or newer" with Linux kernel version
59069         requirements.
59071         * config.h.in [IS_IN_build]: Allow compiling without optimization.
59073 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
59075         [BZ #887]
59076         * math/libm-test.inc (logb_test_downward): New test to expose
59077         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
59078         rounding mode.
59080 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
59082         [BZ #14027]
59083         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
59084         to be done.
59085         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
59086         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
59088 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
59090         * sysdeps/unix/i386/brk.S: Remove file.
59091         * sysdeps/unix/i386/dl-brk.S: Likewise.
59092         * sysdeps/unix/i386/pipe.S: Likewise.
59093         * sysdeps/unix/i386/sigreturn.S: Likewise.
59094         * sysdeps/unix/i386/syscall.S: Likewise.
59095         * sysdeps/unix/i386/vfork.S: Likewise.
59096         * sysdeps/unix/i386/wait.S: Likewise.
59098         * sysdeps/unix/common/tcsendbrk.c: Move to ...
59099         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
59101         * configure.in (arm*-none*): Do not allow without
59102         --enable-hacker-mode.
59103         (netbsd*): Remove case setting base_os.
59104         (386bsd*): Likewise.
59105         (freebsd*): Likewise.
59106         (bsdi*): Likewise.
59107         (osf*): Likewise.
59108         (sunos*): Likewise.
59109         (ultrix*): Likewise.
59110         (newsos*): Likewise.
59111         (dynix*): Likewise.
59112         (*bsd*): Likewise.
59113         (sysv*): Likewise.
59114         (isc*): Likewise.
59115         (esix*): Likewise.
59116         (sco*): Likewise.
59117         (minix*): Likewise.
59118         (irix4*): Likewise.
59119         (irix6*): Likewise.
59120         (solaris[2-9]*): Likewise.
59121         (none): Likewise.
59122         * configure: Regenerated.
59124 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59126         [BZ #11521]
59127         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
59128         overflow or cancellation in calculating denominator.
59129         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
59130         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
59131         down expression to avoid unexpected rounding in newer GCCs.
59132         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
59134 2012-04-26  David S. Miller  <davem@davemloft.net>
59136         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
59137         long-double compat symbols.
59138         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
59139         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
59140         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
59141         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
59142         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
59143         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
59144         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
59145         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
59146         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
59147         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
59148         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
59149         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
59150         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
59152 2012-04-25  David S. Miller  <davem@davemloft.net>
59154         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
59155         HWCAP_* values only after the memory barriers have been defined.
59156         (atomic_full_barrier): Define.
59157         (atomic_read_barrier): Define.
59158         (atomic_write_barrier): Define.
59160 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
59162         * shlib-versions: Add libgcc_s version information.
59163         * sysdeps/generic/libgcc_s.h: Remove.
59164         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
59165         libgcc_s.h.
59166         * sysdeps/gnu/unwind-resume.c: Likewise.
59167         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
59169 2012-04-25  David S. Miller  <davem@davemloft.net>
59171         * sysdeps/unix/sparc/brk.S: Delete.
59172         * sysdeps/unix/sparc/dl-brk.S: Delete.
59173         * sysdeps/unix/sparc/pipe.S: Delete.
59174         * sysdeps/unix/sparc/sysdep.S: Delete.
59175         * sysdeps/unix/sparc/sysdep.h: Delete.
59176         * sysdeps/unix/sparc/vfork.S: Delete.
59177         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
59178         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
59179         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
59180         (ret_ERRVAL, r0, r1, MOVE): Define.
59181         (JUMPTARGET): Remove.
59182         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
59183         sysdeps/unix/sparc/sysdep.h
59184         (ENTRY, END): Remove.
59185         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
59187 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
59189         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
59190         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
59191         -DIS_IN_build.
59193         * timezone/README: Update upstream location and email address for
59194         tzcode and tzdata.
59195         * timezone/zdump.c: Update from tzcode 2012b.
59196         * timezone/zic.c: Likewise.
59198         * configure.in (libc_cv_as_needed): Remove test.
59199         * configure: Regenerated.
59200         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
59201         conditional definition.
59202         [$(have-as-needed) != yes] (no-as-needed): Likewise.
59203         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
59204         * config.make.in (have-as-needed): Remove variable.
59206 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
59207             Paul Pluzhnikov  <ppluzhnikov@google.com>
59209         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
59210         strings correctly.
59212 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
59214         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
59215         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
59216         * sysdeps/sh/strlen.S: Likewise.
59218 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
59220         * sysdeps/unix/fork.S: Remove file.
59221         * sysdeps/unix/i386/fork.S: Likewise.
59222         * sysdeps/unix/sparc/fork.S: Likewise.
59224         * sysdeps/unix/system.c: Remove file.
59225         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
59227         * sysdeps/unix/getegid.S: Remove file.
59228         * sysdeps/unix/geteuid.S: Likewise.
59230 2012-04-24  Roland McGrath  <roland@hack.frob.com>
59232         * scripts/check-localplt.awk: New file.
59233         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
59234         of diff.
59235         * scripts/data/localplt-generic.data: Add a comment.
59237         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
59238         NODE when __dir_mkfile failed.
59239         * sysdeps/mach/hurd/symlinkat.c: Likewise.
59240         Reported by Ludovic Courtès <ludo@gnu.org>.
59242 2012-04-24  Andreas Jaeger  <aj@suse.de>
59244         * Makerules (common-clean): Also remove gen-as-const-headers
59245         files.
59247 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
59249         * Makerules (native-compile): Do not change working directory for
59250         build.  Use $(OUTPUT_OPTION) in command.
59251         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
59253 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59255         [BZ #13886]
59256         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
59257         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
59258         * math/libm-test.inc (floor_test): Add more tests.
59259         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
59261 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
59263         * sysdeps/unix/getdents.c: Remove file.
59264         * sysdeps/unix/sysv/getdents.c: Likewise.
59265         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
59267         * sysdeps/unix/syscalls.list (madvise): Add syscall from
59268         sysdeps/unix/mman/syscalls.list.
59269         (mmap): Likewise.
59270         (mprotect): Likewise.
59271         (msync): Likewise.
59272         (munmap): Likewise.
59273         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
59274         * sysdeps/unix/mman/syscalls.list: Remove.
59275         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
59277         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
59278         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
59279         * configure: Regenerated.
59280         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
59281         $(libgcc_s_suffix).
59282         * config.make.in (libgcc_s_suffix): Remove variable.
59284 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
59286         * sysdeps/unix/sysv/gethostname.c: Move to ...
59287         * sysdeps/posix/gethostname.c: ... here.
59289         * sysdeps/unix/execve.S: Remove file.
59291         * sysdeps/unix/_exit.S: Remove file.
59293 2012-04-23  Andreas Jaeger  <aj@suse.de>
59295         [BZ #13739]
59296         * manual/Makefile: Remove make dist support, there's no
59297         need for a stand-alone documentation tar ball.
59298         (TEXI2DVI): Define always, it's not in Makeconfig.
59299         (dist): Removed.
59300         (tar-it): Removed.
59301         (edition): Removed.
59302         (glibc-doc-$(edition).tar): Removed
59303         (%.Z): Removed.
59304         (%.gz): Removed.
59305         (%.uu): Removed.
59306         (ETAGS): Remove, it's in Makeconfig.
59307         (move-if-change): Remove, it's in Makeconfig.
59309 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
59311         [BZ #13970]
59312         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
59313         (strtod, strtof, strtold, strtol, strtoul, strtoq)
59314         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
59315         (strtod_l, strtof_l, strtold_l): Remove __wur.
59316         It is not necessarily an error to ignore strtol's return value.
59317         One can reliably look at the stored endptr to decide whether
59318         the number had valid syntax.
59320 2012-04-21  Andreas Jaeger  <aj@suse.de>
59322         [BZ #13739]
59323         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
59325 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
59327         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
59328         * sysdeps/unix/sysv/Versions: Remove file.
59330 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
59332         [BZ #13927]
59333         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59335 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
59337         [BZ #7064]
59338         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
59339         version from __vm86.
59341 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
59343         * sysdeps/unix/common/lxstat.c: Remove file.
59344         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
59346         * sysdeps/unix/sysv/Makefile: Remove file.
59348         * sysdeps/unix/sysv/direct.h: Remove file.
59350         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
59351         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
59352         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
59353         * sysdeps/unix/sysv/bits/signum.h: Likewise.
59354         * sysdeps/unix/sysv/bits/stat.h: Likewise.
59355         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
59356         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
59358         * sysdeps/unix/sysv/setrlimit.c: Remove file.
59360         * sysdeps/unix/xmknod.c: Remove file.
59361         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
59363         * sysdeps/unix/sysv/settimeofday.c: Remove file.
59365         * sysdeps/unix/sysv/i386/time.S: Remove file.
59367         * sysdeps/unix/fxstat.c: Remove file.
59368         * sysdeps/unix/xstat.c: Likewise.
59369         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
59371         * sysdeps/unix/sysv/sigaction.c: Remove file.
59373         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
59374         (sysdep_headers): Remove variable.
59375         [termio.h not in sysdep_headers] (generated): Likewise.
59376         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
59377         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
59378         * sysdeps/unix/sysv/tcdrain.c: Likewise.
59379         * sysdeps/unix/sysv/tcflow.c: Likewise.
59380         * sysdeps/unix/sysv/tcflush.c: Likewise.
59381         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
59382         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
59383         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
59384         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
59385         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
59387         * sysdeps/unix/siglist.c: Remove file.
59389         * sysdeps/unix/getppid.S: Remove file.
59391         * sysdeps/unix/mkdir.c: Remove file.
59392         * sysdeps/unix/rmdir.c: Likewise.
59394 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
59396         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
59397         ERR_MAX value.
59398         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
59399         errlist-compat value.
59401 2012-04-18  David S. Miller  <davem@davemloft.net>
59403         * sysdeps/generic/memcopy.h (reg_char): Delete.
59404         * debug/strcat_chk.c: Use char, not reg_char.
59405         * debug/strcpy_chk.c: Likewise.
59406         * debug/strncat_chk.c: Likewise.
59407         * debug/strncpy_chk.c: Likewise.
59408         * string/memchr.c: Likewise.
59409         * string/memrchr.c: Likewise.
59410         * string/rawmemchr.c: Likewise.
59411         * string/strcat.c: Likewise.
59412         * string/strchr.c: Likewise.
59413         * string/strchrnul.c: Likewise.
59414         * string/strcmp.c: Likewise.
59415         * string/strcpy.c: Likewise.
59416         * string/strncat.c: Likewise.
59417         * string/strncmp.c: Likewise.
59418         * string/strncpy.c: Likewise.
59420 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
59422         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
59423         __builtin_memcopy is called when src and dest ranges are known to not
59424         overlap.
59426 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
59428         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
59429         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
59430         fwd_align_merge macro call.
59431         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
59432         bwd_align_merge macro call.
59433         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
59435 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
59437         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
59438         bwd_align_merge macros.
59439         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
59440         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
59441         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
59443 2012-04-18  David S. Miller  <davem@davemloft.net>
59445         * sysdeps/sparc/sparc64/memcopy.h: Delete.
59447 2012-04-18  Andreas Jaeger  <aj@suse.de>
59449         [BZ# 6794]
59450         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
59451         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
59452         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
59454         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
59455         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
59456         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
59458         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
59459         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
59460         Adjust for changed ldbl-128 files.
59462         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
59463         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
59464         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
59466 2012-04-17  David S. Miller  <davem@davemloft.net>
59468         * sysdeps/sparc/sparc32/memcopy.h: Delete.
59470 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
59472         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
59473         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
59474         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
59475         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
59476         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
59477         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
59479 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59481         [BZ #6794]
59482         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
59483         * math/libm-test.inc: Add ilogb errno and exception tests.
59484         * math/w_ilogb.c: New file: ilogb wrapper.
59485         * math/w_ilogbf.c: New file: ilogbf wrapper.
59486         * math/w_ilogbl.c: New file: ilogbl wrapper.
59487         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
59488         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
59489         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
59490         exception being thrown with 0.0 as argument.
59491         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
59492         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
59493         exception being thrown with 0.0 as argument.
59494         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
59495         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
59496         exception being thrown with 0.0 as argument.
59497         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
59498         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
59499         exception being thrown with 0.0 as argument.
59500         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
59501         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
59502         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
59503         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
59504         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
59505         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
59506         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
59507         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
59508         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
59510 2012-04-17  Petr Baudis  <pasky@ucw.cz>
59512         * include/sys/uio.h: Change __vector to __iovec to avoid clash
59513         with altivec.
59515 2012-04-16  Marek Polacek  <polacek@redhat.com>
59517         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
59519 2012-04-16  Marek Polacek  <polacek@redhat.com>
59521         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
59522         operands of fdivp instruction.
59524 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
59526         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
59527         * elf/tst-auditmod3b.c: Likewise.
59528         * elf/tst-auditmod4b.c: Likewise.
59529         * elf/tst-auditmod5b.c: Likewise.
59530         * elf/tst-auditmod6b.c: Likewise.
59531         * elf/tst-auditmod6c.c: Likewise.
59532         * elf/tst-auditmod7b.c: Likewise.
59533         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
59534         * sysdeps/x86_64/preconfigure.in: Likewise.
59535         * sysdeps/x86_64/preconfigure: Regenerated.
59537 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
59539         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
59540         __ILP32__.
59542 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
59544         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
59545         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
59547 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
59549         [BZ #13973]
59550         * locale/iso-639.def: Fix gl language name. Spotted by
59551         Yaron Shahrabani.
59553 2012-04-12  Roland McGrath  <roland@hack.frob.com>
59555         [BZ #2074]
59556         * libio/libio.h (__io_write_fn): Update comment.
59558 2012-04-12  Petr Baudis  <pasky@ucw.cz>
59560         [BZ #2074]
59561         * stdio.texi (Hook Functions): The user provided writer function
59562         is not allowed to return -1.
59564 2012-04-11  David S. Miller  <davem@davemloft.net>
59566         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59568 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
59570         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
59571         Add a leading slash to rtkaio.
59573 2012-04-11  Jim Meyering  <meyering@redhat.com>
59575         [BZ #11959]
59576         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
59577         It is not necessarily an error to ignore fwrite's return
59578         value.  One can reliably use ferror to test for errors after
59579         the fact.
59581 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
59583         * bits/types.h (__snseconds_t): New type.
59584         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
59586         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
59587         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
59588         (__SNSECONDS_T_TYPE): Likewise.
59589         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
59590         (__SNSECONDS_T_TYPE): Likewise.
59591         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
59592         (__SNSECONDS_T_TYPE): Likewise.
59594 2012-04-10  Andreas Jaeger  <aj@suse.de>
59596         [BZ #2636]
59597         * manual/time.texi (Processor Time): Return type of times is
59598         elapsed real time since an arbitrary point in the past.
59599         (CPU Time): Move CLK_TCK from here...
59600         (Processor Time): ...to here.  Correct description.
59601         * manual/conf.texi (Constants for Sysconf): Correct description of
59602         _SC_CLK_TCK.
59604 2012-04-10  David S. Miller  <davem@davemloft.net>
59606         [BZ #13967]
59607         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
59608         where the is a gap between DT_REL(A) and DT_JMPREL.
59610 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
59612         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
59613         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
59614         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
59616 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
59618         * elf/dl-support.c (_dl_inhibit_cache): New variable.
59619         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
59620         (dl_main): Handle --inhibit-cache.
59621         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
59622         _dl_inhibit_cache.
59623         * elf/dl-load.c (_dl_map_object): Use it.
59624         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
59626 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
59628         [BZ #13872]
59629         * sysdeps/i386/fpu/e_powl.S (p78): New object.
59630         (__ieee754_powl): Saturate large exponents rather than testing for
59631         overflow of y*log2(x).
59632         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
59633         * math/libm-test.inc (pow_test): Do not permit spurious overflow
59634         exceptions.
59636         [BZ #11521]
59637         * math/s_ctan.c: Include <float.h>.
59638         (__ctan): Avoid internal overflow or cancellation in calculating
59639         denominator.
59640         * math/s_ctanf.c: Likewise.
59641         * math/s_ctanl.c: Likewise.
59642         * math/s_ctanh.c: Likewise.
59643         * math/s_ctanhf.c: Likewise.
59644         * math/s_ctanhl.c: Likewise.
59645         * math/libm-test.inc (ctan_test): Add more tests.
59646         (ctanh_test): Likewise.
59647         * sysdeps/i386/fpu/libm-test-ulps: Update.
59648         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59650 2012-04-09  Andreas Jaeger  <aj@suse.de>
59652         [BZ #6894]
59653         * manual/filesys.texi (Directory Entries): Mention that d_namlen
59654         is an optional BSD extension.
59656         [BZ #10254]
59657         * manual/stdio.texi (Opening Streams): Document additional fopen
59658         parameters.
59660 2012-04-09  Roland McGrath  <roland@hack.frob.com>
59662         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
59663         %eax without telling the compiler.
59665 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
59667         [BZ # 13963]
59668         * manual/install.texi: Use sourceware.org.
59670 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
59672         [BZ #13873]
59673         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
59674         (__ieee754_pow): Generate overflow and underflow using huge*huge
59675         and tiny*tiny rather than just returning constant infinity or zero
59676         for large exponents.
59677         * math/libm-test.inc (pow_test): Require overflow exceptions for
59678         applicable cases of large exponents.
59680         [BZ #706]
59681         * sysdeps/i386/fpu/e_pow.S (p10): New object.
59682         (__ieee754_pow): Use iterative multiplication algorithm only for
59683         integer exponents with absolute value below 1024.  Check for odd
59684         integer exponents when using algorithm for real exponents.
59685         * math/libm-test.inc (pow_test): Add more tests.
59686         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59688 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
59690         [BZ #13705]
59691         * math/libm-test.inc (exp_test): Do not allow overflow exception
59692         on underflow test.
59694 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
59696         [BZ #13705]
59697         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
59698         instead of __kernel_standard_f.
59700 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
59702         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
59703         * sysdeps/x86_64/memset_chk.S: Likewise.
59705 2012-04-08  Andreas Jaeger  <aj@suse.de>
59707         [BZ #10153]
59708         * manual/startup.texi (Environment Access): Describe return value
59709         for putenv and setenv.
59711         [BZ #6895]
59712         * manual/filesys.texi (Directory Entries): Add description for
59713         DT_LNK.
59715         [BZ #6890]
59716         * manual/filesys.texi (Directory Entries): Clarify that it's file
59717         system not operating system in the description of DT_UNKNOWN.
59719         [BZ #6578]
59720         * manual/syslog.texi (closelog): Fix reference, it's openlog.
59722 2012-04-08  Stephen Compall  <s11@member.fsf.org>
59724         [BZ #6649]
59725         * manual/llio.texi (Opening and Closing Files): Add cross
59726         reference to explain mode argument.
59728 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
59730         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
59731         * sysdeps/x86_64/memset_chk.S: Likewise.
59733 2012-04-07  David S. Miller  <davem@davemloft.net>
59735         * elf/elf.h (R_SPARC_WDISP10): Define.
59736         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
59737         R_SPARC_SIZE32.
59738         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
59739         R_SPARC_SIZE64 and R_SPARC_H34.
59741 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
59743         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
59744         conditions and remove no longer applicable assertion.
59746 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
59748         * bits/byteswap.h: Include <features.h>.
59749         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
59750         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
59752 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
59754         * bits/byteswap.h (__bswap_16): Removed.
59755         Include <bits/byteswap-16.h> to get __bswap_16.
59756         * sysdeps/i386/bits/byteswap.h: Likewise.
59757         * sysdeps/s390/bits/byteswap.h: Likewise.
59758         * sysdeps/x86_64/bits/byteswap.h: Likewise.
59759         * bits/byteswap-16.h: New file.
59760         * sysdeps/i386/bits/byteswap-16.h: Likewise.
59761         * sysdeps/s390/bits/byteswap-16.h: Likewise.
59762         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
59763         * string/Makefile (headers): Add bits/byteswap-16.h.
59765 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
59767         [BZ #13895]
59768         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
59769         extra indirection.
59770         * nss/Makefile (tests-static, tests): Add tst-nss-static.
59771         * nss/tst-nss-static.c: New.
59773 2012-04-06  Robert Millan  <rmh@gnu.org>
59775         [BZ #6486]
59776         * manual/llio.texi (File Position Primitive): lseek
59777         refers to WHENCE when it really means OFFSET.
59779 2012-04-06  Andreas Jaeger  <aj@suse.de>
59781         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
59782         strncmp declarations.
59784         * abilist/libc.abilist: Add __poll and __ppoll.
59786 2012-04-05  David S. Miller  <davem@davemloft.net>
59788         * scripts/check-local-headers.sh: Accept a host triplet in the
59789         path matched by the exclude regexp.
59791         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
59792         definition.
59793         * sysdeps/powerpc/powerpc32/dl-machine.h
59794         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
59795         * sysdeps/s390/s390-32/dl-machine.h
59796         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
59797         * sysdeps/sparc/sparc32/dl-machine.h
59798         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
59799         * sysdeps/sparc/sparc64/dl-machine.h
59800         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
59802         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
59803         lazy binding.
59804         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
59805         undefined symbol errors.
59807         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
59808         DT_NEEDED entries.
59810 2012-04-05  Michael Matz  <matz@suse.de>
59812         [BZ #13592]
59813         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
59815 2012-04-05  Andreas Jaeger  <aj@suse.de>
59817         [BZ #13908]
59818         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
59819         comment.
59821 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
59823         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
59824         which ROUND is no valid rounding mode.
59826 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
59828         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
59829         read again.
59830         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
59832 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
59834         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
59835         an exception using FPU order intentionally.
59837 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
59839         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
59840         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
59841         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
59842         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
59844 2012-04-05  Simon Josefsson  <simon@josefsson.org>
59846         [BZ #12340]
59847         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
59848         EINVAL when BUFLEN is too smal.
59850 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
59852         [BZ #13553]
59853         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
59854         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
59856 2012-04-03  Andreas Jaeger  <aj@suse.de>
59858         [BZ #13938]
59859         * manual/setjmp.texi (System V contexts): Fix sentence.
59861         [BZ #13926]
59862         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
59863         New macro for this case.
59864         [!__GNUC__] (__bswap_64): New inline function for this case.
59865         * sysdeps/x86_64/bits/byteswap.h: Likewise.
59866         * bits/byteswap.h: Likewise.
59867         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
59868         ull, guard with __GLIBC_HAVE_LONG_LONG.
59870         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
59871         __GLIBC_HAVE_LONG_LONG.
59873         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
59874         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
59876 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
59878         [BZ #13691]
59879         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
59880         inptr and inend, rather than using last_ch.
59882 2012-04-02  David S. Miller  <davem@davemloft.net>
59884         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
59885         * stdio-common/printf-parse.h (read_int): Change return type to
59886         'int', return -1 on INT_MAX overflow.
59887         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
59888         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
59889         overflows INT_MAX.  Check for overflow of in-format-string precision
59890         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
59891         SIZE_MAX not INT_MAX for integer overflow test.
59892         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
59893         skip the construct in the format string but do not record anything.
59894         * stdio-common/bug22.c: Adjust to test both width/prevision
59895         INT_MAX overflow as well as total length INT_MAX overflow.  Check
59896         explicitly for proper errno values.
59898 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
59900         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
59901         CHAR_MAX.
59902         * string/test-strcmp.c [! WIDE]: Likewise.
59903         * time/tst-mktime2.c: Likewise for INT_MAX.
59904         * string/test-string.h: #include <sys/param.h> for MIN.
59906         * csu/init-first.c (__libc_init_first): Call __ctype_init.
59907         * sysdeps/i386/init-first.c (init): Likewise.
59908         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
59909         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
59910         * sysdeps/sh/init-first.c (init): Likewise.
59912 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
59914         * po/ru.po: Update from translation team.
59915         * po/vi.po: Likewise.
59917 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
59919         * resolv/nss_dns/dns-host.c: Merge copyright years.
59921 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59923         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
59924         Optimize memcpy with prefetch if
59925         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
59926         src, dst pointers have unequal 16 byte alignments.
59928 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
59930         [BZ #13928]
59931         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
59932         from a CNAME entry and return the minimum ttl for the query.
59933         (gaih_getanswer_slice): Likewise.
59935 2012-03-30  Jeff Law  <law@redhat.com>
59937         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
59938         due to long keys.
59939         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
59940         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
59942         * resolv/nss_dns/dns-host.c: Update copyright year.
59944 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
59946         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
59947         requests to save a system call.  Fix check that all bytes are sent.
59949         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
59950         comments for sendmmsg.
59952 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59954         [BZ #13691]
59955         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
59956         with only 1 character between 0x0041 and 0x01b0.
59957         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
59958         * wcsmbs/tst-mbsnrtowcs.c: New file.
59960 2012-03-29  David S. Miller  <davem@davemloft.net>
59962         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
59963         small copies by hand.
59965 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
59967         [BZ #13761]
59968         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
59969         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
59970         group memberships.
59972 2012-03-28  David S. Miller  <davem@davemloft.net>
59974         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
59975         that branches into memcpy.
59976         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
59977         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
59978         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
59979         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
59980         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
59981         bits.
59982         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
59983         implementation too.
59984         * sysdeps/sparc/mempcpy.S: New file.
59986         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
59987         the IFUNC routine in the libc case.
59988         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
59990         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
59991         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
59992         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
59993         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
59994         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
59995         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
59996         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
59997         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
59999         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
60000         loop to 256 bytes instead of 64 bytes and fix test signedness.
60002         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
60003         * sysdeps/sparc/sparc32/Makefile: rather than here...
60004         * sysdeps/sparc/sparc64/Makefile: and here.
60006 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
60008         * malloc/mallocbug.c: Avoid warnings about unused variables.
60010 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
60012         [BZ #13760]
60013         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
60014         in the right place. Discard and retry query if response is
60015         larger than input buffer size.
60017 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
60019         [BZ #369]
60020         [BZ #2678]
60021         [BZ #3866]
60022         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
60023         x for large integer exponent.
60024         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
60025         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
60026         sign of result as needed afterwards.
60027         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
60028         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
60029         result for underflowing pow the same as for overflow.
60030         (__kernel_standard_l): Handle powl overflow and underflow here
60031         rather than calling __kernel_standard.
60032         * math/libm-test.inc (pow_test): Add more tests.
60034         [BZ #3868]
60035         [BZ #13879]
60036         [BZ #13910]
60037         [BZ #13911]
60038         [BZ #13912]
60039         [BZ #13913]
60040         [BZ #13915]
60041         [BZ #13916]
60042         [BZ #13917]
60043         [BZ #13918]
60044         [BZ #13919]
60045         [BZ #13920]
60046         [BZ #13921]
60047         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
60048         * sysdeps/ieee754/k_standard.c: Include <float.h>.
60049         (__kernel_standard_l): New function.
60050         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
60051         __kernel_standard.
60052         * math/w_acosl.c (__acosl): Likewise.
60053         * math/w_asinl.c (__asinl): Likewise.
60054         * math/w_atan2l.c (__atan2l): Likewise.
60055         * math/w_atanhl.c (__atanhl): Likewise.
60056         * math/w_coshl.c (__coshl): Likewise.
60057         * math/w_exp10l.c (__exp10l): Likewise.
60058         * math/w_exp2l.c (__exp2l): Likewise.
60059         * math/w_fmodl.c (__fmodl): Likewise.
60060         * math/w_hypotl.c (__hypotl): Likewise.
60061         * math/w_j0l.c (__j0l, __y0l): Likewise.
60062         * math/w_j1l.c (__j1l, __y1l): Likewise.
60063         * math/w_jnl.c (__jnl, __ynl): Likewise.
60064         * math/w_lgammal.c (__lgammal): Likewise.
60065         * math/w_log10l.c (__log10l): Likewise.
60066         * math/w_log2l.c (__log2l): Likewise.
60067         * math/w_logl.c (__logl): Likewise.
60068         * math/w_powl.c (__powl): Likewise.
60069         * math/w_remainderl.c (__remainderl): Likewise.
60070         * math/w_scalbl.c (sysv_scalbl): Likewise.
60071         * math/w_sinhl.c (__sinhl): Likewise.
60072         * math/w_sqrtl.c (__sqrtl): Likewise.
60073         * math/w_tgammal.c (__tgammal): Likewise.
60074         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
60075         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
60076         * math/libm-test.inc (acos_test): Add more tests.
60077         (acosh_test): Likewise.
60078         (asin_test): Likewise.
60079         (atanh_test): Likewise.
60080         (exp_test): Likewise.
60081         (exp10_test): Likewise.
60082         (exp2_test): Likewise.
60083         (expm1_test): Likewise.
60084         (lgamma_test): Likewise.
60085         (log_test): Likewise.
60086         (log10_test): Likewise.
60087         (log1p_test): Likewise.
60088         (log2_test): Likewise.
60089         (pow_test): Do not allow some spurious overflow exceptions.
60090         (sqrt_test): Add more tests.
60091         (tgamma_test): Likewise.
60092         (y0_test): Likewise.
60093         (y1_test): Likewise.
60094         (yn_test): Likewise.
60096 2012-03-27  Anton Blanchard  <anton@samba.org>
60098         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
60099         MAP_HUGETLB.
60100         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
60101         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
60102         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
60104 2012-03-27  David S. Miller  <davem@davemloft.net>
60106         * conform/Makefile: Run run-conformtest.sh using $(BASH).
60108         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
60109         have-as-vis3 check.
60111 2012-03-27  Andreas Jaeger  <aj@suse.de>
60113         * sysdeps/x86_64/elf/configure.in: Moved to ...
60114         * sysdeps/x86_64/configure.in: ... here.
60115         * sysdeps/x86_64/elf/start.S: Moved to ...
60116         * sysdeps/x86_64/start.S: ... here.
60117         * sysdeps/x86_64/elf/configure: Delete.
60119         * sysdeps/x86_64/configure.in: Merge contents from
60120         sysdeps/i386/configure.in (without i686 check).
60122         * sysdeps/i386/elf/Versions: Merge into ...
60123         * sysdeps/i386/Versions: ... this.
60124         * sysdeps/i386/elf/Versions: Delete file.
60125         * sysdeps/i386/elf/start.S: Moved to ...
60126         * sysdeps/i386/start.S: ...here.
60127         * sysdeps/i386/elf/configure.in: Merge into...
60128         * sysdeps/i386/configure.in: ...here.
60129         * sysdeps/i386/elf/configure.in: Delete file.
60130         * sysdeps/i386/elf/configure: Delete file.
60132         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
60133         * debug/backtracesyms.c: ... here.
60134         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
60135         * debug/backtracesymsfd.c: ... here.
60136         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
60137         * sysdeps/generic/ifunc-sel.h: ... here.
60139         * sysdeps/unix/i386/start.c: Delete file.
60140         * sysdeps/unix/sparc/start.c: Delete file.
60141         * sysdeps/unix/start.c: Delete file.
60143         * sysdeps/sh/elf/configure.in: Moved to ...
60144         * sysdeps/sh/configure.in: ... here.
60145         * sysdeps/sh/elf/start.S: Moved to ...
60146         * sysdeps/sh/start.S: ... here.
60147         * sysdeps/sh/elf/configure: Delete file.
60149         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
60150         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
60151         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
60152         * sysdeps/powerpc/powerpc64/entry.h: ... here.
60153         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
60154         * sysdeps/powerpc/powerpc64/start.S: here.
60155         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
60156         * sysdeps/powerpc/powerpc64/Makefile: ... this.
60157         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
60158         * sysdeps/powerpc/powerpc64/configure.in: ... this.
60159         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
60161         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
60162         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
60163         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
60164         * sysdeps/powerpc/powerpc32/start.S: ... here.
60165         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
60166         * sysdeps/powerpc/powerpc32/configure.in: ... this.
60167         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
60169         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
60170         * sysdeps/powerpc/ifunc-sel.h: ... here.
60171         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
60172         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
60174         * sysdeps/sparc/elf/configure.in: Moved to ...
60175         * sysdeps/sparc/configure.in: ... here.
60176         * sysdeps/sparc/elf/configure: Delete file.
60177         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
60178         * sysdeps/sparc/sparc32/start.S: ... here.
60179         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
60180         * sysdeps/sparc/sparc64/start.S: ... here.
60181         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
60182         * sysdeps/sparc/sparc32/Makefile: ... this.
60183         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
60184         * sysdeps/sparc/sparc64/Makefile: ... this.
60186         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
60187         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
60188         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
60189         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
60190         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
60191         * sysdeps/s390/s390-32/setjmp.S: ... here.
60192         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
60193         * sysdeps/s390/s390-32/configure.in: ... here.
60194         * sysdeps/s390/s390-32/elf/configure: Delete file.
60195         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
60196         * sysdeps/s390/s390-32/start.S: ... here.
60198         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
60199         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
60200         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
60201         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
60202         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
60203         * sysdeps/s390/s390-64/setjmp.S: ... here.
60204         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
60205         * sysdeps/s390/s390-64/configure.in: ... here
60206         * sysdeps/s390/s390-64/elf/configure: Delete file.
60207         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
60208         * sysdeps/s390/s390-64/start.S: ... here.
60209         * sysdeps/s390/s390-64/elf/configure: Delete.
60211         * configure.in: Remove support for elf directories in sysdeps.
60213         * configure: Regenerated.
60214         * sysdeps/i386/configure: Regenerated.
60215         * sysdeps/powerpc/powerpc32/configure: Regenerated.
60216         * sysdeps/powerpc/powerpc64/configure: Regenerated.
60217         * sysdeps/s390/s390-32/configure: Regenerated.
60218         * sysdeps/s390/s390-64/configure: Regenerated.
60219         * sysdeps/sh/configure: Regenerated.
60220         * sysdeps/sparc/configure: Regenerated.
60221         * sysdeps/x86_64/configure: Regenerated.
60223 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
60225         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60227         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
60228         denormal result into account.
60230 2012-03-25  Roland McGrath  <roland@hack.frob.com>
60232         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
60233         Reported by Allan McRae <allan@archlinux.org>.
60235 2012-03-23  Jeff Law  <law@redhat.com>
60237         * nss/getnssent.c (__nss_getent): Fix typo.
60239 2012-03-23  David S. Miller  <davem@davemloft.net>
60241         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60243 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
60245         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
60246         to pad to uint64_t for each field.
60247         (dl_tls_index): Replace unsigned long with uint64_t.
60249 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
60250         Paul Pluzhnikov  <ppluzhnikov@google.com>
60252         [BZ #6528]
60253         * grp/Makefile (otherlibs): Don't set it.
60254         * inet/Makefile (otherlibs): Likewise.
60255         * login/Makefile (otherlibs): Likewise.
60256         * nscd/Makefile (otherlibs): Likewise.
60257         * posix/Makefile (otherlibs): Likewise.
60258         * pwd/Makefile (otherlibs): Likewise.
60259         * rt/Makefile (otherlibs): Likewise.
60260         * sunrpc/Makefile (otherlibs): Likewise.
60261         * nss/Makefile (otherlibs): Likewise.
60262         Add libnss_files to routines and static-only-routines.
60263         ($(objpfx)getent): Remove rule.
60264         * resolv/Makefile: Add libnss_dns and libresolv to routines and
60265         static-only-routines.
60267 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
60269         [BZ #13892]
60270         * math/s_cexp.c: Include <float.h>.
60271         (__cexp): Handle exp result overflowing not necessarily
60272         overflowing both real and imaginary parts of result.
60273         * math/s_cexpf.c: Likewise.
60274         * math/s_cexpl.c: Likewise.
60275         * math/libm-test.inc (cexp_test): Add more tests.
60276         * sysdeps/i386/fpu/libm-test-ulps: Update.
60277         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60279 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
60281         * include/link.h (ELFW): New macro.
60282         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
60283         Replace ELF64_R_TYPE with ELFW(R_TYPE).
60285 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
60287         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
60288         with uint64_t.
60290 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
60292         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
60293         declaration.
60294         (struct La_x32_retval): Likewise.
60296 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
60298         * sysdeps/x86_64/preconfigure.in: New file.
60299         * sysdeps/x86_64/preconfigure: New generated file.
60301 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
60303         [BZ #13824]
60304         * math/e_exp2l.c: Include <float.h>.
60305         (__ieee754_exp2l): Handle overflow and underflow cases
60306         separately.  Only pass fractional part of argument to
60307         __ieee754_expl.
60308         * math/libm-test.inc (exp2_test): Add more tests.
60310         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
60311         negating x to take absolute value.
60312         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
60313         Likewise.
60314         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
60315         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
60316         Likewise.
60317         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
60318         computing low part if x was negated.
60319         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
60321 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
60323         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
60324         la_x32_gnu_pltexit.
60325         (pltexit): Cast int_retval to ptrdiff_t.
60326         * elf/tst-auditmod3b.c: Likewise.
60327         * elf/tst-auditmod4b.c: Likewise.
60328         * elf/tst-auditmod5b.c: Likewise.
60329         * elf/tst-auditmod6b.c: Likewise.
60330         * elf/tst-auditmod6c.c: Likewise.
60331         * elf/tst-auditmod7b.c: Likewise.
60333         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
60334         and x32_gnu_pltexit.
60336         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
60337         __ELF_NATIVE_CLASS.
60338         (La_x32_regs): New macro.
60339         (La_x32_retval): Likewise.
60340         (la_x32_gnu_pltenter): New function prototype.
60341         (la_x32_gnu_pltexit): Likewise.
60343 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
60345         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
60346         exponent.
60348         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60350         * configure.in (libc_cv_cc_nofma): Check for option to disable
60351         generation of FMA instructions.
60352         * configure: Regenerate.
60353         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
60354         * sysdeps/ieee754/dbl-64/Makefile: New file.
60355         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
60356         Remove brandred-fma4.
60357         (CFLAGS-brandred-fma4.c): Remove.
60358         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
60359         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
60360         define.
60361         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
60362         define.
60364 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
60366         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
60367         LLONG_MAX != LONG_MAX.
60368         (_itoa_word): Use _ITOA_WORD_TYPE on value.
60369         (_fitoa_word): Likewise.
60370         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
60371         LLONG_MAX != LONG_MAX.
60372         * stdio-common/_itowa.h: Include <_itoa.h>.
60373         (_itowa_word): Use _ITOA_WORD_TYPE on value.
60374         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
60375         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
60376         only if not defined.
60377         (_ITOA_WORD_TYPE): Likewise.
60378         (_itoa_word): Use _ITOA_WORD_TYPE on value.
60379         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
60381 2012-03-21  David S. Miller  <davem@davemloft.net>
60383         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60385 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
60387         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
60388         of x86_64 when setting libc_cv_slibdir, libdir and
60389         libc_cv_localedir.
60390         * sysdeps/unix/sysv/linux/configure: Regenerated.
60392 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
60394         * manual/lang.texi (Old Varargs): Remove section.
60395         (How Variadic): Update menu.
60396         (va_start): Do not mention varargs.h.
60398 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
60399             Joseph Myers  <joseph@codesourcery.com>
60401         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
60402         link test.
60403         * configure: Regenerated.
60405 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
60407         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
60408         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
60409         conformtest.pl
60411 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
60413         * NOTES: Remove.
60414         * Makefile (files-for-dist): Remove NOTES.
60415         (NOTES): Remove rule.
60416         * README: Don't refer to NOTES.
60417         * manual/creature.texi: Don't include macros.texi.
60418         * manual/intro.texi (creature.texi): Remove comment referring to
60419         NOTES.
60421         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
60422         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
60423         * configure: Regenerated.
60424         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
60425         LIBC_TRY_CC_OPTION.
60426         (libc_cv_as_i686): Likewise.
60427         (libc_cv_cc_avx): Likewise.
60428         (libc_cv_cc_sse2avx): Likewise.
60429         (libc_cv_cc_fma4): Likewise.
60430         (libc_cv_cc_novzeroupper): Likewise.
60431         * sysdeps/i386/configure: Regenerated.
60433         [BZ #13883]
60434         * sysdeps/i386/fpu/s_cexp.S: Remove.
60435         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
60436         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
60437         * math/libm-test.inc (cexp_test): Add more tests.
60438         * sysdeps/i386/fpu/libm-test-ulps: Update.
60439         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60441 2012-03-21  Allan McRae  <allan@archlinux.org>
60443         * timezone/Makefile: Do not install iso3166.tab and zone.tab
60445 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
60447         [BZ #13871]
60448         * math/w_exp2.c: Do not include <float.h>.
60449         (o_threshold, u_threshold): Remove.
60450         (__exp2): Calculate result before checking finiteness and calling
60451         __kernel_standard.
60452         * math/w_exp2f.c: Likewise.
60453         * math/w_exp2l.c: Likewise.
60454         * math/libm-test.inc (exp2_test): Require overflow exception for
60455         1e6 input.
60457         [BZ #3866]
60458         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
60459         range of signed 64-bit integers before using fistpll.  Remove
60460         checks for whether integers fit in mantissa bits.
60461         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
60462         the range of signed 32-bit integers before using fistpl.  Remove
60463         checks for whether integers fit in mantissa bits.
60464         * sysdeps/i386/fpu/e_powl.S (p64): New object.
60465         (__ieee754_powl): Test for y outside the range of signed 64-bit
60466         integers before using fistpll.  Reduce 64-bit values to 63-bit
60467         ones as needed.
60468         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
60469         divide-by-zero is raised for zero to large negative powers.
60470         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
60471         (__ieee754_powl): Test for y outside the range of signed 64-bit
60472         integers before using fistpll.  Reduce 64-bit values to 63-bit
60473         ones as needed.
60474         * math/libm-test.inc (pow_test): Add more tests.
60476 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
60478         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
60479         <stdio-common/_itoa.h>.
60480         * debug/segfault.c: Likewise.
60481         * elf/dl-cache.c: Likewise.
60482         * elf/dl-minimal.c: Likewise.
60483         * elf/dl-misc.c: Likewise.
60484         * elf/dl-sysdep.c: Likewise.
60485         * elf/dl-version.c: Likewise.
60486         * elf/rtld.c: Likewise.
60487         * hurd/hurdsock.c: Likewise.
60488         * hurd/lookup-retry.c: Likewise.
60489         * malloc/malloc.c: Likewise.
60490         * malloc/mtrace.c: Likewise.
60491         * nscd/nscd_getgr_r.c: Likewise.
60492         * nscd/nscd_getpw_r.c: Likewise.
60493         * nscd/nscd_getserv_r.c: Likewise.
60494         * posix/getopt_init.c: Likewise.
60495         * posix/wordexp.c: Likewise.
60496         * stdio-common/_itoa.c: Likewise.
60497         * stdio-common/printf_fphex.c: Likewise.
60498         * stdio-common/vfprintf.c: Likewise.
60499         * string/_strerror.c: Likewise.
60500         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
60501         * sysdeps/i386/i686/hp-timing.h: Likewise.
60502         * sysdeps/mach/_strerror.c: Likewise.
60503         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
60504         * sysdeps/mach/hurd/sethostid.c: Likewise.
60505         * sysdeps/mach/hurd/xmknodat.c: Likewise.
60506         * sysdeps/mach/xpg-strerror.c: Likewise.
60507         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
60508         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
60509         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
60510         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
60511         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
60512         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
60513         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
60514         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
60515         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
60516         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
60517         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
60518         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
60519         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
60520         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
60521         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
60522         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
60523         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
60524         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
60525         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
60526         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
60527         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
60529         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
60531         * stdio-common/_itoa.h: Moved to ...
60532         * sysdeps/generic/_itoa.h: Here.
60534         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
60536         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
60537         instead of "_itoa.h" and "_itowa.h".
60538         * stdio-common/vfprintf.: Likewise.
60540 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
60542         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
60543         <bits/wordsize.h>.
60544         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
60545         (__signbit): Likwise.
60546         (llrintf): Likwise.
60547         (llrint): Likwise.
60549 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
60551         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
60552         __WORDSIZE != 64.
60554 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
60556         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
60557         OVERFLOW_EXCEPTION_OK.
60558         * math/libm-test.inc ("Philosophy"): Update comment about
60559         exception testing.
60560         (OVERFLOW_EXCEPTION): Define.
60561         (OVERFLOW_EXCEPTION_OK): Likewise.
60562         (INVALID_EXCEPTION_OK): Renumber.
60563         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
60564         (IGNORE_ZERO_INF_SIGN): Likewise.
60565         (test_exceptions): Handle FE_OVERFLOW.
60566         (exp10_test): Expect overflow exceptions.
60567         (exp2_test): Likewise.
60568         (expm1_test): Likewise.
60569         (nextafter_test): Likewise.
60570         (pow_test): Likewise.
60571         (scalbn_test): Likewise.
60572         (scalbln_test): Likewise.
60574 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
60576         * sysdeps/x86_64/bits/atomic.h
60577         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
60578         64bit integer.
60579         (atomic_exchange_acq): Likewise.
60580         (__arch_exchange_and_add_body): Likewise.
60581         (__arch_add_body): Likewise.
60582         (atomic_add_negative): Likewise.
60583         (atomic_add_zero): Likewise.
60585 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
60587         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
60588         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
60590 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
60592         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
60593         Check __x86_64__ instead of __WORDSIZE.
60595 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
60597         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
60599 2012-03-19  David S. Miller  <davem@davemloft.net>
60601         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60603         * sysdeps/sparc/fpu/fenv_private.h: New file.
60604         * sysdeps/sparc/fpu/math_private.h: Use it.
60605         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
60606         Remove.
60607         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
60608         (libc_feholdexcept_setroundl): Remove.
60609         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
60610         Remove.
60611         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
60612         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
60614 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
60616         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
60617         int64_t instead of long int.
60618         (INSERT_WORDS64): Likwise.
60620 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
60622         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
60623         _Unwind_GetCFA return to _Unwind_Ptr first.
60625 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
60627         [BZ #13629]
60628         * math/s_clog.c: Include <float.h>.
60629         (__clog): Scale large or subnormal inputs.
60630         * math/s_clogf.c: Likewise.
60631         * math/s_clogl.c: Likewise.
60632         * math/s_clog10.c: Include <float.h>.
60633         (M_LOG10_2): Define.
60634         (__clog10): Scale large or subnormal inputs.
60635         * math/s_clog10f.c: Likewise.
60636         * math/s_clog10l.c: Likewise.
60637         * math/libm-test.inc (clog_test): Add more tests.
60638         (clog10_test): Likewise.
60639         * sysdeps/i386/fpu/libm-test-ulps: Update.
60640         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60642         [BZ #11451]
60643         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
60644         x and y.
60645         * math/libm-test.inc (atan2_test): Add another test.
60647         * Makerules (common-objdir-compile): Remove.
60648         * sysdeps/unix/Makefile (config-generated): Do not add
60649         $(unix-generated) to variable.
60650         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
60651         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
60652         Remove rule.
60653         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
60654         Likewise.
60655         [generic bits/local_lim.h] (before-compile): Do not append to
60656         variable.
60657         [generic bits/local_lim.h] (common-generated): Likewise.
60658         [generic sys/param.h] (before-compile): Do not append to variable.
60659         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
60660         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
60661         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
60662         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
60663         include.
60664         [generic sys/param.h] (sys/param.h-includes): Remove variable.
60665         [generic sys/param.h] (sys/param.h-includes): Remove rule.
60666         [generic sys/param.h] ($(addprefix
60667         $(common-objpfx),$(sys/param.h-includes))): Likewise.
60668         [generic sys/param.h] (common-generated): Do not append to
60669         variable.
60670         [generic sys/param.h] (sysdep_headers): Likewise.
60671         [generic bits/errno.h] (before-compile): Do not append to
60672         variable.
60673         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
60674         rule.
60675         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
60676         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
60677         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
60678         [generic bits/errno.h] (common-generated): Do not append to
60679         variable.
60680         [generic bits/ioctls.h] (before-compile): Do not append to
60681         variable.
60682         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
60683         rule.
60684         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
60685         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
60686         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
60687         rule.
60688         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
60689         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
60690         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
60691         [generic bits/ioctls.h] (common-generated): Do not append to
60692         variable.
60693         [generic sys/syscall.h] (syscall.h): Remove variable.
60694         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
60695         rule.
60696         [generic sys/syscall.h] (before-compile): Do not append to
60697         variable.
60698         [generic sys/syscall.h] (common-generated): Likewise.
60699         * sysdeps/unix/errnos-tmpl.c: Remove file.
60700         * sysdeps/unix/errnos.awk: Likewise.
60701         * sysdeps/unix/ioctls-tmpl.c: Likewise.
60702         * sysdeps/unix/ioctls.awk: Likewise.
60703         * sysdeps/unix/mk-local_lim.c: Likewise.
60704         * sysdeps/unix/snarf-ioctls: Likewise.
60706 2012-03-19  Richard Henderson  <rth@twiddle.net>
60708         * sysdeps/i386/fpu/fenv_private.h: New file.
60709         * sysdeps/i386/fpu/math_private.h: Use it.
60710         (math_opt_barrier, math_force_eval): Remove.
60711         (libc_feholdexcept_setround_53bit): Remove.
60712         (libc_feupdateenv_53bit): Remove.
60713         * sysdeps/x86_64/fpu/math_private.h: Likewise.
60714         (math_opt_barrier, math_force_eval): Remove.
60715         (libc_feholdexcept): Remove.
60716         (libc_feholdexcept_setround): Remove.
60717         (libc_fetestexcept, libc_fesetenv): Remove.
60718         (libc_feupdateenv_test): Remove.
60719         (libc_feupdateenv, libc_feholdsetround): Remove.
60720         (libc_feresetround): Remove.
60722         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
60723         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
60725         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
60726         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
60727         (libc_feupdateenv_testl): New.
60728         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
60729         (libc_feupdateenv_testf): New.
60730         (libc_feupdateenv): Use libc_feupdateenv_test.
60731         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
60732         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
60734         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
60735         (libc_feholdsetroundf, libc_feholdsetroundl): New.
60736         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
60737         (libc_feresetround_noex): New.
60738         (libc_feresetround_noexf): New.
60739         (libc_feresetround_noexl): New.
60740         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
60741         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
60742         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
60743         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
60744         SET_RESTORE_ROUND.
60745         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
60746         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
60747         (__cos): Likewise.
60748         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
60749         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
60750         SET_RESTORE_ROUND_NOEX.
60751         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
60752         SET_RESTORE_ROUND_NOEXF.
60753         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
60754         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
60755         (libc_feholdsetroundf): New.
60756         (libc_feresetround, libc_feresetroundf): New.
60758         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
60759         (libc_feholdexcept_setround_53bit): Convert from macro to function.
60760         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
60762         * sysdeps/generic/math_private.h: Include <fenv.h>.
60763         (default_libc_feholdexcept): New.
60764         (default_libc_feholdexcept_setround): New.
60765         (default_libc_fesetenv, default_libc_feupdateenv): New.
60766         (libc_feholdexcept): Only define if undefined.
60767         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
60768         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
60769         (libc_feholdexcept_setroundl): Likewise.
60770         (libc_feholdexcept_setround_53bit): Likewise.
60771         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
60772         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
60773         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
60774         (libc_feupdateenv_53bit): Likewise.
60775         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
60776         (libc_feholdexcept): Convert from macro to inline function.
60777         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
60778         (libc_fesetenv, libc_feupdateenv): Likewise.
60780         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
60781         not previously defined.
60782         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
60783         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
60784         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
60785         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
60786         * sysdeps/ieee754/flt-32/math_private.h: New file.
60787         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
60788         math_private.h below SET_FLOAT_WORD.
60789         (__isnan, __isinf_ns, __finite): Remove.
60790         (__isnanf, __isinf_nsf, __finitef): Remove.
60792 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
60794         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60796 2012-03-17  David S. Miller  <davem@davemloft.net>
60798         [BZ #6471]
60799         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
60800         for 2.16.
60802 2012-03-16  David S. Miller  <davem@davemloft.net>
60804         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
60805         warnings.
60807         [BZ #6471]
60808         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
60809         properly.
60810         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
60811         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
60812         sysdep_routines when subdir is sysvipc.
60813         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
60814         __getshmlba helper.
60816         * sysdeps/sparc/fpu/libm-test/ulps: Update.
60818 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
60820         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
60821         [__LP64__].
60823 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
60825         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
60826         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
60827         (__lround): Renamed to ...
60828         (__llround): This.  Replace long int with long long int.
60829         Define lround functions as aliases of llround functions.
60830         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
60832 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
60834         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
60835         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
60836         adresses to uintptr_t.  Replace "long int" and "unsigned long
60837         int" with "greg_t" on va_arg.
60839 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
60841         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
60842         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
60844         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
60845         Move e_machine check before EI_CLASS check.  Handle x32
60846         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
60847         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
60848         SKIP_EM_IA_64 and include
60849         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
60851         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
60852         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
60853         (add_system_dir): New macro.
60855         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
60856         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
60858 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
60860         [BZ #2551]
60861         [BZ #2552]
60862         [BZ #2553]
60863         [BZ #2554]
60864         [BZ #2562]
60865         [BZ #2563]
60866         [BZ #2565]
60867         [BZ #2566]
60868         [BZ #2576]
60869         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
60870         (y0): Likewise.
60871         * math/w_j0f.c (j0f): Likewise.
60872         (y0f): Likewise.
60873         * math/w_j0l.c (__j0l): Likewise.
60874         (__y0l): Likewise.
60875         * math/w_j1.c (j1): Likewise.
60876         (y1): Likewise.
60877         * math/w_j1f.c (j1f): Likewise.
60878         (y1f): Likewise.
60879         * math/w_j1l.c (__j1l): Likewise.
60880         (__y1l): Likewise.
60881         * math/w_jn.c (jn): Likewise.
60882         (yn): Likewise.
60883         * math/w_jnf.c (jnf): Likewise.
60884         (ynf): Likewise.
60885         * math/w_jnl.c (__jnl): Likewise.
60886         (__ynl): Likewise.
60887         * math/libm-test.inc (j0_test): Add more tests.
60888         (j1_test): Likewise.
60889         (jn_test): Likewise.  Add trailing semicolon to existing test.
60890         (y0_test): Likewise.
60891         (y1_test): Likewise.
60892         * sysdeps/i386/fpu/libm-test-ulps: Update.
60893         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60895         [BZ #13851]
60896         [BZ #13854]
60897         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
60898         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
60899         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
60900         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
60901         (__tanl): Set errno for infinite argument.
60902         * sysdeps/i386/fpu/mptan.c: Remove.
60903         * sysdeps/i386/fpu/s_tan.S: Likewise.
60904         * sysdeps/i386/fpu/s_tanl.S: Likewise.
60905         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
60906         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
60907         * math/libm-test.inc (tan_test): Add more tests and enable more
60908         tests for double and long double.
60909         * sysdeps/i386/fpu/libm-test-ulps: Update.
60910         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60912 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
60914         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
60915         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
60917 2012-03-16  Roland McGrath  <roland@hack.frob.com>
60919         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
60920         * configure.in: Use it for both main tree and add-ons.
60921         * configure: Regenerated.
60923 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
60925         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
60927 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
60929         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
60930         in comment.
60932         [BZ #13851]
60933         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
60934         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
60935         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
60936         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
60937         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
60938         infinite argument.
60939         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
60940         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
60941         != 0 for prec == 2.
60942         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
60943         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
60944         * sysdeps/i386/fpu/s_cosl.S: Likewise.
60945         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
60946         * sysdeps/i386/fpu/s_sinl.S: Likewise.
60947         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
60948         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
60949         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
60950         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
60951         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
60952         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
60953         * math/libm-test.inc (cos_test): Add more tests and enable more
60954         tests for long double.
60955         (sin_test): Likewise.
60956         (sincos_test): Likewise.
60957         * sysdeps/i386/fpu/libm-test-ulps: Update.
60958         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60960 2012-03-16  David S. Miller  <davem@davemloft.net>
60962         * sysdeps/sparc/fpu/math_private.h: New file.
60964 2012-03-15  David S. Miller  <davem@davemloft.net>
60966         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
60967         file.
60968         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
60969         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
60970         file.
60971         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
60972         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
60973         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
60974         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
60975         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
60976         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
60977         sysdep routines.
60978         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
60980         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
60981         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
60983         * sysdeps/sparc/sparc-ifunc.h: New file.
60984         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
60985         sparc-ifunc.h
60986         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
60987         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
60988         Likewise.
60989         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
60990         Likewise.
60991         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
60992         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
60993         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
60994         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
60995         Likewise.
60996         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
60997         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
60998         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
60999         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
61000         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
61001         Likewise.
61002         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
61003         Likewise.
61004         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
61005         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
61006         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
61007         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
61008         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
61009         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
61010         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
61011         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
61012         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
61013         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
61014         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
61015         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
61016         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
61017         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
61018         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
61019         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
61020         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
61021         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
61022         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
61023         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
61024         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
61025         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
61026         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
61027         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
61029 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
61031         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
61032         scaling.
61033         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61035 2012-03-15  Andreas Jaeger  <aj@suse.de>
61037         [BZ #13852]
61038         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
61039         ieee754/flt-32 implementation for sin, cos and sincos.
61040         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
61041         * sysdeps/i386/fpu/s_cosf.S: Likewise.
61042         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
61043         * sysdeps/i386/fpu/s_sinf.S: Likewise.
61044         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
61045         ieee754/flt-32 implementation for tan.
61047         * math/libm-test.inc (cos_test): Enable some large input tests for
61048         float as well
61049         (sin_test): Likewise.
61050         (sincos_test): Likewise.
61051         (tan_test): Add tests for large input.
61053         * sysdeps/i386/fpu/libm-test-ulps: Update.
61055 2012-03-15  Andreas Jaeger  <aj@suse.de>
61057         [BZ #13658]
61058         * math/libm-test.inc (cos_test): Add more test cases.
61059         (sin_test): Likewise.
61060         (sincos_test): Likewise.
61062 2012-03-15  Andreas Jaeger  <aj@suse.de>
61064         [BZ #13837]
61065         * math/libm-test.inc (cos_test): Add a test case for large input
61066         value.
61067         (sin_test): Likewise.
61068         (sincos_test): Likewise.
61070 2012-03-15  Andreas Jaeger  <aj@suse.de>
61071             Joseph Myers  <joseph@codesourcery.com>
61073         [BZ #13658]
61074         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
61075         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
61076         * sysdeps/i386/fpu/branred.c: Likewise.
61077         * sysdeps/i386/fpu/dosincos.c: Likewise.
61078         * sysdeps/i386/fpu/mpa.c: Likewise.
61079         * sysdeps/i386/fpu/s_cos.S: Likewise.
61080         * sysdeps/i386/fpu/s_sin.S: Likewise.
61081         * sysdeps/i386/fpu/s_sincos.S: Likewise.
61082         * sysdeps/i386/fpu/sincos32.c: Likewise.
61084         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
61085         Define.
61086         (libc_feupdateenv_53bit): Define.
61087         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
61088         Define.
61089         (libc_feupdateenv_53bit): Define.
61091         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
61092         53 bit (without extend i386 double precision).
61094         * math/libm-test.inc (sincos_test): Add tests for large input.
61095         (sin): Likewise.
61096         (cos): Likewise.
61098         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
61100 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
61102         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61104 2012-03-15  David S. Miller  <davem@davemloft.net>
61106         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
61107         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
61108         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
61109         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
61110         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
61111         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
61112         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
61113         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
61114         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
61115         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
61116         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
61117         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
61118         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
61119         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
61120         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
61121         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
61122         file.
61123         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
61124         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
61125         file.
61126         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
61127         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
61128         file.
61129         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
61130         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
61131         file.
61132         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
61133         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
61134         fmin/fmax sysdep routines.
61135         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
61137 2012-03-14  David S. Miller  <davem@davemloft.net>
61139         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
61140         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
61141         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
61142         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
61143         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
61144         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
61145         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
61146         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
61147         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
61148         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
61149         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
61150         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
61151         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
61152         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
61153         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
61154         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
61155         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
61156         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
61157         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
61158         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
61159         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
61160         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
61161         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
61162         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
61163         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
61164         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
61165         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
61166         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
61167         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
61168         routines.
61169         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
61170         file.
61171         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
61172         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
61173         file.
61174         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
61175         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
61176         file.
61177         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
61178         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
61179         file.
61180         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
61181         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
61182         file.
61183         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
61184         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
61185         file.
61186         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
61187         file.
61188         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
61189         file.
61190         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
61191         file.
61192         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
61193         New file.
61194         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
61195         file.
61196         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
61197         file.
61198         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
61199         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
61200         file.
61201         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
61202         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
61203         file.
61204         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
61205         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
61206         file.
61207         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
61208         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
61209         VIS3 routines.
61211         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
61212         New file.
61214         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61216         * sysdeps/sparc/configure.in: New file.
61217         * sysdeps/sparc/configure: Generate.
61218         * configure.in (libc_cv_sparc_as_vis3): Substitute.
61219         * configure: Regenerate.
61220         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
61221         * config.make.in (have-as-vis3): New.
61222         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
61223         available use -Av9d instead of -Av9a.
61224         * sysdeps/sparc/sparc64/Makefile: Likewise.
61225         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
61226         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
61227         New file.
61228         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
61229         file.
61230         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
61231         New file.
61232         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
61233         file.
61234         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
61235         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
61236         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
61237         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
61238         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
61240         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
61241         fzeros/fnegs to load 0x80000000 into a float register instead of
61242         using the stack.
61243         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
61245 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
61247         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61248         bits/syscall.h.
61249         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
61250         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
61251         ($(inst_includedir)/bits/syscall.h): Remove rule.
61252         ($(objpfx)bits/syscall.d): Include instead of
61253         $(objpfx)syscall-list.d.
61254         (generated): Change syscall-list.h and syscall-list.d to
61255         bits/syscall.h and bits/syscall.d.
61257 2012-03-14  Roland McGrath  <roland@hack.frob.com>
61259         [BZ #13846]
61260         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
61262 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
61264         [BZ #13841]
61265         * math/s_csqrt.c: Include <float.h>.
61266         (__csqrt): Scale large or subnormal inputs.
61267         * math/s_csqrtf.c: Likewise.
61268         * math/s_csqrtl.c: Likewise.
61269         * math/libm-test.inc (csqrt_test): Add more tests.
61270         * sysdeps/i386/fpu/libm-test-ulps: Update.
61271         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61273         [BZ #13840]
61274         * math/libm-test.inc (hypot_test): Add more tests.
61276 2012-03-13  David S. Miller  <davem@davemloft.net>
61278         [BZ #13840]
61279         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
61280         double-precision for the calculation instead of scaling.
61282 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
61284         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
61285         manipulate bits before adding and subtracting TWO52[sx].
61286         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
61287         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
61288         Likewise.
61289         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
61291 2012-03-13  David S. Miller  <davem@davemloft.net>
61293         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
61294         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
61295         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
61296         rtld-global-offsets.h
61297         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
61299         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
61300         large parameters.
61302         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
61304         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
61305         'err' in the ifdef scope in which it is actually used.
61307         * nss/nss_db/db-init.c: Include string.h
61309 2012-03-12  David S. Miller  <davem@davemloft.net>
61311         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
61312         masking out of the most significant byte of random value used.
61313         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
61314         Fix coding style in previous change.
61316         * sysdeps/unix/sysv/linux/kernel-features.h
61317         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
61318         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
61319         expression.
61320         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
61321         later.
61323 2012-03-11  David S. Miller  <davem@davemloft.net>
61325         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
61326         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
61327         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
61328         for 'resultvar' otherwise things get truncated on 64-bit.
61330         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
61331         Fix masking out of the most significant byte of random value used.
61333         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61335 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
61337         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61339 2012-03-09  David S. Miller  <davem@davemloft.net>
61341         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
61342         variables with appropriate CPP guards.
61343         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
61344         from the frame pointer, not the stack pointer.  Correct layout
61345         comments.  Fix test on resulting framesize and the management of
61346         the outregs buffer for pltexit.  Preserve floating point return
61347         values across _dl_call_pltexit call.
61348         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
61349         framesize and the management of the outregs buffer for pltexit.
61350         Preserve floating point return values across _dl_call_pltexit
61351         call.
61352         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
61353         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
61354         (la_sparc64_gnu_pltexit): New functions.
61355         (print_exit): Fix format string for return register value.
61357 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
61359         * sunrpc/Makefile (others): Add rpcgen.
61360         ($(objpfx)rpcgen): Remove special build rule and dependency on
61361         libc.
61362         * sunrpc/rpcgen.c: New file.
61364 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
61366         [BZ #13673]
61367         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
61368         * stdio-common/bug-vfprintf-nargs.c: Likewise.
61369         * sysdeps/i386/crti.S: Likewise.
61370         * sysdeps/i386/crtn.S: Likewise.
61371         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
61372         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
61373         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
61374         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
61375         * sysdeps/sh/crti.S: Likewise.
61376         * sysdeps/sh/crtn.S: Likewise.
61377         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
61379         [BZ #13673]
61380         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
61381         with URL.
61382         * locale/programs/locfile-kw.gperf: Likewise.
61383         * locale/programs/charmap-kw.h: Regenerated.
61384         * locale/programs/locfile-kw.h: Likewise.
61386         [BZ #13673]
61387         * intl/plural.y: Replace FSF snail mail address with URL.
61388         * intl/plural.c: Regenerated.
61390 2012-03-09  Richard Henderson  <rth@twiddle.net>
61392         * include/math_private.h: Remove file.
61393         * math/math_private.h: Move file ...
61394         * sysdeps/generic/math_private.h: ... here.
61396         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
61397         * sysdeps/powerpc/fpu/math_private.h: Likewise.
61398         * sysdeps/x86_64/fpu/math_private.h: Likewise.
61400         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
61401         and <math_private.h>.
61402         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
61403         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
61404         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
61405         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
61406         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
61407         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
61408         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
61409         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
61410         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
61411         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
61412         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
61413         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
61414         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
61415         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
61416         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
61417         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
61418         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
61419         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
61420         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
61421         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
61422         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
61423         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
61424         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
61425         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
61426         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
61427         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
61428         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
61429         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
61430         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
61431         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
61432         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
61433         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
61434         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
61435         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
61436         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
61437         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
61438         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
61439         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
61440         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
61441         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
61442         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
61443         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
61444         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
61445         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
61446         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
61447         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
61448         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
61449         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
61450         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
61451         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
61452         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
61453         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
61454         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
61455         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
61456         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
61457         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
61458         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
61459         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
61460         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
61461         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
61462         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
61463         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
61464         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
61465         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
61466         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
61467         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
61468         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
61469         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
61470         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
61471         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
61472         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
61473         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
61474         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
61475         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
61476         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
61477         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
61478         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
61479         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
61480         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
61481         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
61482         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
61483         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
61484         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
61485         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
61486         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
61487         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
61488         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
61489         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
61490         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
61491         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
61492         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
61493         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
61494         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
61495         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
61496         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
61497         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
61498         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
61499         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
61500         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
61501         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
61502         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
61503         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
61504         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
61505         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
61506         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
61507         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
61508         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
61509         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
61510         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
61511         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
61512         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
61513         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
61514         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
61515         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
61516         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
61517         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
61518         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
61519         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
61520         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
61521         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
61522         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
61523         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
61524         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
61525         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
61526         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
61527         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
61528         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
61529         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
61530         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
61531         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
61532         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
61533         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
61534         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
61535         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
61536         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
61537         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
61538         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
61539         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
61540         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
61541         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
61542         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
61543         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
61544         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
61545         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
61546         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
61547         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
61548         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
61549         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
61550         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
61551         * sysdeps/ieee754/k_standard.c: Likewise.
61552         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
61553         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
61554         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
61555         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
61556         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
61557         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
61558         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
61559         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
61560         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
61561         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
61562         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
61563         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
61564         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
61565         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
61566         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
61567         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
61568         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
61569         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
61570         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
61571         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
61572         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
61573         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
61574         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
61575         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
61576         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
61577         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
61578         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
61579         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
61580         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
61581         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
61582         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
61583         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
61584         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
61585         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
61586         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
61587         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
61588         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
61589         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
61590         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
61591         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
61592         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
61593         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
61594         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
61595         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
61596         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
61597         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
61598         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
61599         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
61600         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
61601         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
61602         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
61603         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
61604         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
61605         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
61606         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
61607         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
61608         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
61609         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
61610         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
61611         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
61612         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
61613         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
61614         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
61615         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
61616         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
61617         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
61618         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
61619         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
61620         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
61621         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
61622         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
61623         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
61624         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
61625         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
61626         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
61627         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
61628         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
61629         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
61630         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
61631         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
61632         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
61633         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
61634         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
61635         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
61636         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
61637         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
61638         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
61639         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
61640         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
61641         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
61642         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
61643         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
61644         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
61645         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
61646         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
61647         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
61648         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
61649         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
61650         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
61651         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
61652         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
61653         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
61654         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
61655         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
61656         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
61657         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
61658         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
61659         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
61660         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
61661         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
61662         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
61663         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
61664         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
61665         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
61666         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
61667         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
61668         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
61669         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
61670         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
61671         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
61672         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
61673         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
61674         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
61675         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
61676         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
61677         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
61678         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
61679         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
61680         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
61681         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
61682         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
61683         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
61684         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
61685         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
61686         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
61687         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
61688         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
61689         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
61690         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
61691         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
61692         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
61693         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
61694         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
61695         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
61696         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
61697         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
61698         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
61699         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
61700         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
61701         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
61702         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
61703         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
61704         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
61705         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
61706         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
61707         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
61708         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
61709         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
61710         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
61711         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
61712         * sysdeps/ieee754/s_lib_version.c: Likewise.
61713         * sysdeps/ieee754/s_matherr.c: Likewise.
61714         * sysdeps/ieee754/s_signgam.c: Likewise.
61715         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
61716         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
61717         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
61718         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
61719         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
61720         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
61721         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
61722         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
61723         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
61724         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
61725         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
61726         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
61727         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
61728         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
61729         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
61730         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
61731         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
61732         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
61733         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
61734         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
61735         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
61737 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
61739         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
61740         * sunrpc/rpc_main.c: Likewise.
61741         * sunrpc/rpc_svcout.c: Likewise.
61743 2012-03-09  David S. Miller  <davem@davemloft.net>
61745         * include/math_private.h: New file.
61747 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
61749         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
61750         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
61751         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
61752         from <bits/socket_type.h>.
61753         (enum __socket_type): Don't define here.
61754         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
61755         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61756         bits/socket_type.h.
61758         [BZ #13566]
61759         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
61760         checking __USE_GNU.
61762         * Makerules ($(inst_includedir)/%.h): New rule.
61763         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
61764         (install-others): Remove variable setting.
61765         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
61767 2012-03-08  Richard Henderson  <rth@twiddle.net>
61769         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
61770         from macro to inline function; merge with the
61771         !__LIBC_INTERNAL_MATH_INLINES version.
61772         (__ieee754_sqrtf): Likewise.
61774         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
61775         to inline function.
61776         (__rintf, __floor, __floorf): Likewise.
61778         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
61779         macro to inline function.
61780         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
61782         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
61783         not <math/math_private.h>.
61785 2012-03-08  David S. Miller  <davem@davemloft.net>
61787         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
61788         copyright year.
61789         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
61791 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
61793         * resolv/gai_misc.c (handle_requests): Fix struct timespec
61794         normalization.
61795         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
61796         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
61798 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
61800         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
61801         be defined individually, they must be defined as a block.  Define
61802         S for printing a string instead of hidint the different by using a
61803         macro for adding the 'l'.
61804         * stdio-common/tst-fphex-wide.c: Adjust.
61806 2012-03-07  Marek Polacek  <polacek@redhat.com>
61808         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
61810 2012-03-08  Marek Polacek  <polacek@redhat.com>
61812         [BZ #13806]
61813         * stdio-common/Makefile (tests): Add tst-fphex-wide.
61814         * stdio-common/tst-fphex.c: Define a few macros to make the
61815         test reusable.  Use them.
61816         * stdio-common/tst-fphex-wide.c: New file.
61818 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
61820         [BZ #6911]
61821         * manual/macros.texi (gnusystems): New macro.
61822         (nongnusystems): Likewise.
61823         (gnulinuxhurdsystems): Likewise.
61824         (gnuhurdsystems): Likewise..
61825         (gnulinuxsystems): Likewise.
61826         * manual/charset.texi: Use new macros or @theglibc{} to refer to
61827         variants of the GNU system, not "GNU system".
61828         * manual/conf.texi: Likewise.
61829         * manual/errno.texi: Likewise.  Update example of errno macro
61830         expansion.
61831         * manual/filesys.texi: Likewise.
61832         (getumask): Document as specific to GNU/Hurd.
61833         * manual/install.texi: Likewise.  Reword some references to
61834         GNU/Linux.
61835         * manual/intro.texi: Likewise.
61836         * manual/io.texi: Likewise.
61837         (File Name Portability): Detail which constraints are inapplicable
61838         to all GNU systems and which are only inapplicable to GNU/Hurd.
61839         * manual/job.texi: Likewise.
61840         * manual/llio.texi: Likewise.
61841         (O_NOCTTY): Document as present on GNU/Linux.
61842         * manual/maint.texi: Likewise.
61843         * manual/memory.texi: Likewise.
61844         * manual/pattern.texi: Likewise.
61845         * manual/pipe.texi: Likewise.
61846         * manual/process.texi: Likewise.
61847         * manual/resource.texi: Likewise.
61848         (RUSAGE_CHILDREN): Remove statement about specifying a particular
61849         child on GNU/Hurd.
61850         * manual/setjmp.texi: Likewise.
61851         * manual/signal.texi: Likewise.
61852         * manual/startup.texi: Likewise.
61853         * manual/stdio.texi: Likewise.
61854         * manual/terminal.texi: Likewise.
61855         (ONLCR): Document as POSIX.
61856         (OXTABS): Document availability on GNU/Linux as XTABS.
61857         (ONOEOT): Document availability separately from other bits.
61858         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
61859         * manual/time.texi: Likewise.
61860         * manual/users.texi: Likewise.
61861         * INSTALL: Regenerated.
61862         * sysdeps/gnu/errlist.c: Regenerated.
61864         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
61865         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
61866         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
61867         puts.
61868         * configure: Regenerated.
61870 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
61872         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
61873         default includes instead of AC_HEADER_CHECK.
61874         * sysdeps/i386/configure: Regenerated.
61876         [BZ #10716]
61877         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
61878         * math/s_cacoshf.c (__cacoshf): Likewise.
61879         * math/s_cacoshl.c (__cacoshl): Likewise.
61880         * math/s_casinh.c (__casinh): Set signs of result from argument.
61881         * math/s_casinhf.c (__casinhf): Likewise.
61882         * math/s_casinhl.c (__casinhl): Likewise.
61883         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
61884         (casinh_test): Add more tests.
61885         * sysdeps/i386/fpu/libm-test-ulps: Update.
61886         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61888 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
61890         * po/zh_TW.po: Update from translation team.
61892         * login/Makefile (distribute): Remove variable.
61893         * catgets/Makefile: Likewise.
61894         * mach/Makefile: Likewise.
61895         * malloc/Makefile: Likewise.
61896         * misc/Makefile: Likewise.
61897         * iconv/Makefile: Likewise.
61898         * nscd/Makefile: Likewise.
61899         * hurd/Makefile: Likewise.
61900         * manual/Makefile: Likewise.
61901         * locale/Makefile: Likewise.
61902         * intl/Makefile: Likewise.
61903         * conform/Makefile: Likewise.
61904         * nss/Makefile: Likewise.
61905         * time/Makefile: Likewise.
61906         * soft-fp/Makefile: Likewise.
61907         * dirent/Makefile: Likewise.
61908         * gmon/Makefile: Likewise.
61909         * po/Makefile: Likewise.
61910         * rt/Makefile: Likewise.
61911         * socket/Makefile: Likewise.
61912         * math/Makefile: Likewise.
61913         * signal/Makefile: Likewise.
61914         * debug/Makefile: Likewise.
61915         * elf/Makefile: Likewise.
61916         * timezone/Makefile: Likewise.
61917         * stdlib/Makefile: Likewise.
61918         * iconvdata/Makefile: Likewise.
61919         * sunrpc/Makefile: Likewise.
61920         * io/Makefile: Likewise.
61921         * argp/Makefile: Likewise.
61922         * inet/Makefile: Likewise.
61923         * hesiod/Makefile: Likewise.
61924         * grp/Makefile: Likewise.
61925         * csu/Makefile: Likewise.
61926         * wctype/Makefile: Likewise.
61927         * crypt/Makefile: Likewise.
61928         * libio/Makefile: Likewise.
61929         * string/Makefile: Likewise.
61930         * nis/Makefile: Likewise.
61931         * resolv/Makefile: Likewise.
61932         * stdio-common/Makefile: Likewise.
61933         * wcsmbs/Makefile: Likewise.
61934         * dlfcn/Makefile: Likewise.
61935         * posix/Makefile: Likewise.
61937         [BZ #6959]
61938         * timezone/Makefile: Don't install timezone files, just the programs
61939         and scripts.
61941 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
61943         * nss/databases.def: Add missing gshadow entry.
61945         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
61947 2012-03-06  Marek Polacek  <polacek@redhat.com>
61949         [BZ #13726]
61950         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
61951         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
61952         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
61953         * stdio-common/tst-long-dbl-fphex.c: New file.
61955 2012-03-06  David S. Miller  <davem@davemloft.net>
61957         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
61958         (set_obp_int): New function.
61959         (get_obp_int): New function.
61960         (__get_clockfreq_via_dev_openprom): Likewise.
61961         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
61962         Avoid unused variable warnings on 'val' and use builtin_expect.
61963         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
61964         __builtin_expect.
61965         (INLINE_CLONE_SYSCALL): Likewise.
61967 2012-03-05  David S. Miller  <davem@davemloft.net>
61969         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61971 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
61973         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61975         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
61976         only for |x| >= 40.
61977         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
61979 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
61981         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
61982         Replace gettimeofday with __vdso_gettimeofday.
61984         * sysdeps/unix/sysv/linux/x86_64/init-first.c
61985         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
61986         __vdso_clock_gettime and __vdso_getcpu.
61988         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
61989         time with __vdso_time.
61991 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
61993         * manual/lang.texi (size_t): Note types to which size_t may be
61994         equivalent with the GNU C Library, but do not describe when
61995         differences between them are significant.
61997 2012-03-05  Andreas Jaeger  <aj@suse.de>
61999         * sysdeps/i386/fpu/libm-test-ulps: Update.
62001 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
62003         [BZ #3976]
62004         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
62005         (__ieee754_pow): Save and restore rounding mode and use
62006         round-to-nearest for main computations.
62007         * math/libm-test.inc (pow_test_tonearest): New function.
62008         (pow_test_towardzero): Likewise.
62009         (pow_test_downward): Likewise.
62010         (pow_test_upward): Likewise.
62011         (main): Call the new functions.
62012         * sysdeps/i386/fpu/libm-test-ulps: Update.
62013         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62015         [BZ #3976]
62016         * math/libm-test.inc (cosh_test_tonearest): New function.
62017         (cosh_test_towardzero): Likewise.
62018         (cosh_test_downward): Likewise.
62019         (cosh_test_upward): Likewise.
62020         (sinh_test_tonearest): Likewise.
62021         (sinh_test_towardzero): Likewise.
62022         (sinh_test_downward): Likewise.
62023         (sinh_test_upward): Likewise.
62024         (main): Call the new functions.
62025         * sysdeps/i386/fpu/libm-test-ulps: Update.
62026         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62028 2012-03-05  Tom de Vries  <tom@codesourcery.com>
62030         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
62031         default stack guard is set in last bytes.
62032         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
62034 2012-03-05  Kees Cook  <keescook@chromium.org>
62036         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
62038         [BZ #13656]
62039         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
62040         possibly allocate from heap instead of stack.
62041         * stdio-common/bug-vfprintf-nargs.c: New file.
62042         * stdio-common/Makefile (tests): Add nargs overflow test.
62044 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
62046         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62048 2012-03-03  Marek Polacek  <polacek@redhat.com>
62050         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
62051         * math/math_private.h: Likewise.
62052         * stdlib/tst-strtod.c: Likewise.
62053         * sysdeps/i386/i486/bits/atomic.h: Likewise.
62054         * sysdeps/x86_64/bits/atomic.h: Likewise.
62056 2012-03-02  David S. Miller  <davem@davemloft.net>
62058         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
62059         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
62060         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
62061         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
62062         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
62063         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
62064         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
62065         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
62067 2012-03-02  Roland McGrath  <roland@hack.frob.com>
62069         [BZ #13792]
62070         * manual/examples/README: New file, says the example source files
62071         can be used under GPL>=2.
62072         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
62073         line containing just "*/".
62074         * manual/examples/add.c: Add copyright header (GPL>=2).
62075         * manual/examples/argp-ex1.c: Likewise.
62076         * manual/examples/argp-ex2.c: Likewise.
62077         * manual/examples/argp-ex3.c: Likewise.
62078         * manual/examples/argp-ex4.c: Likewise.
62079         * manual/examples/atexit.c: Likewise.
62080         * manual/examples/db.c: Likewise.
62081         * manual/examples/dir.c: Likewise.
62082         * manual/examples/dir2.c: Likewise.
62083         * manual/examples/execinfo.c: Likewise.
62084         * manual/examples/filecli.c: Likewise.
62085         * manual/examples/filesrv.c: Likewise.
62086         * manual/examples/fmtmsgexpl.c: Likewise.
62087         * manual/examples/genpass.c: Likewise.
62088         * manual/examples/inetcli.c: Likewise.
62089         * manual/examples/inetsrv.c: Likewise.
62090         * manual/examples/isockad.c: Likewise.
62091         * manual/examples/longopt.c: Likewise.
62092         * manual/examples/memopen.c: Likewise.
62093         * manual/examples/memstrm.c: Likewise.
62094         * manual/examples/mkfsock.c: Likewise.
62095         * manual/examples/mkisock.c: Likewise.
62096         * manual/examples/mygetpass.c: Likewise.
62097         * manual/examples/pipe.c: Likewise.
62098         * manual/examples/popen.c: Likewise.
62099         * manual/examples/rprintf.c: Likewise.
62100         * manual/examples/search.c: Likewise.
62101         * manual/examples/select.c: Likewise.
62102         * manual/examples/setjmp.c: Likewise.
62103         * manual/examples/sigh1.c: Likewise.
62104         * manual/examples/sigusr.c: Likewise.
62105         * manual/examples/stpcpy.c: Likewise.
62106         * manual/examples/strdupa.c: Likewise.
62107         * manual/examples/strftim.c: Likewise.
62108         * manual/examples/strncat.c: Likewise.
62109         * manual/examples/subopt.c: Likewise.
62110         * manual/examples/swapcontext.c: Likewise.
62111         * manual/examples/termios.c: Likewise.
62112         * manual/examples/testopt.c: Likewise.
62113         * manual/examples/testpass.c: Likewise.
62114         * manual/examples/timeval_subtract.c: Likewise.
62116         [BZ #13792]
62117         * manual/time.texi (Elapsed Time): Move timeval_subtract example
62118         function to ...
62119         * manual/timeval_subtract.c.texi: ... here, new file.
62121 2012-03-02  David S. Miller  <davem@davemloft.net>
62123         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
62125 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
62127         [BZ #3976]
62128         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
62129         (__sin): Save and restore rounding mode and use round-to-nearest
62130         for all computations.
62131         (__cos): Save and restore rounding mode and use round-to-nearest
62132         for all computations.
62133         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
62134         <fenv.h>.
62135         (tan): Save and restore rounding mode and use round-to-nearest for
62136         all computations.
62137         * math/libm-test.inc (cos_test_tonearest): New function.
62138         (cos_test_towardzero): Likewise.
62139         (cos_test_downward): Likewise.
62140         (cos_test_upward): Likewise.
62141         (sin_test_tonearest): Likewise.
62142         (sin_test_towardzero): Likewise.
62143         (sin_test_downward): Likewise.
62144         (sin_test_upward): Likewise.
62145         (tan_test_tonearest): Likewise.
62146         (tan_test_towardzero): Likewise.
62147         (tan_test_downward): Likewise.
62148         (tan_test_upward): Likewise.
62149         (main): Call the new functions.
62150         * sysdeps/i386/fpu/libm-test-ulps: Update.
62151         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62153         [BZ #10135]
62154         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
62155         small n, then large n, before computing and testing k+n.
62156         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
62157         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
62158         Likewise.
62159         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
62160         Likewise.
62161         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
62162         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
62163         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
62164         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
62165         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
62166         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
62167         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
62168         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
62169         * math/libm-test.inc (scalbn_test): Add more tests.
62170         (scalbln_test): Likewise.
62172         * manual/filesys.texi (mode_t): Describe constraints on size and
62173         signedness, not exact equivalence to a particular type.
62174         (ino_t): Likewise.
62175         (ino64_t): Likewise.
62176         (dev_t): Likewise.
62177         (nlink_t): Likewise.
62178         (blkcnt_t): Likewise.
62179         (blkcnt64_t): Likewise.
62180         * manual/llio.texi (off_t): Likewise.
62182         [BZ #3976]
62183         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
62184         (__ieee754_exp): Save and restore rounding mode and use
62185         round-to-nearest for all computations.
62186         * math/libm-test.inc (exp_test_tonearest): New function.
62187         (exp_test_towardzero): Likewise.
62188         (exp_test_downward): Likewise.
62189         (exp_test_upward): Likewise.
62190         (main): Call the new functions.
62191         * sysdeps/i386/fpu/libm-test-ulps: Update.
62192         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62194 2012-03-01  Chris Demetriou  <cgd@google.com>
62196         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
62197         have predictable order.
62199 2012-03-01  David S. Miller  <davem@davemloft.net>
62201         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
62203         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
62204         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
62205         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
62206         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
62208         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
62209         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
62210         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
62211         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
62212         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
62213         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
62214         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
62215         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
62216         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
62218         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62220         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
62221         * sysdeps/sparc/fpu/libm-test-ulps: to here.
62222         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
62224         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
62225         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
62226         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
62227         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
62228         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
62229         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
62230         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
62231         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
62232         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
62233         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
62234         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
62235         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
62236         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
62237         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
62238         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
62239         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
62240         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
62241         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
62242         * sysdeps/sparc/elf/configure: Regenerated.
62244 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
62246         * configure.in (AS, LD): Require binutils 2.20 or later.
62247         * configure: Regenerated.
62248         * manual/install.texi (Tools for Compilation): Give binutils 2.20
62249         as required minimum version.
62250         * INSTALL: Regenerated.
62252         [BZ #2541]
62253         [BZ #4108]
62254         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
62255         before squaring exponent.
62256         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
62257         bottom long double and 27 bits of top long double before squaring
62258         exponent.
62259         * math/libm-test.inc (erfc_test): Add more tests.
62260         * sysdeps/i386/fpu/libm-test-ulps: Update.
62261         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
62262         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62264 2012-03-01  Kai Tietz  <ktietz@redhat.com>
62266         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
62267         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
62268         containing bit-fields.
62269         * soft-fp/extended.h (_FP_UNION_E): Likewise.
62270         * soft-fp/single.h (_FP_UNION_S): Likewise.
62271         * soft-fp/double.h (_FP_UNION_D): Likewise.
62273 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
62275         [BZ #13786]
62276         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
62277         not include ../strcmp.S.
62278         [USE_AS_STRNCASECMP_L]: Likewise.
62279         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
62280         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
62281         * sysdeps/i386/i686/multiarch/strncase_l-c.c
62282         (__strncasecmp_l_ia32): Define as alias to
62283         __strncasecmp_l_nonascii.
62285         [BZ #5794]
62286         * math/libm-test.inc (expm1_test): Add test for bug 5794.
62287         * sysdeps/i386/fpu/libm-test-ulps: Update.
62288         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62290         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
62291         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62293 2012-02-29  Jeff Law  <law@redhat.com>
62295         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
62296         out of bounds read.
62298 2012-02-29  Marek Polacek  <polacek@redhat.com>
62300         [BZ #13706]
62301         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
62302         * elf/Makefile: Add rules to run tst-unused-dep.out.
62304 2012-02-28  David S. Miller  <davem@davemloft.net>
62306         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
62307         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
62308         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
62309         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
62310         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
62311         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
62313 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
62315         * math/libm-test.inc (llround_test): Move one test from
62316         lround_test.  Use TEST_f_L in moved test.
62317         (lround_test): Move misplaced test to llround_test.  Add testcase
62318         from bug 2561.
62320 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
62322         * sysdeps/x86_64/fpu/e_expf.S: New file.
62323         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
62325 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
62327         [BZ #13637]
62328         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
62329         of remain_len that may cause incomplete multi-byte character and
62330         false match.
62331         * posix/bug-regex33.c: New file.
62332         * posix/Makefile (tests): Add bug-regex33.
62334 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
62336         * manual/macros.texi: New file.
62337         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
62338         * manual/libc.texinfo: Include macros.texi.
62339         * manual/creatute.texi: Likewise.
62340         * manual/install.texi: Likewise.
62341         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
62342         @glibcadj{} in references to the GNU C Library.
62343         * manual/charset.texi: Likewise.
62344         * manual/conf.texi: Likewise.
62345         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
62346         when not using those macros.
62347         * manual/creature.texi: Likewise.
62348         * manual/crypt.texi: Likewise.
62349         * manual/errno.texi: Likewise.
62350         * manual/filesys.texi: Likewise.
62351         * manual/header.texi: Likewise.
62352         * manual/install.texi: Likewise.
62353         * manual/intro.texi: Likewise.
62354         * manual/io.texi: Likewise.
62355         * manual/job.texi: Likewise.
62356         * manual/lang.texi: Likewise.
62357         * manual/libc.texiinfo: Likewise.
62358         * manual/llio.texi: Likewise.
62359         * manual/locale.texi: Likewise.
62360         * manual/maint.texi: Likewise.
62361         * manual/math.texi: Likewise.
62362         * manual/memory.texi: Likewise.
62363         * manual/message.texi: Likewise.
62364         * manual/nss.texi: Likewise.
62365         * manual/pattern.texi: Likewise.
62366         * manual/process.texi: Likewise.
62367         * manual/resource.texi: Likewise.
62368         * manual/search.texi: Likewise.
62369         * manual/setjmp.texi: Likewise.
62370         * manual/signal.texi: Likewise.
62371         * manual/socket.texi: Likewise.
62372         * manual/startup.texi: Likewise.
62373         * manual/stdio.texi: Likewise.
62374         * manual/string.texi: Likewise.
62375         * manual/sysinfo.texi: Likewise.
62376         * manual/syslog.texi: Likewise.
62377         * manual/terminal.texi: Likewise.
62378         * manual/time.texi: Likewise.
62379         * manual/users.texi: Likewise.
62380         * INSTALL: Regenerated.
62381         * NOTES: Regenerated.
62382         * sysdeps/gnu/errlist.c: Regenerated.
62384 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
62386         * include/dirent.h: Include <dirstream.h> before
62387         <dirent/dirent.h>.
62389 2012-02-28  David S. Miller  <davem@davemloft.net>
62391         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
62392         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
62393         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
62394         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
62396 2012-02-27  David S. Miller  <davem@davemloft.net>
62398         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
62399         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
62400         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
62401         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
62403         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
62404         frame pointer instead of stack pointer relative arg slot.
62405         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
62406         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
62407         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
62409 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
62411         [BZ #3992]
62412         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
62414 2012-02-27  David S. Miller  <davem@davemloft.net>
62416         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
62417         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
62418         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
62419         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
62420         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
62421         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
62422         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
62423         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
62425 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
62427         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
62428         later.  Allow versions 5-9.
62429         * configure: Regenerated.
62430         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
62431         required minimum version and 4.6 as recommended version.  Do not
62432         mention bugs in GCC 2.7 and 2.8.
62433         * INSTALL: Regenerated.
62435 2012-02-27  David S. Miller  <davem@davemloft.net>
62437         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
62438         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
62439         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
62440         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
62441         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
62442         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
62443         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
62444         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
62446         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
62447         manipulate bits before adding and subtracting TWO112[sx].
62448         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
62450 2012-02-27  Roland McGrath  <roland@hack.frob.com>
62452         [BZ #13775]
62453         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
62454         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
62455         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
62456         being in POSIX, because they are in 1003.1-2008.
62458         * rt/tst-aio.c: Include <fcntl.h>.
62459         * rt/tst-aio7.c: Likewise.
62460         * rt/tst-aio64.c: Likewise.
62462         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
62464 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
62466         * manual/install.texi (--with-headers): Describe headers as
62467         interface headers, not private headers.
62468         (Specific advice for GNU/Linux systems): Describe use of headers
62469         from "make headers_install", not private headers from older
62470         kernels.
62471         * INSTALL: Regenerated.
62472         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
62473         Change to 2.6.19.
62474         * sysdeps/unix/sysv/linux/configure: Regenerated.
62476         * manual/llio.texi (fclean): Remove documentation.
62478         * manual/Makefile (libc-texi-generated): New variable.  Include
62479         version.texi.
62480         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
62481         $(libc-texi-generated), not duplicated list of files.
62482         (version.texi, stamp-version): New rules.
62483         (realclean): Remove $(libc-texi-generated), not individual files
62484         from that list.  Do not remove dir-add.texinfo.
62485         * manual/libc.texinfo: Comment out uses of edition numbers and
62486         references to printed manual.  Remove last-updated dates.
62487         (EDITION): Comment out.
62488         (ISBN): Likewise.
62489         (VERSION, UPDATED): Remove.
62490         (version.texi): Include.
62492 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
62494         * sysdeps/posix/spawni.c: Include <signal.h>.
62495         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
62496         * sysdeps/pthread/aio_fsync.c: Likewise.
62498 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
62500         * conform/Makefile (tests): Run only when not cross-compiling and
62501         when fast-check is not defined.
62503         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
62504         * conform/data/limits.h-data: Fixes for POSIX2008.
62505         * conform/run-conformtest.sh: Run all tests.
62506         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
62507         headers.
62508         * include/bits/dlfcn.h: Likewise.
62509         * include/langinfo.h: Likewise.
62510         * include/monetary.h: Likewise.
62511         * include/sys/poll.h: Likewise.
62513         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
62514         for __USE_GNU.
62515         * posix/spawn.h: Define __need_sigset_t.
62516         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
62517         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
62518         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
62519         to get sigevent_t only.
62520         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
62521         only for __USE_GNU.
62522         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
62523         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
62524         process_vm_writev only for __USE_GNU.
62525         * termios/termios.h: Declare tcgetsid also for POSIX2008.
62527         * conform/Makefile: For now ignore errors from run-conformtest.
62528         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
62529         POSIX to avoid namespace pollution.  Don't prepend headers.
62530         * conform/data/aio.h-data: Fixes for POSIX testing.
62531         * conform/data/fcntl.h-data: Likewise.
62532         * conform/data/glob.h-data: Likewise.
62533         * conform/data/grp.h-data: Likewise.
62534         * conform/data/pthread.h-data: Likewise.
62535         * conform/data/pwd.h-data: Likewise.
62536         * conform/data/signal.h-data: Likewise.
62537         * conform/data/spawn.h-data: Likewise.
62538         * conform/data/stdio.h-data: Likewise.
62539         * conform/data/stdlib.h-data: Likewise.
62540         * conform/data/stropts.h-data: Likewise.
62541         * conform/data/sys/mman.h-data: Likewise.
62542         * conform/data/sys/stat.h-data: Likewise.
62543         * conform/data/sys/types.h-data: Likewise.
62544         * conform/data/sys/wait.h-data: Likewise.
62545         * conform/data/time.h-data: Likewise.
62546         * conform/data/unistd.h-data: Likewise.
62547         * conform/data/utime.h-data: Likewise.
62549         * io/sys/stat.h: fchmod was always in POSIX.
62550         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
62551         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
62552         * rt/aio.h: Define __need_timespec before including <time.h>.
62553         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
62554         struct.  Add forward declaration of pthread_attr_t and use it in
62555         sigevent.
62556         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
62557         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
62558         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
62559         always remove CLK_TCK definition.
62561 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
62563         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
62565 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
62567         * conform/run-conformtest.sh: New file.
62568         * conform/Makefile: Run run-conformtest for tests.
62569         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
62570         support.
62572         * conform/data/uchar.h-data: New file.
62573         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
62574         * conform/data/arpa/inet.h-data: Likewise.
62575         * conform/data/assert.h-data: Likewise.
62576         * conform/data/complex.h-data: Likewise.
62577         * conform/data/cpio.h-data: Likewise.
62578         * conform/data/ctype.h-data: Likewise.
62579         * conform/data/dirent.h-data: Likewise.
62580         * conform/data/dlfcn.h-data: Likewise.
62581         * conform/data/errno.h-data: Likewise.
62582         * conform/data/fcntl.h-data: Likewise.
62583         * conform/data/float.h-data: Likewise.
62584         * conform/data/fmtmsg.h-data: Likewise.
62585         * conform/data/fnmatch.h-data: Likewise.
62586         * conform/data/ftw.h-data: Likewise.
62587         * conform/data/glob.h-data: Likewise.
62588         * conform/data/grp.h-data: Likewise.
62589         * conform/data/iconv.h-data: Likewise.
62590         * conform/data/inttypes.h-data: Likewise.
62591         * conform/data/langinfo.h-data: Likewise.
62592         * conform/data/libgen.h-data: Likewise.
62593         * conform/data/limits.h-data: Likewise.
62594         * conform/data/locale.h-data: Likewise.
62595         * conform/data/math.h-data: Likewise.
62596         * conform/data/monetary.h-data: Likewise.
62597         * conform/data/mqueue.h-data: Likewise.
62598         * conform/data/ndbm.h-data: Likewise.
62599         * conform/data/net/if.h-data: Likewise.
62600         * conform/data/netdb.h-data: Likewise.
62601         * conform/data/netinet/in.h-data: Likewise.
62602         * conform/data/nl_types.h-data: Likewise.
62603         * conform/data/poll.h-data: Likewise.
62604         * conform/data/pthread.h-data: Likewise.
62605         * conform/data/pwd.h-data: Likewise.
62606         * conform/data/regex.h-data: Likewise.
62607         * conform/data/sched.h-data: Likewise.
62608         * conform/data/search.h-data: Likewise.
62609         * conform/data/semaphore.h-data: Likewise.
62610         * conform/data/setjmp.h-data: Likewise.
62611         * conform/data/signal.h-data: Likewise.
62612         * conform/data/spawn.h-data: Likewise.
62613         * conform/data/stdarg.h-data: Likewise.
62614         * conform/data/stdio.h-data: Likewise.
62615         * conform/data/stdlib.h-data: Likewise.
62616         * conform/data/string.h-data: Likewise.
62617         * conform/data/strings.h-data: Likewise.
62618         * conform/data/stropts.h-data: Likewise.
62619         * conform/data/sys/ipc.h-data: Likewise.
62620         * conform/data/sys/mman.h-data: Likewise.
62621         * conform/data/sys/msg.h-data: Likewise.
62622         * conform/data/sys/resource.h-data: Likewise.
62623         * conform/data/sys/select.h-data: Likewise.
62624         * conform/data/sys/sem.h-data: Likewise.
62625         * conform/data/sys/shm.h-data: Likewise.
62626         * conform/data/sys/socket.h-data: Likewise.
62627         * conform/data/sys/stat.h-data: Likewise.
62628         * conform/data/sys/statvfs.h-data: Likewise.
62629         * conform/data/sys/time.h-data: Likewise.
62630         * conform/data/sys/timeb.h-data: Likewise.
62631         * conform/data/sys/times.h-data: Likewise.
62632         * conform/data/sys/types.h-data: Likewise.
62633         * conform/data/sys/uio.h-data: Likewise.
62634         * conform/data/sys/un.h-data: Likewise.
62635         * conform/data/sys/utsname.h-data: Likewise.
62636         * conform/data/sys/wait.h-data: Likewise.
62637         * conform/data/syslog.h-data: Likewise.
62638         * conform/data/tar.h-data: Likewise.
62639         * conform/data/termios.h-data: Likewise.
62640         * conform/data/utime.h-data: Likewise.
62641         * conform/data/utmpx.h-data: Likewise.
62642         * conform/data/varargs.h-data: Likewise.
62643         * conform/data/wchar.h-data: Likewise.
62644         * conform/data/wctype.h-data: Likewise.
62645         * conform/data/wordexp.h-data: Likewise.
62647         * include/stropts.h: New file.
62648         * include/uchar.h: New file.
62649         * include/aio.h: Changes to allow conformtest.pl to use the headers.
62650         * include/assert.h: Likewise.
62651         * include/ctype.h: Likewise.
62652         * include/dirent.h: Likewise.
62653         * include/dlfcn.h: Likewise.
62654         * include/fcntl.h: Likewise.
62655         * include/fnmatch.h: Likewise.
62656         * include/glob.h: Likewise.
62657         * include/grp.h: Likewise.
62658         * include/libio.h: Likewise.
62659         * include/locale.h: Likewise.
62660         * include/math.h: Likewise.
62661         * include/net/if.h: Likewise.
62662         * include/netdb.h: Likewise.
62663         * include/netinet/in.h: Likewise.
62664         * include/pthread.h: Likewise.
62665         * include/pwd.h: Likewise.
62666         * include/regex.h: Likewise.
62667         * include/sched.h: Likewise.
62668         * include/search.h: Likewise.
62669         * include/setjmp.h: Likewise.
62670         * include/signal.h: Likewise.
62671         * include/stdio.h: Likewise.
62672         * include/stdlib.h: Likewise.
62673         * include/string.h: Likewise.
62674         * include/sys/cdefs.h: Likewise.
62675         * include/sys/mman.h: Likewise.
62676         * include/sys/msg.h: Likewise.
62677         * include/sys/resource.h: Likewise.
62678         * include/sys/select.h: Likewise.
62679         * include/sys/socket.h: Likewise.
62680         * include/sys/stat.h: Likewise.
62681         * include/sys/statvfs.h: Likewise.
62682         * include/sys/time.h: Likewise.
62683         * include/sys/times.h: Likewise.
62684         * include/sys/uio.h: Likewise.
62685         * include/sys/utsname.h: Likewise.
62686         * include/sys/wait.h: Likewise.
62687         * include/termios.h: Likewise.
62688         * include/time.h: Likewise.
62689         * include/ulimit.h: Likewise.
62690         * include/unistd.h: Likewise.
62691         * include/utime.h: Likewise.
62692         * include/wchar.h: Likewise.
62693         * include/wctype.h: Likewise.
62694         * include/wordexp.h: Likewise.
62696         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
62698         * time/time.h: TIME_UTC must be a macro.
62699         Make timespec_get available for ISO C11 only as well.
62701 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
62703         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
62704         Reported by Peng Haitao <penght@cn.fujitsu.com>.
62706 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
62708         * configure.in: Use -o not -a in test for unsupported multi-arch.
62710 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
62712         * manual/texinfo.tex: Update to version 2012-01-19.16.
62714 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
62716         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
62718 2012-02-24  Roland McGrath  <roland@hack.frob.com>
62720         [BZ #13738]
62721         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
62722         * manual/fdl-1.3.texi: New file.
62723         * manual/fdl-1.1.texi: File removed.
62725         [BZ #13738]
62726         * manual/libc.texinfo (FDL_VERSION): New @set.
62727         Use it for mention of FDL in cover text.
62728         (Documentation License): Use it in @include file name.
62730 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
62731             Roland McGrath  <roland@hack.frob.com>
62733         [BZ #5461]
62734         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
62735         (not LONG_LONG_MAX and LONG_LONG_MIN.
62736         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
62737         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
62738         name.
62739         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
62741 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
62743         [BZ #2547]
62744         [BZ #11365]
62745         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
62746         manipulate bits before adding and subtracting TWO23[sx].
62747         * math/libm-test.inc (nearbyint_test): Add more tests.
62749 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
62751         [BZ #2548]
62752         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
62753         bits before adding and subtracting TWO23[sx].
62754         * math/libm-test.inc (rint_test): Add more tests.
62755         (rint_test_tonearest): Likewise.
62756         (rint_test_towardzero): Likewise.
62757         (rint_test_downward): Likewise.
62758         (rint_test_upward: Likewise.
62760 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
62762         [BZ #10110]
62763         * include/stdc-predef.h: New file.  Extracted from features.h.
62764         * include/features.h: Include stdc-predef.h.
62765         * Makefile (headers): Add stdc-predef.h.
62766         * CONFORMANCE (Compiler limitations): Update.
62768 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
62770         * manual/libc.texinfo (VERSION, UPDATED): Revert.
62772 2012-02-21  David S. Miller  <davem@davemloft.net>
62774         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
62775         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
62777 2012-02-20  David S. Miller  <davem@davemloft.net>
62779         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
62780         using a normal save/restore sequence, rather than allocating a
62781         dummy stack frame just to store a frame pointer and restore.
62782         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
62784 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
62786         * manual/install.texi: Fix stray word in line-wrapped comment.
62788 2012-02-20  David S. Miller  <davem@davemloft.net>
62790         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
62791         both binutils and gcc support GOTDATA.
62793         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
62794         "rd %pc" in the PIC register setup sequences.
62796         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
62797         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
62798         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
62799         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
62800         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
62801         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
62802         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
62803         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
62804         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
62805         (SYSCALL_ERROR_HANDLER): Likewise.
62806         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
62807         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
62808         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
62809         (SYSCALL_ERROR_HANDLER): Likewise.
62811         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
62812         (HAVE_GCC_GOTDATA): New.
62813         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
62814         relocation support in both binutils and gcc.
62815         * sysdeps/sparc/elf/configure: Regenerate.
62817         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
62818         * sysdeps/sparc/sparc32/elf/configure: Delete.
62819         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
62820         * sysdeps/sparc/sparc64/elf/configure: Delete.
62821         * sysdeps/sparc/elf/configure.in: New file.
62822         * sysdeps/sparc/elf/configure: Generate.
62824         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
62825         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
62826         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
62827         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
62828         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
62830 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
62832         * manual/install.texi: Do not mention specific glibc version
62833         numbers.
62834         * manual/libc.texinfo (VERSION, UPDATED): Update.
62835         (@copying): Use @copyright{} and range of years.
62837 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
62839         [BZ #13695]
62840         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
62841         [crti.S not in sysdirs] (generated): Do not append.
62842         [crti.S not in sysdirs] (omit-deps): Likewise.
62843         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
62844         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
62845         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
62846         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
62847         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
62848         Likewise.
62849         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
62850         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
62851         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
62852         * csu/defs.awk: Remove file.
62853         * sysdeps/generic/initfini.c: Likewise.
62854         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
62855         variable.
62856         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
62857         Likewise.
62859 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
62861         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
62862         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
62863         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
62864         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
62865         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
62866         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
62867         <bits/epoll.h>.
62868         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
62869         (__EPOLL_PACKED): Define to empty if not defined by
62870         <bits/epoll.h>.
62871         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
62872         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62873         bits/epoll.h.
62875 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
62877         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
62878         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
62879         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
62880         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
62881         <bits/timerfd.h>.
62882         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
62883         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62884         bits/timerfd.h.
62886 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
62888         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
62889         in C locale.
62890         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
62891         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
62892         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
62893         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62895 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
62897         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
62898         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
62900 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
62902         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
62903         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
62904         defined.
62905         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
62906         Likewise.
62907         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
62908         entry for 2.16.
62910 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
62912         * math/w_acos.c: Use non-signaling floating-point comparisons.
62913         * math/w_acosf.c: Likewise.
62914         * math/w_acosh.c: Likewise.
62915         * math/w_acoshf.c: Likewise.
62916         * math/w_acoshl.c: Likewise.
62917         * math/w_acosl.c: Likewise.
62918         * math/w_asin.c: Likewise.
62919         * math/w_asinf.c: Likewise.
62920         * math/w_asinl.c: Likewise.
62921         * math/w_atanh.c: Likewise.
62922         * math/w_atanhf.c: Likewise.
62923         * math/w_atanhl.c: Likewise.
62924         * math/w_exp2.c: Likewise.
62925         * math/w_exp2f.c: Likewise.
62926         * math/w_exp2l.c: Likewise.
62927         * math/w_j0.c: Likewise.
62928         * math/w_j0f.c: Likewise.
62929         * math/w_j0l.c: Likewise.
62930         * math/w_j1.c: Likewise.
62931         * math/w_j1f.c: Likewise.
62932         * math/w_j1l.c: Likewise.
62933         * math/w_jn.c: Likewise.
62934         * math/w_jnf.c: Likewise.
62935         * math/w_log.c: Likewise.
62936         * math/w_log10.c: Likewise.
62937         * math/w_log10f.c: Likewise.
62938         * math/w_log10l.c: Likewise.
62939         * math/w_log2.c: Likewise.
62940         * math/w_log2f.c: Likewise.
62941         * math/w_log2l.c: Likewise.
62942         * math/w_logf.c: Likewise.
62943         * math/w_logl.c: Likewise.
62944         * math/w_sqrt.c: Likewise.
62945         * math/w_sqrtf.c: Likewise.
62946         * math/w_sqrtl.c: Likewise.
62947         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
62948         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
62949         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
62950         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
62951         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
62953 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
62955         [BZ #9739]
62956         * manual/string.texi (strnlen): Use correct parameter name in
62957         equivalent expression.
62959 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
62961         [BZ #11174]
62962         * manual/users.texi (seteuid): Consistently use neweuid for
62963         argument name.
62965 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
62967         [BZ #13704]
62968         * manual/nss.texi (Services in the NSS configuration): Correct
62969         list of services in example configuration file.
62971 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
62973         [BZ #11322]
62974         * manual/arith.texi: Remove statements about negative zero
62975         behaving identically to zero.
62977 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
62979         [BZ #5993]
62980         * manual/install.texi: Do not document upgrading from libc5.
62982 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
62984         [BZ #4596]
62985         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
62987 2012-02-18  David S. Miller  <davem@davemloft.net>
62989         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
62990         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
62991         %o7 across the call.
62992         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
62993         instead.
62994         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
62995         SETUP_PIC_REG_LEAF.
62996         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
62997         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
62998         * sysdeps/sparc/crtn.S: Likewise.
63000 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
63002         * aout/Makefile: Remove.
63004 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
63006         [BZ #13058]
63007         * manual/examples/argp-ex1.c (main): Format definition in GNU
63008         style.
63009         * manual/examples/argp-ex2.c (main): Likewise.
63010         * manual/examples/argp-ex3.c (main): Likewise.
63011         * manual/examples/argp-ex4.c (main): Likewise.
63012         * manual/examples/longopt.c (main): Use new-style prototype
63013         definition.
63014         * manual/examples/strncat.c (main): Specify return type and use
63015         (void) for arguments.
63016         * manual/examples/subopt.c (main): Use char **argv argument.
63018 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
63020         [BZ #5077]
63021         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
63022         rounding modes.
63024 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
63026         [BZ #6907]
63027         * manual/string.texi (strchr): Change when strchrnul is
63028         recommended.
63030 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
63032         [BZ #174]
63033         * manual/locale.texi (setlocale): Document LOCPATH.
63035 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
63037         [BZ #10210]
63038         * manual/process.texi (execle): Move @dots{} before last argument.
63040 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
63042         [BZ #12047]
63043         * manual/charset.texi (Generic Charset Conversion): Fix typo
63044         (LC_TYPE -> LC_CTYPE).
63046 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
63048         [BZ #5805]
63049         * manual/arith.texi (scalbn): Use @var{} on parameter names.
63050         (scalbnf): Likewise.
63051         (scalbnl): Likewise.
63052         (scalbln): Likewise.
63053         (scalblnf): Likewise.
63054         (scalblnl): Likewise.
63055         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
63056         (vwarnx): Likewise.
63057         (verr): Likewise.
63058         (verrx): Likewise.
63059         * manual/filesys.texi (telldir): Use braces around return type.
63060         * manual/llio.texi (mmap): Add space after comma.
63061         (mmap64): Likewise.
63062         * manual/math.texi (jn): Use @var{} on parameter names.
63063         (jnf): Likewise.
63064         (jnl): Likewise.
63065         (yn): Likewise.
63066         (ynf): Likewise.
63067         (ynl): Likewise.
63068         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
63069         line.
63070         * manual/resource.texi (ulimit): Use @dots{} instead of literal
63071         "...".
63072         (sched_get_priority_min): Remove semicolon on @deftypefun line.
63073         (sched_get_priority_max): Likewise.
63074         * manual/signal.texi (sigvec): Add space after comma.
63075         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
63076         names.
63077         (if_indextoname): Likewise.
63078         (if_freenameindex): Likewise.
63079         (sendto): Use ',' instead of '.' in prototype.
63080         * manual/startup.texi (syscall): Use @dots{} instead of literal
63081         "...".
63082         * manual/stdio.texi (__fpending): Separate initial words of
63083         paragraph from @deftypefun line.
63084         * manual/syslog.texi (syslog): Use @dots{} instead of literal
63085         "...".
63086         (vsyslog): Use @var{} on parameter names.
63087         * manual/terminal.texi (stty): Use @var{} on parameter names.
63088         * manual/users.texi (getutmp): Use @var{} on parameter names.
63089         (getutmpx): Likewise.
63091 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
63093         [BZ #6884]
63094         * manual/stdio.texi (fopen): Fix typos in description of
63095         ",ccs=STRING".
63097 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
63099         [BZ #4026]
63100         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
63101         get clock_id definition.
63103 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
63105         [BZ #4822]
63106         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
63107         (madvise): Cast every argument to void on its own.
63109 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
63111         [BZ #9902]
63112         * manual/startup.texi (Exit Status): Fix typo.
63114 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
63116         [BZ #10140]
63117         * manual/examples/argp-ex1.c: Include <stdlib.h>.
63118         * manual/examples/argp-ex2.c: Likewise.
63119         * manual/examples/argp-ex3.c: Likewise.
63121 2012-02-16  Richard Henderson  <rth@redhat.com>
63123         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
63124         * sysdeps/s390/s390-32/initfini.c: Remove.
63125         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
63126         * sysdeps/s390/s390-64/initfini.c: Remove.
63128 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
63130         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
63131         compiler output for sysdeps/generic/initfini.c.
63132         * sysdeps/sh/elf/initfini.c: Remove file.
63134 2012-02-16  David S. Miller  <davem@davemloft.net>
63136         [BZ #11494]
63137         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
63139         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
63140         * sysdeps/sparc/crti.S: New file.
63141         * sysdeps/sparc/crtn.S: New file.
63142         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
63143         * sysdeps/sparc/sparc64/Makefile: Likewise.
63145 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
63147         [BZ #3335]
63148         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
63150 2012-02-15  Roland McGrath  <roland@hack.frob.com>
63152         [BZ #4822]
63153         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
63155         * mach/devstream.c (cookie_io_functions_t): Macro removed.
63156         (write, read, close): Likewise.
63157         Patch by Aurelien Jarno <aurelien@aurel32.net>.
63159 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
63161         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
63162         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
63163         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
63164         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
63165         <bits/signalfd.h>.
63166         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
63167         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63168         bits/signalfd.h.
63170 2012-02-14  Marek Polacek  <polacek@redhat.com>
63172         * sysdeps/x86_64/crti.S: New file.
63173         * sysdeps/x86_64/crtn.S: New file.
63174         * sysdeps/x86_64/elf/initfini.c: Remove file.
63176 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
63178         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
63179         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
63180         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
63181         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
63182         <bits/inotify.h>.
63183         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
63184         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63185         bits/inotify.h.
63187 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
63189         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
63190         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
63191         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
63192         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
63193         <bits/eventfd.h>.
63194         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
63195         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63196         bits/eventfd.h.
63198 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
63200         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
63201         __feraiseexcept instead of feraiseexcept.
63203         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
63204         nanosleep invocations.
63205         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
63206         strings, and add error checking for a nanosleep invocations.
63208 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
63210         Replace FSF snail mail address with URLs, as per GNU coding standards.
63211         Most of the snail mail addresses were wrong anyway, and omitting
63212         them makes the source code easier to maintain.  Almost all of the
63213         changes are to license notices and to locale LC_IDENTIFICATION
63214         addresses, except for this one:
63215         * manual/libc.texinfo: In "Published by", give the FSF's URL,
63216         not its snail mail address.
63218 2012-02-09  Richard Henderson  <rth@twiddle.net>
63220         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
63221         of kernel-features.h.
63223         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
63225 2012-02-08  Marek Polacek  <polacek@redhat.com>
63227         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
63228         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
63229         * sysdeps/gnu/_G_config.h: Likewise.
63230         * sysdeps/generic/_G_config.h: Likewise.
63232 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
63234         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
63235         tests.
63236         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63238         * sysdeps/powerpc/powerpc32/crti.S: New file.
63239         * sysdeps/powerpc/powerpc32/crtn.S: New file.
63240         * sysdeps/powerpc/powerpc64/crti.S: New file.
63241         * sysdeps/powerpc/powerpc64/crtn.S: New file.
63243         * Makeconfig (have-initfini): Don't set.
63244         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
63245         * configure.in (nopic_initfini): Don't substitute.
63246         * config.h.in (HAVE_INITFINI): Don't #undef.
63247         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
63248         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
63250 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
63252         Support crti.S and crtn.S provided directly by architectures.
63253         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
63254         [crti.S in sysdirs] (omit-deps): Likewise.
63255         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
63256         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
63257         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
63258         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
63259         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
63260         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
63261         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
63262         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
63263         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
63264         compiler output for sysdeps/generic/initfini.c.
63265         * sysdeps/i386/elf/Makefile: Remove file.
63266         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
63268 2012-02-07  Marek Polacek  <polacek@redhat.com>
63270         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
63271         * sysdeps/gnu/_G_config.h: Likewise.
63272         * sysdeps/mach/hurd/_G_config.h: Likewise.
63274 2012-02-07  Marek Polacek  <polacek@redhat.com>
63276         * math/Makefile (tests): Add tst-CMPLX2.
63277         * math/tst-CMPLX2.c: New file.
63279 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
63281         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
63283         * math/libm-test.inc (jn_test): Add missing L suffix.
63285 2012-02-06  Marek Polacek  <polacek@redhat.com>
63287         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
63288         * sysdeps/i386/fpu/e_powf.S: Likewise.
63289         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
63290         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
63291         * sysdeps/i386/fpu/e_acosh.S: Likewise.
63292         * sysdeps/i386/fpu/e_pow.S: Likewise.
63293         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
63294         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
63295         * sysdeps/i386/fpu/s_expm1.S: Likewise.
63296         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
63297         * sysdeps/i386/fpu/e_log2.S: Likewise.
63298         * sysdeps/i386/fpu/e_log2l.S: Likewise.
63299         * sysdeps/i386/fpu/e_scalb.S: Likewise.
63300         * sysdeps/i386/fpu/e_powl.S: Likewise.
63301         * sysdeps/i386/fpu/s_log1p.S: Likewise.
63302         * sysdeps/i386/fpu/e_log10f.S: Likewise.
63303         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
63304         * sysdeps/i386/fpu/e_logl.S: Likewise.
63305         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
63306         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
63307         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
63308         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
63309         * sysdeps/i386/fpu/e_log2f.S: Likewise.
63310         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
63311         * sysdeps/i386/fpu/e_log.S: Likewise.
63312         * sysdeps/i386/fpu/s_cexp.S: Likewise.
63313         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
63314         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
63315         * sysdeps/i386/fpu/e_logf.S: Likewise.
63316         * sysdeps/i386/fpu/e_log10l.S: Likewise.
63317         * sysdeps/i386/fpu/e_atanh.S: Likewise.
63318         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
63319         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
63320         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
63321         * sysdeps/i386/fpu/e_log10.S: Likewise.
63322         * sysdeps/i386/fpu/s_frexp.S: Likewise.
63323         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
63324         * sysdeps/i386/fpu/s_asinh.S: Likewise.
63325         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
63326         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
63327         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
63328         * sysdeps/i386/asm-syntax.h: Likewise.
63329         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
63330         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
63331         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
63332         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
63333         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
63334         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
63335         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
63336         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
63337         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
63338         * sysdeps/powerpc/sysdep.h: Likewise.
63339         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
63340         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
63342 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
63344         [BZ #411]
63345         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
63347 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
63349         * sysdeps/i386/sysdep.h: Include <features.h>.
63350         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
63351         version.
63353 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
63355         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
63356         Define.
63357         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
63358         LOAD_PIC_REG_STR.
63360 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
63362         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
63363         (SETUP_PIC_REG): Use GET_PC_THUNK.
63364         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
63365         macro.
63367 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
63369         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
63370         for non-PIC compilation.
63371         (SETUP_PIC_REG): Add .p2align directive.
63372         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
63373         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
63374         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
63375         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
63376         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
63377         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
63378         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
63379         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
63380         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
63381         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
63382         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
63383         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
63384         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
63385         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
63386         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
63387         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
63388         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
63389         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
63390         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
63391         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
63392         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
63393         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
63394         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
63395         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
63396         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
63397         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
63398         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
63399         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
63400         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
63401         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
63402         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
63403         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
63404         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
63405         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
63406         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
63407         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
63408         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
63409         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
63410         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
63411         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
63412         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
63414 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
63416         * math/tst-CMPLX.c: Include <stdio.h>.
63418 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
63420         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
63421         float.
63422         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
63423         * sysdeps/sparc/bits/mathdef.h: Likewise.
63425 2012-01-31  Marek Polacek  <polacek@redhat.com>
63427         * libio/libio.h: Don't define _PARAMS.
63428         * locale/programs/config.h: Don't define PARAMS.
63429         * stdlib/strtol_l.c: Likewise.
63430         (__strtol_l): Remove PARAMS from the prototype.
63432 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
63434         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
63435         names.  Just use the correct names.  Remove unnecessary wrapper
63436         functions.
63437         * malloc/arena.c: Likewise.
63438         * malloc/hooks.c: Likewise.
63440         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
63441         ARENA_TEST says not to.  Simplify test for creation of a new arena.
63442         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
63444 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
63446         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
63447         into tail calls.
63448         (update_get_addr): New function.
63449         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
63450         GET_ADDR_MODULE parameter.
63452 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
63454         * crypt/cert.c: Remove __STDC__ conditionals.
63455         * crypt/crypt-entry.c: Likewise.
63456         * crypt/crypt_util.c: Likewise.
63457         * libio/filedoalloc.c: Likewise.
63458         * libio/fileops.c: Likewise.
63459         * libio/genops.c: Likewise.
63460         * libio/iofclose.c: Likewise.
63461         * libio/iofdopen.c: Likewise.
63462         * libio/iofopen.c: Likewise.
63463         * libio/iofopen64.c: Likewise.
63464         * libio/iogetdelim.c: Likewise.
63465         * libio/iopopen.c: Likewise.
63466         * libio/obprintf.c: Likewise.
63467         * libio/oldfileops.c: Likewise.
63468         * libio/oldiofclose.c: Likewise.
63469         * libio/oldiofdopen.c: Likewise.
63470         * libio/oldiofopen.c: Likewise.
63471         * libio/oldiopopen.c: Likewise.
63472         * libio/wfiledoalloc.c: Likewise.
63473         * libio/wgenops.c: Likewise.
63474         * locale/programs/xmalloc.c: Likewise.
63475         * misc/syslog.c: Likewise.
63476         * stdio-common/xbug.c: Likewise.
63477         * string/memchr.c: Likewise.
63478         * string/memcmp.c: Likewise.
63479         * string/memrchr.c: Likewise.
63480         * string/rawmemchr.c: Likewise.
63481         * sysdeps/posix/getcwd.c: Likewise.
63482         * time/strftime_l.c: Likewise.
63484 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
63486         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
63487         * config.make.in (config-cflags-sse2avx): Define.
63488         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
63489         Fix typo.
63491 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
63493         * scripts/config.guess: Update from upstream config git repository.
63494         * scripts/config.sub: Likewise.
63496 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
63498         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
63499         (EM_NUM): Update.
63500         (R_TILEPRO_*, R_TILEGX_*): New macros.
63502         * scripts/firstversions.awk: Fix bug in version range handling.
63504         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
63506         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
63508         * include/sys/epoll.h: New file.
63509         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
63510         libc_hidden_def.
63512 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
63514         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
63515         Avoid unnecessary __WORDSIZE == 64 test.
63516         (fmaxf): Use VEX format if possible.
63517         (fmax): Likewise.
63518         (fminf): Likewise.
63519         (fmin): Likewise.
63521         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
63522         * math/math_private.h: Remove libc_fegetround* and
63523         libc_fesetround*.
63524         * sysdeps/i386/configure.in: Check for -msse2avx.
63525         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
63526         also if SSE2AVX is defined.
63527         Remove libc_fegetround* and libc_fesetround*.
63528         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
63529         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
63530         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
63531         of HAS_YMM_USABLE.
63532         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
63533         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
63534         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
63535         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
63536         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
63538         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
63540 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63542         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
63543         size is not set.
63544         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
63546 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
63548         [BZ #13618]
63549         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
63550         relocation.
63551         * Makeconfig (libm): Define.
63552         * elf/Makefile: Add rules to build and run tst-relsort1.
63553         * elf/tst-relsort1.c: New file.
63554         * elf/tst-relsort1mod1.c: New file.
63555         * elf/tst-relsort1mod2.c: New file.
63557 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
63559         * math/s_ldexp.c: Remove __STDC__ conditionals.
63560         * math/s_ldexpf.c: Likewise.
63561         * math/s_ldexpl.c: Likewise.
63562         * math/s_nextafter.c: Likewise.
63563         * math/s_nexttowardf.c: Likewise.
63564         * math/s_significand.c: Likewise.
63565         * math/s_significandf.c: Likewise.
63566         * math/s_significandl.c: Likewise.
63567         * math/w_jnl.c: Likewise.
63568         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
63569         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
63570         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
63571         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
63572         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
63573         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
63574         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
63575         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
63576         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
63577         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
63578         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
63579         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
63580         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
63581         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
63582         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
63583         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
63584         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
63585         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
63586         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
63587         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
63588         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
63589         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
63590         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
63591         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
63592         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
63593         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
63594         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
63595         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
63596         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
63597         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
63598         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
63599         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
63600         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
63601         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
63602         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
63603         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
63604         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
63605         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
63606         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
63607         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
63608         * sysdeps/ieee754/k_standard.c: Likewise.
63609         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
63610         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
63611         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
63612         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
63613         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
63614         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
63615         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
63616         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
63617         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
63618         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
63619         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
63620         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
63621         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
63622         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
63623         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
63624         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
63625         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
63626         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
63627         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
63628         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
63629         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
63630         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
63631         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
63632         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
63633         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
63634         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
63635         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
63636         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
63637         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
63638         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
63639         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
63640         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
63641         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
63642         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
63643         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
63644         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
63645         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
63646         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
63647         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
63648         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
63649         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
63650         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
63651         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
63652         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
63653         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
63654         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
63655         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
63656         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
63657         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
63658         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
63659         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
63660         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
63661         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
63662         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
63663         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
63664         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
63665         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
63666         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
63667         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
63668         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
63669         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
63670         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
63671         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
63672         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
63673         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
63674         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
63675         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
63676         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
63677         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
63678         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
63679         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
63680         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
63681         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
63682         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
63683         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
63684         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
63685         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
63686         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
63687         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
63688         * sysdeps/ieee754/s_matherr.c: Likewise.
63689         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
63690         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
63691         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
63692         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
63694 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
63696         * crypt/md5.h: Remove __STDC__ conditionals.
63697         * libio/libioP.h: Likewise.
63698         * locale/programs/config.h: Likewise.
63699         * sysdeps/generic/sysdep.h: Likewise.
63700         * sysdeps/i386/asm-syntax.h: Likewise.
63701         * sysdeps/s390/asm-syntax.h: Likewise.
63702         * sysdeps/unix/sysdep.h: Likewise.
63703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
63704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
63706 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
63708         * libio/libio.h: Remove __STDC__ conditionals.
63709         * malloc/obstack.h: Likewise.
63710         * math/complex.h: Likewise.
63711         * math/math.h: Likewise.
63712         * sysdeps/generic/_G_config.h: Likewise.
63713         * sysdeps/gnu/_G_config.h: Likewise.
63714         * sysdeps/mach/hurd/_G_config.h: Likewise.
63715         * sysdeps/powerpc/bits/mathdef.h: Likewise.
63716         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
63717         * sysdeps/sparc/bits/mathdef.h: Likewise.
63719 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
63721         [BZ #13583]
63722         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
63723         Clean up HAS_* macros.
63724         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
63725         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
63726         possible.
63727         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
63728         HAS_AVX.
63729         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
63730         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
63731         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
63732         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
63733         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
63735 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
63737         * elf/tst-unique3.cc (gets): Remove declaration.
63738         * elf/tst-unique3lib.cc (gets): Likewise.
63739         * elf/tst-unique3lib2.cc (gets): Likewise.
63740         * elf/tst-unique4.cc (gets): Likewise.
63742 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
63744         * include/stdio.h: Add C++ protection.  Add gets declarations and
63745         definitions.
63746         * debug/tst-chk1.c: Don't declare gets here.
63747         * stdio-common/tst-gets.c: Likewise.
63749 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
63751         * posix/glob: Remove directory.
63753 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
63755         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
63757 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
63759         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
63760         of the non-standard EPFNOSUPPORT.
63762 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63764         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
63765         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
63766         ANYWHERE set to 1 only on KERN_NO_SPACE error.
63768 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
63770         * wcsmbs/uchar.h: Test __STDC_VERSION__.
63772 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
63774         * nscd/aicache.c (addhstaiX): Do not cache negative results of
63775         transient errors.
63776         * nscd/grpcache.c (cache_addgr): Likewise.
63777         * nscd/hstcache.c (cache_addhst): Likewise.
63778         * nscd/initgrcache.c (addinitgroupsX): Likewise.
63779         * nscd/pwdcache.c (cache_addpw): Likewise.
63780         * nscd/servicescache.c (cache_addserv): Likewise.
63782 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
63784         * malloc/malloc.c: Various cleanups.
63785         * malloc/hooks.c: Likewise.
63787         * stdlib/Makefile (tests): Add bug-fmtmsg1.
63788         * stdlib/bug-fmtmsg1.c: New file.
63790         * stdlib/fmtmsg.c (init): Add missing unlock.
63791         Patch by Peng Haitao <penght@cn.fujitsu.com>.
63793 2012-01-12  Marek Polacek  <polacek@redhat.com>
63795         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
63796         and _GNU_SOURCE.
63798 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
63800         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
63801         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
63802         macro to ensure uniqueness of label name.
63803         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
63804         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
63806 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
63808         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
63810         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
63811         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
63812         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
63813         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
63815 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
63817         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
63819         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
63820         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
63821         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
63823         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
63825         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
63826         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
63827         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
63828         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
63830         * math/bits/math-finite.h: Add ldexp support.
63832 2012-01-10  Marek Polacek  <polacek@redhat.com>
63834         * locale/programs/localedef.h (show_archive_content): Add noreturn
63835         attribute.
63837 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
63839         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
63841 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
63843         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
63845         * io/Makefile (headers): Add bits/poll2.h.
63847 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
63849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
63850         typo #include statement.
63852 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
63854         * include/sys/cdefs.h: Define __attribute_alloc_size.
63855         * catgets/gencat.c: Add alloc_size attribute and apply consistently
63856         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
63857         * elf/pldd.c: Likewise.
63858         * iconv/iconv_charmap.c: Likewise.
63859         * iconv/iconvconfig.c: Likewise.
63860         * iconv/strtab.c: Likewise.
63861         * locale/programs/locale.c: Likewise.
63862         * locale/programs/localedef.h: Likewise.
63863         * locale/programs/simple-hash.c: Likewise.
63864         * nscd/nscd.h: Likewise.
63865         * nss/makedb.c: Likewise.
63866         * sysdeps/generic/ldconfig.h: Likewise.
63867         * locale/programs/localedef.c: Remove xmalloc prototype.
63868         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
63870 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
63872         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
63873         appropriate.
63875 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
63877         * math/Makefile (tests): Add tst-CMPLX.
63878         * math/tst-CMPLX.c: New file.
63880         * math/complex.h (CMPLXL): Fix typo.
63882         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
63883         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
63884         GLIBC_2.16.
63885         * debug/tst-chk1.c: Add poll and ppoll tests.
63886         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
63887         * include/sys/poll.h: Add hidden proto for ppoll.
63888         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
63889         * sysdeps/mach/hurd/ppoll.c: Likewise.
63890         * io/ppoll.c: Likewise.
63891         * debug/poll_chk.c: New file.
63892         * debug/ppoll_chk.c: New file.
63893         * include/bits/poll2.h: New file.
63894         * io/bits/poll2.h: New file.
63896         [BZ #1350]
63897         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
63899         * configure.in: static is always set to yes.  Remove.
63900         * config.make.in: Don't set build-static.
63901         * Makeconfig: Remove use of build-static.
63902         * dlfcn/Makefile: Likewise.
63903         * elf/Makefile: Likewise.
63904         * math/Makefile: Likewise.
63905         * misc/Makefile: Likewise.
63906         * nptl/Makefile: Likewise.
63907         * sysdeps/mach/hurd/Makefile: Likewise.
63909         * configure.in: PWD_P is not used anymore.
63910         * config.make.in: Remove PWD_P entry.
63912         * configure.in: Remove last remnants of RANLIB.
63913         No need to check for signed size_t anymore.
63914         Don't set libc_commonpagesize and libc_relro_required here for Alpha
63915         and IA-64.
63916         Remove __builtin_expect test because we require at least gcc 3.4.
63917         * aclocal.m4: Likewise.
63919         * wcsmbs/mbrtoc16.c: Implement using towc function.
63920         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
63921         * wcsmbs/wcsmbsload.c: Likewise.
63922         * iconv/gconv_simple.c: Likewise.
63923         * iconv/gconv_int.h: Likewise.
63924         * iconv/gconv_builtin.h: Likewise.
63925         * iconv/iconv_prog.c: Remove CHAR16 handling.
63927         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
63929         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
63931         * configure.in: Remove --with-elf and --enable-bounded options.
63932         Dont set base_machine for ia64.  More non-ELF conditions removed.
63933         Remove testing and setting of leading underscore information.
63934         * config.make.in (build-bounded): Set to no.
63935         * config.h.in: Remove NO_UNDERSCORES entry.
63936         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
63937         them.
63938         * csu/start.c: Remove !NO_UNDERSCORE code.
63939         * locale/localeinfo.h: Likewise.
63940         * sysdeps/generic/machine-gmon.h: Likewise.
63941         * sysdeps/generic/sysdep.h: Likewise.
63942         * sysdeps/i386/sysdep.h: Likewise.
63943         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
63944         * sysdeps/mach/sysdep.h: Likewise.
63945         * sysdeps/s390/s390-32/sysdep.h: Likewise.
63946         * sysdeps/s390/s390-64/sysdep.h: Likewise.
63947         * sysdeps/sh/sysdep.h: Likewise.
63948         * sysdeps/sparc/sparc32/alloca.S: Likewise.
63949         * sysdeps/unix/i386/sysdep.S: Likewise.
63950         * sysdeps/unix/sparc/start.c: Likewise.
63951         * sysdeps/unix/sparc/sysdep.S: Likewise.
63952         * sysdeps/unix/sparc/sysdep.h: Likewise.
63953         * sysdeps/unix/start.c: Likewise.
63954         * sysdeps/unix/x86_64/sysdep.S: Likewise.
63955         * sysdeps/x86_64/sysdep.h: Likewise.
63957 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
63959         [BZ #13553]
63960         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
63961         for non-gcc.
63962         * argp/argp-fmtstream.h: Use const instead __const.
63963         * argp/argp.h: Likewise.
63964         * assert/assert.h: Likewise.
63965         * bits/fenv.h: Likewise.
63966         * bits/sched.h: Likewise.
63967         * bits/sigset.h: Likewise.
63968         * bits/sigthread.h: Likewise.
63969         * catgets/nl_types.h: Likewise.
63970         * conform/data/pthread.h-data: Likewise.
63971         * crypt/crypt-private.h: Likewise.
63972         * crypt/crypt.h: Likewise.
63973         * crypt/crypt_util.c: Likewise.
63974         * ctype/ctype.h: Likewise.
63975         * debug/execinfo.h: Likewise.
63976         * debug/mbsnrtowcs_chk.c: Likewise.
63977         * debug/mbsrtowcs_chk.c: Likewise.
63978         * debug/wcsnrtombs_chk.c: Likewise.
63979         * debug/wcsrtombs_chk.c: Likewise.
63980         * debug/wcstombs_chk.c: Likewise.
63981         * dirent/dirent.h: Likewise.
63982         * dlfcn/dlfcn.h: Likewise.
63983         * elf/neededtest4.c: Likewise.
63984         * grp/grp.h: Likewise.
63985         * gshadow/gshadow.h: Likewise.
63986         * iconv/gconv.h: Likewise.
63987         * iconv/gconv_int.h: Likewise.
63988         * iconv/gconv_simple.c: Likewise.
63989         * iconv/iconv.h: Likewise.
63990         * iconv/loop.c: Likewise.
63991         * iconv/skeleton.c: Likewise.
63992         * include/aio.h: Likewise.
63993         * include/aliases.h: Likewise.
63994         * include/argz.h: Likewise.
63995         * include/arpa/inet.h: Likewise.
63996         * include/assert.h: Likewise.
63997         * include/dirent.h: Likewise.
63998         * include/dlfcn.h: Likewise.
63999         * include/execinfo.h: Likewise.
64000         * include/fcntl.h: Likewise.
64001         * include/fenv.h: Likewise.
64002         * include/glob.h: Likewise.
64003         * include/grp.h: Likewise.
64004         * include/libintl.h: Likewise.
64005         * include/mntent.h: Likewise.
64006         * include/netdb.h: Likewise.
64007         * include/pwd.h: Likewise.
64008         * include/rpc/netdb.h: Likewise.
64009         * include/sched.h: Likewise.
64010         * include/search.h: Likewise.
64011         * include/shadow.h: Likewise.
64012         * include/signal.h: Likewise.
64013         * include/stdio.h: Likewise.
64014         * include/stdlib.h: Likewise.
64015         * include/string.h: Likewise.
64016         * include/sys/socket.h: Likewise.
64017         * include/sys/stat.h: Likewise.
64018         * include/sys/statfs.h: Likewise.
64019         * include/sys/statvfs.h: Likewise.
64020         * include/sys/syslog.h: Likewise.
64021         * include/sys/time.h: Likewise.
64022         * include/sys/uio.h: Likewise.
64023         * include/time.h: Likewise.
64024         * include/unistd.h: Likewise.
64025         * include/utmp.h: Likewise.
64026         * include/wchar.h: Likewise.
64027         * include/wctype.h: Likewise.
64028         * inet/aliases.h: Likewise.
64029         * inet/arpa/inet.h: Likewise.
64030         * inet/netinet/ether.h: Likewise.
64031         * inet/netinet/in.h: Likewise.
64032         * intl/libintl.h: Likewise.
64033         * io/bits/fcntl2.h: Likewise.
64034         * io/fcntl.h: Likewise.
64035         * io/ftw.h: Likewise.
64036         * io/sys/poll.h: Likewise.
64037         * io/sys/stat.h: Likewise.
64038         * io/sys/statfs.h: Likewise.
64039         * io/sys/statvfs.h: Likewise.
64040         * io/utime.h: Likewise.
64041         * libio/bits/stdio.h: Likewise.
64042         * libio/bits/stdio2.h: Likewise.
64043         * libio/libio.h: Likewise.
64044         * libio/libioP.h: Likewise.
64045         * libio/stdio.h: Likewise.
64046         * locale/lc-ctype.c: Likewise.
64047         * locale/locale.h: Likewise.
64048         * login/utmp.h: Likewise.
64049         * malloc/arena.c: Likewise.
64050         * malloc/malloc.c: Likewise.
64051         * malloc/malloc.h: Likewise.
64052         * malloc/mcheck.c: Likewise.
64053         * malloc/mtrace.c: Likewise.
64054         * math/bits/mathcalls.h: Likewise.
64055         * math/fenv.h: Likewise.
64056         * math/math_private.h: Likewise.
64057         * misc/bits/error.h: Likewise.
64058         * misc/bits/syslog.h: Likewise.
64059         * misc/err.h: Likewise.
64060         * misc/error.h: Likewise.
64061         * misc/fstab.h: Likewise.
64062         * misc/mntent.h: Likewise.
64063         * misc/regexp.h: Likewise.
64064         * misc/search.h: Likewise.
64065         * misc/sgtty.h: Likewise.
64066         * misc/sys/mman.h: Likewise.
64067         * misc/sys/syslog.h: Likewise.
64068         * misc/sys/uio.h: Likewise.
64069         * misc/sys/xattr.h: Likewise.
64070         * misc/ttyent.h: Likewise.
64071         * nis/rpcsvc/ypclnt.h: Likewise.
64072         * nss/nss.h: Likewise.
64073         * posix/bits/unistd.h: Likewise.
64074         * posix/fnmatch.h: Likewise.
64075         * posix/glob.h: Likewise.
64076         * posix/sched.h: Likewise.
64077         * posix/spawn.h: Likewise.
64078         * posix/sys/wait.h: Likewise.
64079         * posix/unistd.h: Likewise.
64080         * posix/wordexp.h: Likewise.
64081         * pwd/pwd.h: Likewise.
64082         * resolv/netdb.h: Likewise.
64083         * resource/sys/resource.h: Likewise.
64084         * rt/aio.h: Likewise.
64085         * rt/bits/mqueue2.h: Likewise.
64086         * rt/mqueue.h: Likewise.
64087         * shadow/shadow.h: Likewise.
64088         * signal/signal.h: Likewise.
64089         * socket/send.c: Likewise.
64090         * socket/sendto.c: Likewise.
64091         * socket/sys/socket.h: Likewise.
64092         * stdio-common/printf.h: Likewise.
64093         * stdlib/bits/stdlib.h: Likewise.
64094         * stdlib/fmtmsg.h: Likewise.
64095         * stdlib/monetary.h: Likewise.
64096         * stdlib/stdlib.h: Likewise.
64097         * stdlib/ucontext.h: Likewise.
64098         * streams/stropts.h: Likewise.
64099         * string/argz.h: Likewise.
64100         * string/bits/string2.h: Likewise.
64101         * string/string.h: Likewise.
64102         * string/strings.h: Likewise.
64103         * sunrpc/rpc/auth.h: Likewise.
64104         * sunrpc/rpc/auth_des.h: Likewise.
64105         * sunrpc/rpc/clnt.h: Likewise.
64106         * sunrpc/rpc/netdb.h: Likewise.
64107         * sunrpc/rpc/pmap_clnt.h: Likewise.
64108         * sunrpc/rpc/xdr.h: Likewise.
64109         * sysdeps/generic/inttypes.h: Likewise.
64110         * sysdeps/generic/net/if.h: Likewise.
64111         * sysdeps/generic/sys/swap.h: Likewise.
64112         * sysdeps/gnu/net/if.h: Likewise.
64113         * sysdeps/gnu/utmpx.h: Likewise.
64114         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
64115         * sysdeps/i386/i486/bits/string.h: Likewise.
64116         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
64117         * sysdeps/s390/bits/string.h: Likewise.
64118         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
64119         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
64120         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
64121         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
64122         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
64123         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
64124         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
64125         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
64126         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
64127         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
64128         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
64129         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
64130         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
64131         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
64132         * sysdeps/unix/sysv/linux/readv.c: Likewise.
64133         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
64134         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
64135         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
64136         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
64137         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
64138         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
64139         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
64140         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
64141         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
64142         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
64143         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
64144         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
64145         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
64146         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
64147         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
64148         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
64149         * sysvipc/sys/ipc.h: Likewise.
64150         * sysvipc/sys/msg.h: Likewise.
64151         * sysvipc/sys/sem.h: Likewise.
64152         * sysvipc/sys/shm.h: Likewise.
64153         * termios/termios.h: Likewise.
64154         * time/sys/time.h: Likewise.
64155         * time/time.h: Likewise.
64156         * wcsmbs/bits/wchar2.h: Likewise.
64157         * wcsmbs/uchar.h: Likewise.
64158         * wcsmbs/wchar.h: Likewise.
64159         * wctype/wctype.h: Likewise.
64161         [BZ #13551]
64162         * Makeconfig: Remove all but ELF support including AIX support.
64163         * Makerules: Likewise.
64164         * config.h.in: Likewise.
64165         * config.make.in: Likewise.
64166         * configure: Likewise.
64167         * configure.in: Likewise.
64168         * csu/Makefile: Likewise.
64169         * csu/version.c: Likewise.
64170         * debug/Makefile: Likewise.
64171         * dlfcn/Makefile: Likewise.
64172         * elf/Makefile: Likewise.
64173         * extra-lib.mk: Likewise.
64174         * iconv/Makefile: Likewise.
64175         * include/libc-symbols.h: Likewise.
64176         * include/shlib-compat.h: Likewise.
64177         * resolv/Makefile: Likewise.
64178         * resolv/res_libc.c: Likewise.
64179         * rt/Makefile: Likewise.
64180         * sysdeps/i386/asm-syntax.h: Likewise.
64181         * sysdeps/i386/sysdep.h: Likewise.
64182         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
64183         * sysdeps/mach/sysdep.h: Likewise.
64184         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
64185         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
64186         * sysdeps/s390/asm-syntax.h: Likewise.
64187         * sysdeps/s390/s390-32/sysdep.h: Likewise.
64188         * sysdeps/s390/s390-64/sysdep.h: Likewise.
64189         * sysdeps/sh/sysdep.h: Likewise.
64190         * sysdeps/unix/sparc/sysdep.h: Likewise.
64191         * sysdeps/wordsize-32/divdi3.c: Likewise.
64192         * sysdeps/x86_64/sysdep.h: Likewise.
64194         * argp/Versions: Remove _argp_unlock_xxx.
64196         [BZ #13559]
64197         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
64198         * abilist/libBrokenLocale.abilist: Likewise.
64199         * abilist/libanl.abilist: Likewise.
64200         * abilist/libc.abilist: Likewise.
64201         * abilist/libcrypt.abilist: Likewise.
64202         * abilist/libdl.abilist: Likewise.
64203         * abilist/libm.abilist: Likewise.
64204         * abilist/libnsl.abilist: Likewise.
64205         * abilist/libpthread.abilist: Likewise.
64206         * abilist/libresolv.abilist: Likewise.
64207         * abilist/librt.abilist: Likewise.
64208         * abilist/libthread_db.abilist: Likewise.
64209         * abilist/libutil.abilist: Likewise.
64210         * abilist/libnss_db.abilist: New file.
64212         * scripts/abilist.awk: Add support for indirect functions.
64214         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
64216         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
64218         * shlib-versions: Remove entries for ports architectures.
64220         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
64221         files in ports.
64222         * elf/stackguard-macros.h: Remove support for IA-64.
64223         * elf/tst-auditmod1.c: Likewise.
64224         * sysdeps/generic/ldsodefs.h: Likewise.
64226         * sysdeps/unix/sysv/linux/configure.in: Ports should define
64227         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
64228         configure files.
64230         [BZ #13552]
64231         * configure.in: Remove --enable-omitfp support.
64232         * FAQ.in: Adjust.
64233         * config.make.in: Likewise.
64234         * Makeconfig: Likewise.
64235         * manual/install.texi: Likewise.
64237         In case anyone cares, the IA-64 architecture could move to ports.
64238         * sysdeps/ia64/*: Removed.
64239         * sysdeps/unix/sysv/linux/ia64/*: Removed.
64240         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
64242         [BZ #13555]
64243         * configure.in: Remove entries for unsupported architectures.
64245         [BZ #13533]
64246         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
64247         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
64248         routines.
64249         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
64250         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
64251         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
64252         fall back to using wcrtomb.
64253         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
64254         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
64255         renaming.
64256         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
64257         * wcsmbs/tst-c16c32-1.c: New file.
64259         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
64260         local variable.
64262         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
64264         * elf/tst-unique3.cc: Add explicit declaration of gets.
64265         * elf/tst-unique3lib.cc: Likewise.
64266         * elf/tst-unique3lib2.cc: Likewise.
64267         * elf/tst-unique4.cc: Likewise.
64269         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
64271 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
64273         [BZ #13566]
64274         * assert/assert.h (static_assert): Don't define for C++.
64275         * libio/stdio.h (gets): Do declare for C++ <= C++11.
64276         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
64278 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
64280         * iconv/loop.c (single loop): Fix assertion in storing of
64281         remaining bytes.
64283         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
64285 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
64287         * posix/getconf.c: Update copyright year.
64288         * nss/getent.c: Likewise.
64289         * nss/makedb.c: Likewise.
64290         * iconv/iconvconfig.c: Likewise.
64291         * iconv/iconv_prog.c: Likewise.
64292         * elf/ldconfig.c: Likewise.
64293         * elf/pldd.c: Likewise.
64294         * elf/sotruss.ksh: Likewise.
64295         * catgets/gencat.c: Likewise.
64296         * csu/version.c: Likewise.
64297         * elf/ldd.bash.in: Likewise.
64298         * elf/sprof.c (print_version): Likewise.
64299         * locale/programs/locale.c: Likewise.
64300         * locale/programs/localedef.c: Likewise.
64301         * login/programs/pt_chown.c: Likewise.
64302         * nscd/nscd.c (print_version): Likewise.
64303         * debug/xtrace.sh: Likewise.
64304         * malloc/memusage.sh: Likewise.
64305         * malloc/mtrace.pl: Likewise.
64306         * debug/catchsegv.sh: Likewise.
64308 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
64310         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
64311         pure attribute.
64313 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
64315         [BZ #13533]
64316         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
64317         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
64318         transformations.
64319         * iconv/gconv_int.h: Likewise.
64320         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
64321         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
64322         from libc for GLIBC_2.16.
64323         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
64324         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
64325         * wcsmbs/uchar.h: Really define mbstate_t.
64326         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
64327         * wcsmbs/c16rtomb.c: New file.
64328         * wcsmbs/mbrtoc16.c: New file.
64329         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
64330         for C/POSIX locale.
64331         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
64332         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
64334         * wcsmbs/wchar.h: Add missing __restrict.
64336 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
64338         [BZ #13532]
64339         * time/Makefile (routines): Add timespec_get.
64340         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
64341         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
64342         timespec for ISO C11.
64343         * time/timespec_get.c: New file.
64344         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
64345         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
64347         [BZ #13531]
64348         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
64349         * stdlib/stdlib.h: Declare aligned_alloc.
64350         * Versions.def: Add GLIBC_2.16 for libc.
64351         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
64353         [BZ 13527]
64354         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
64355         ISO C11.
64357         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
64358         code.
64360         [BZ #13528]
64361         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
64363         [BZ #13529]
64364         * assert/assert.h (static_assert): Define.
64366         * version.h: Update for 2.16 development version.
64368         [BZ #13526]
64369         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
64370         _ISOC11_SOURCE.
64372         * version.h (RELEASE): Bump for 2.15 release.
64373         * include/features.h (__GLIBC_MINOR__): Bump to 15.
64375         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
64376         Patch by Marek Polacek <mpolacek@redhat.com>.
64378         * bits/byteswap.h: Protect long long constants with __extension__.
64379         * sysdeps/i386/bits/byteswap.h: Likewise.
64380         * sysdeps/ia64/bits/byteswap.h: Likewise.
64381         * sysdeps/s390/bits/byteswap.h: Likewise.
64382         * sysdeps/x86_64/bits/byteswap.h: Likewise.
64384 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64386         [BZ #13540]
64387         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
64388         destination buffer.
64389         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
64391 2011-12-23  Marek Polacek  <polacek@redhat.com>
64393         * elf/dl-addr.c (determine_info): Add inline keyword.
64394         * elf/tst-auditmod4b.c (check_avx): Likewise.
64395         * elf/tst-auditmod6b.c (check_avx): Likewise.
64396         * elf/tst-auditmod6c.c (check_avx): Likewise.
64397         * elf/tst-auditmod7b.c (check_avx): Likewise.
64399 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
64401         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
64402         !__SSE_MATH__.
64404 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64406         [BZ #13540]
64407         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
64408         processing for last bytes.
64410 2011-08-06  Bruno Haible  <bruno@clisp.org>
64412         [BZ #13061]
64413         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
64414         U+0385, not to U+1FEE.
64416         [BZ #13062]
64417         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
64418         entry for U+00A5 U+0301.
64420 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
64422         [BZ #13166]
64423         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
64424         buffer for the output is too small.
64426         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
64427         optimization.
64429         [BZ #13185]
64430         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
64431         SSE flags if possible.
64433 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64435         [BZ #13540]
64436         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
64437         processing for last bytes.
64439 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
64441         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
64442         (syscall-list-default-options, syscall-list-default-condition)
64443         (syscall-list-includes): Define.
64444         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
64445         list of ABIs and options and #if conditions for each ABI.  Do not
64446         handle common syscalls between ABIs specially.
64447         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
64448         Remove.
64449         (syscall-list-variants, syscall-list-32bit-options)
64450         (syscall-list-32bit-condition, syscall-list-64bit-options)
64451         (syscall-list-64bit-condition): Define.
64452         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
64453         (syscall-list-variants, syscall-list-32bit-options)
64454         (syscall-list-32bit-condition, syscall-list-64bit-options)
64455         (syscall-list-64bit-condition): Define.
64456         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
64457         Remove.
64458         (syscall-list-variants, syscall-list-32bit-options)
64459         (syscall-list-32bit-condition, syscall-list-64bit-options)
64460         (syscall-list-64bit-condition): Define.
64461         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
64462         Remove.
64463         (syscall-list-variants, syscall-list-32bit-options)
64464         (syscall-list-32bit-condition, syscall-list-64bit-options)
64465         (syscall-list-64bit-condition): Define.
64467 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
64469         * locale/iso-639.def: Add brx entry.
64471         [BZ #13328]
64472         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
64473         Proposed by Mariusz_Cukr <marcukr@op.pl>.
64475         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
64476         __feraiseexcept_renamed.
64478 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
64480         [BZ #13538]
64481         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
64482         EPOLLET with unsigned values.
64483         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
64484         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
64486         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
64487         to large cancellation.
64488         * math/s_cacoshf.c: Likewise.
64489         * math/s_cacoshl.c: Likewise.
64491 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
64493         [BZ #13305]
64494         [BZ #12786]
64495         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
64496         * math/s_cacoshf.c: Likewise.
64497         * math/s_cacoshl.c: Likewise.
64499 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
64501         [BZ #13439]
64502         * iconv/gconv.h: Define __GCONV_SWAP.
64503         * iconvdata/unicode.c: The swap bit must be stored in __flags.
64504         * iconvdata/utf-16.c: Likewise.
64505         * iconvdata/utf-32.c: Likewise.
64507 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
64509         [BZ #13524]
64510         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
64511         numerator after shifting it by one limb.
64513 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
64515         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
64516         under [__USE_EXTERN_INLINES].
64518 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
64520         [BZ #13446]
64521         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
64523 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64525         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
64526         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
64527         optimized code.
64528         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
64529         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
64530         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
64531         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
64532         for strncasecmp/strncasecmp_l compilation.
64533         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
64534         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
64536 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
64538         [BZ #13484]
64539         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
64540         of __asm__.
64542 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
64544         [BZ #13506]
64545         * time/tzfile.c (__tzfile_read): Check values from file header.
64547 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
64549         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
64550         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
64551         * powerpc/powerpc32/dl-start.S: Likewise.
64552         * powerpc/powerpc32/elf/start.S: Likewise.
64553         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
64554         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
64555         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
64556         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
64557         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
64558         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
64559         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
64560         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
64561         * powerpc/powerpc32/fpu/s_round.S: Likewise.
64562         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
64563         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
64564         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
64565         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
64566         * powerpc/powerpc32/memset.S: Likewise.
64567         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
64568         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
64569         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
64570         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
64571         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
64572         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
64573         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
64574         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
64575         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
64576         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
64577         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
64578         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
64579         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
64581 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64583         * math/libm-test.inc: Added more nearbyint tests.
64584         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
64585         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
64586         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
64587         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
64589 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
64591         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
64592         FD_CLOEXEC.
64594 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64596         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
64597         Add wcscpy-ssse3 wcscpy-c.
64598         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
64599         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
64600         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
64601         * sysdeps/x86_64/wcschr.S: New file.
64602         * sysdeps/x86_64/wcsrchr.S: New file.
64603         * string/test-strcmp.c: Remove checking of wcscmp function for
64604         wrong alignments.
64605         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
64606         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
64607         wcsrchr-sse2 wcsrchr-c.
64608         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
64609         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
64610         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
64611         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
64612         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
64613         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
64614         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
64615         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
64616         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
64617         * wcsmbc/wcschr.c (WCSCHR): New macro.
64619 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64621         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
64622         * wcsmbs/test-wcsrchr.c: New file.
64623         * string/test-strrchr.c: Add wcsrchr support.
64624         (WIDE): New macro.
64625         * wcsmbs/test-wcscpy.c: New file.
64626         * string/test-strcpy.c: Add wcscpy support.
64627         (WIDE): New macro.
64629 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
64631         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
64632         the inner loop.
64634 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
64636         [BZ #13472]
64637         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
64639 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
64641         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
64642         Minor optimizations.
64644         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
64645         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
64646         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
64648 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
64650         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
64651         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
64652         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
64653         for gcc to avoid warnings.
64654         * inet/Makefile (tests): Add tst-checks.
64655         * inet/tst-checks.c: New file.
64657         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
64658         warning.
64660         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
64661         __wmemcmp_sse2.
64663         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
64664         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
64666         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
64668 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
64670         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
64671         problem.
64673         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
64675 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
64677         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
64678         conditional on GCC version.
64679         (__arch_compare_and_exchange_val_8_acq)
64680         (__arch_compare_and_exchange_val_16_acq)
64681         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
64682         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
64683         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
64685 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
64687         * sysdeps/sh/backtrace.c: New file.
64689 2011-12-02  Andreas Schwab  <schwab@redhat.com>
64691         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
64692         parenthesis.
64694 2011-12-01  Andreas Schwab  <schwab@redhat.com>
64696         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
64697         falling back to utime.
64699 2011-11-30  Andreas Schwab  <schwab@redhat.com>
64701         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
64702         expectations for float.
64704 2011-11-29  Andreas Schwab  <schwab@redhat.com>
64706         * locale/weight.h (findidx): Add parameter len.
64707         * locale/weightwc.h (findidx): Likewise.
64708         * posix/fnmatch_loop.c (FCT): Adjust caller.
64709         * posix/regcomp.c (build_equiv_class): Likewise.
64710         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
64711         * posix/regexec.c (check_node_accept_bytes): Likewise.
64712         * string/strcoll_l.c (STRCOLL): Likewise.
64713         * string/strxfrm_l.c (STRXFRM): Likewise.
64715 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
64717         * Makefile.in: Remove CVSOPT handling.
64718         * configure.in: Remove use of AC_REVISION.
64719         * iconvdata/Makefile (distribute): No need to filter out CVS.
64720         * scripts/list-sources.sh: Remove CVS, subversion and monotone
64721         handling.
64723 2011-11-16  Andreas Schwab  <schwab@redhat.com>
64725         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
64726         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
64727         [USE_AS_STRNCASECMP_L]: Likewise.
64728         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
64729         NO_TLS_DIRECT_SEG_REFS.
64730         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
64731         Fix argument offsets for non-PIC.
64732         [USE_AS_STRNCASECMP_L]: Likewise.
64733         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
64734         NO_TLS_DIRECT_SEG_REFS.
64736 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
64738         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
64739         O_CLOEXEC.
64740         * locale/loadlocale.c (_nl_load_locale): Likewise.
64742 2011-11-15  Andreas Schwab  <schwab@redhat.com>
64744         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
64745         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
64746         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
64747         (SYSCALL_GETTIME): Set errno on error.
64749         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
64750         count references to noai6ai_cached.
64752 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
64754         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
64756         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
64757         FD_CLOEXEC for /proc/self/maps.
64759         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
64760         FD_CLOEXEC for /proc/meminfo.
64762         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
64763         gai.conf.
64765         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
64766         FD_CLOEXEC for given file.
64768         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
64770         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
64771         FD_CLOEXEC for /etc/hosts.
64772         (_gethtent): Likewise.
64774         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
64776         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
64777         cancellation and set FD_CLOEXEC for /etc/netgroup.
64779         * nss/nss_files/files-key.c (search): Don't allow cancellation when
64780         reading /etc/publickey.
64782         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
64783         allow cancellation when reading /etc/group.
64785         * nss/nss_files/files-alias.c (internal_setent): Don't allow
64786         cancellation.
64787         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
64789         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
64790         when using data file.
64792         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
64794         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
64795         (write_nis_obj): Use "c" and "e" in fopen.
64797         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
64799         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
64801         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
64803         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
64805         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
64806         locale.alias.
64808         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
64810         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
64812         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
64814         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
64815         file parsing and set FD_CLOEXEC.
64817 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
64819         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
64821 2011-11-14  Andreas Schwab  <schwab@redhat.com>
64823         * malloc/arena.c (arena_get2): Don't call reused_arena when
64824         _int_new_arena failed.
64826 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
64828         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
64829         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
64830         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
64831         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
64832         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
64833         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
64834         to compile strcasecmp and strncasecmp.
64835         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
64836         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
64838         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
64840 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
64842         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
64843         locale-defines.sym to gen-as-const-headers.
64844         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
64845         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
64846         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
64847         to compile strcasecmp and strncasecmp.
64848         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
64849         strcasecmp_l and strncasecmp_l.
64850         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
64851         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
64852         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
64853         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
64854         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
64855         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
64856         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
64857         * sysdeps/i386/i686/multiarch/strncase.S: New file.
64858         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
64859         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
64860         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
64862 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
64864         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
64865         result of SYSDEP_GETTIME_CPU to retval.
64866         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
64867         parameter list to macro.  Remove trailing semicolon.  Adjust users.
64869         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
64870         variable.
64872         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
64873         mantissa words.
64874         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
64876         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
64877         from unused variable.
64879         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
64880         DWARF definitions.
64881         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
64882         for assembling.
64884         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
64885         over namespaces.
64887         * sunrpc/rpc_prot.c (rejected): Fix case value.
64889         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
64890         unsigned long long int to avoid warnings in shift.
64892         * posix/regex_internal.c (re_string_reconstruct): Actually use result
64893         of use of trans.
64894         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
64895         variable tmp.
64897         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
64898         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
64899         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
64901         * nis/nis_table.c (nis_list): Use variable of correct type for
64902         result of __follow_path call.
64904 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64906         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
64907         of math functions ceil, trunc, floor, round, and sqrt, when
64908         avaliable on the platform.
64909         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
64910         name clash.
64911         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
64912         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
64913         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
64915 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
64917         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
64918         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
64920 2011-11-11  Roland McGrath  <roland@hack.frob.com>
64922         * include/unistd.h: Fix __readlink return type.
64923         Reported by Chris Metcalf <cmetcalf@tilera.com>.
64925 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
64927         * stdlib/ucontext.h: Undo last change for makecontext.
64929 2011-11-11  Andreas Schwab  <schwab@redhat.com>
64931         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
64933         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
64934         * setjmp/setjmp.h: Mark functions as non-leaf.
64935         * setjmp/bits/setjmp2.h: Likewise.
64936         * stdlib/ucontext.h: Likewise.
64938 2011-11-10  Andreas Schwab  <schwab@redhat.com>
64940         * malloc/arena.c (_int_new_arena): Don't increment narenas.
64941         (reused_arena): Don't check arena limit.
64942         (arena_get2): Atomically check arena limit.
64944 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
64946         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
64947         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
64949         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
64950         instructions.
64952 2011-11-07  Andreas Schwab  <schwab@redhat.com>
64954         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
64955         handler when locking.
64957         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
64958         Fix size of allocated buffer.
64960 2011-11-04  Andreas Schwab  <schwab@redhat.com>
64962         [BZ #10103]
64963         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
64964         declarations for long double functions.
64965         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
64967         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
64969 2011-11-03  Andreas Schwab  <schwab@redhat.com>
64971         * nscd/nscd.c (main): Don't start AVC thread until credentials are
64972         installed.
64974         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
64975         is disabled.
64977 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64979         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
64981 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
64983         * include/alloca.h (stackinfo_alloca_round): Define.
64984         (extend_alloca): Use it.
64985         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
64986         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
64987         here.
64989         * scripts/check-local-headers.sh: Ignore libaudit.h.
64991         * nscd/Makefile (extra-objs): Make recursively expanded.
64993 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
64995         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
64996         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
64998         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
64999         * posix/tst-rfc3484-2.c: Likewise.
65000         * posix/tst-rfc3484-3.c: Likewise.
65002         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
65003         process_vm_writev.
65004         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
65005         process_vm_writev.
65006         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
65007         process_vm_writev from libc using GLIBC_2.15 version.
65009         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
65011 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
65013         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
65014         stack usage.
65016 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
65018         [BZ #13367]
65019         * nss/getent.c (initgroups_keys): Show error message in case no group
65020         names are given.
65022         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
65023         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
65024         __bump_nl_timestamp.
65025         * nscd/connections (nscd_init): When host database is served open
65026         netlink socket and request notification about configuration changes.
65027         (main_loop_poll): Track netlink file descriptor and bump timestamp
65028         in case data becomes available.
65029         (main_loop_epoll): Likewise.
65030         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
65031         (database_pers_head): Add extra_data fileds.
65032         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
65033         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
65034         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
65035         Adjust caller.
65036         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
65037         in6ai data, call __free_in6ai.
65038         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
65039         Add -DHAVE_NETLINK.
65040         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
65041         interface information.  Reuse previous data if netlink timestamp
65042         is not changed.
65043         (__bump_nl_timestamp): New function.
65044         (__free_in6ai): New function.
65046 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
65048         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
65049         close_not_cancel_no_status here.
65050         (__check_pf): Reorganize code a bit to not call close twice if OOM.
65052 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
65054         [BZ #13276]
65055         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
65056         return value.
65058         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
65059         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
65060         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
65062 2011-07-03  Andreas Jaeger  <aj@suse.de>
65064         [BZ #10709]
65065         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
65066         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
65067         * math/libm-test.inc (sin_test): Add test case.
65069 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
65071         [BZ #13337]
65072         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
65073         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
65075         * elf/chroot_canon.c (chroot_canon): Cleanups.
65077         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
65079         [BZ #13335]
65080         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
65081         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
65083         * string/test-strchr.c: Make usable for strchrnul testing.
65084         * string/test-strchrnul.c: New file.
65085         * string/Makefile (strop-tests): Add strchrnul.
65087         * po/it.po: Update from translation team.
65088         * po/es.po: Likewise.
65090 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
65092         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
65093         the three constants needed as parameters.  Drop the others.
65094         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
65095         __m128i_strloadu_tolower.
65096         Create and initialize variable zero and use it in all the places
65097         where _mm_setzero_si128 was used.
65099         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
65100         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
65101         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
65102         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
65103         anymore.
65104         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
65105         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
65106         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
65107         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
65108         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
65109         __mpranred, __mptan.
65110         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
65111         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
65112         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
65113         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
65114         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
65115         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
65116         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
65117         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
65118         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
65120 2011-10-28  Andreas Schwab  <schwab@redhat.com>
65122         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
65123         redefine if SHARED.
65124         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
65126         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
65127         wide char related routines to wcsmbs subdir.
65129 2011-10-27  Andreas Schwab  <schwab@redhat.com>
65131         [BZ #13344]
65132         * misc/sys/cdefs.h (__THROWNL): Define.
65133         * posix/unistd.h: Use __THREADNL instead of __THREAD
65134         for memory synchronization functions.
65136 2011-10-26  Roland McGrath  <roland@hack.frob.com>
65138         [BZ #13349]
65139         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
65140         doesn't exist.
65141         * manual/stdio.texi (Obstack Streams): Node removed.
65143 2011-10-26  Andreas Schwab  <schwab@redhat.com>
65145         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
65146         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
65147         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
65149         * math/math_private.h (math_force_eval): Allow non-addressable
65150         arguments.
65151         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
65153 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
65155         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
65156         file is not needed.
65158         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
65159         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
65160         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
65161         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
65162         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
65163         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
65164         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
65165         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
65166         Add AVX variants.
65167         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
65168         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
65169         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
65170         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
65171         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
65172         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
65173         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
65174         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
65175         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
65176         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
65177         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
65178         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
65179         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
65180         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
65181         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
65182         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
65183         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
65184         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
65185         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
65187         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
65188         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
65190         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
65191         place.  Use VEX encoding when compiling for AVX.
65193 2011-10-25  Andreas Schwab  <schwab@redhat.com>
65195         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
65196         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
65198         * string/test-strchr.c (do_test): Don't generate NUL bytes.
65200 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
65202         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
65203         useless if() expression.
65204         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
65205         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
65206         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
65207         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
65208         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
65209         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
65210         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
65211         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
65212         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
65213         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
65214         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
65215         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
65216         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
65217         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
65218         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
65219         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
65220         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
65221         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
65222         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
65224         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
65226 2011-10-25  Andreas Schwab  <schwab@redhat.com>
65228         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
65229         condition.
65230         * elf/dl-fini.c (_dl_sort_fini): Likewise.
65232 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
65234         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
65235         .text section.  Avoid duplicate constants.
65236         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
65237         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
65238         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
65239         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
65240         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
65241         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
65242         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
65243         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
65244         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
65245         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
65246         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
65247         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
65248         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
65249         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
65250         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
65251         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
65252         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
65253         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
65254         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
65255         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
65256         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
65257         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
65258         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
65259         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
65260         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
65261         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
65262         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
65263         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
65264         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
65265         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
65266         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
65267         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
65268         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
65269         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
65270         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
65271         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
65272         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
65273         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
65274         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
65275         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
65276         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
65277         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
65278         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
65279         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
65280         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
65282 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
65284         * sysdeps/x86_64/dla.h: Move to ...
65285         * sysdeps/x86_64/fpu/dla.h: ...here.
65286         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
65287         situations.  Use __builtin_fma only for gcc 4.6 and up.
65289         * config.make.in: Add have-mfma4 entry.
65290         * configure.in: Substitute libc_cv_cc_fma4.
65291         * math/Makefile (dbl-only-routines): Add sincostab.
65292         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
65293         Use __sincostab not sincos.
65294         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
65295         name is a macro.
65296         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
65297         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
65298         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
65299         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
65300         using __copysign.
65301         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
65302         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
65303         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
65304         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
65305         and __inv.
65306         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
65307         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
65308         __copysign.
65309         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
65310         define aliases when function name is a macro.
65311         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
65312         sysdeps/ieee754/dbl-64/sincos.tbl.
65313         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
65314         fma4-enabled routines.
65315         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
65316         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
65317         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
65318         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
65319         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
65320         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
65321         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
65322         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
65323         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
65324         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
65325         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
65326         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
65327         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
65328         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
65329         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
65330         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
65331         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
65332         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
65333         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
65334         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
65335         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
65336         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
65337         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
65338         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
65339         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
65340         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
65341         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
65342         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
65343         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
65344         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
65346         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
65347         rename.
65348         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
65349         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
65350         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
65351         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
65352         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
65353         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
65354         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
65355         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
65357 2011-10-24  Andreas Schwab  <schwab@redhat.com>
65359         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
65361 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
65363         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
65365         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
65366         prediction.
65367         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
65369         * string/strnlen.c: Don't define STRNLEN, reverse logic.
65370         Remove unused variable magic_bits.
65371         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
65373         * string/strnlen.c: Define and use STRNLEN macro.
65374         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
65375         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
65376         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
65377         * wcsmbs/wcslen.c: Define and use WCSLEN.
65378         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
65379         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
65380         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
65381         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
65382         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
65383         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
65384         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
65386 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65388         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
65389         strnlen-sse2-no-bsf.
65390         Rename strlen-no-bsf to strlen-sse2-no-bsf.
65391         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
65392         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
65393         Add strnlen support.
65394         (USE_AS_STRNLEN): New macro.
65395         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
65396         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
65397         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
65398         * sysdeps/x86_64/wcslen.S: New file.
65400 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
65402         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
65403         XMM-moves are used for copying on small sizes.
65405 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65407         * wcsmbs/Makefile (strop-tests): Add wcschr.
65408         * wcsmbs/test-wcschr.c: New file.
65409         * string/test-strchr.c: Update.
65410         Add wcschr support.
65411         (WIDE): New macro.
65413 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65415         * wcsmbs/Makefile (strop-tests): Add wcslen.
65416         * wcsmbs/test-wcslen.c: New file.
65417         * string/test-strlen.c: Update.
65418         Add wcslen support.
65419         (WIDE): New macro.
65421 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
65423         * po/it.po: Update from translation team.
65425 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65427         * sysdeps/x86_64/wcscmp.S: Update.
65428         Fix wrong comparison semantics.
65429         wcscmp shall use signed comparison not unsigned.
65430         Don't use substraction to avoid overflow bug.
65431         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
65432         * wcsmbc/wcscmp.c: Likewise.
65433         * string/test-strcmp.c: Likewise.
65434         Add new tests to check cases with negative values.
65436 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
65438         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
65439         * sysdeps/x86_64/dla.h: ...here.  New file.
65440         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
65441         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
65442         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
65443         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
65444         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
65445         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
65446         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
65447         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
65448         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
65450 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
65452         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
65453         __ynl_finite aliases.
65455 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
65457         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65459         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
65460         define DLA_FMA.
65461         [DLA_FMA] (EMULV): Use DLA_FMA.
65462         [DLA_FMA] (MUL12): Use EMULV.
65463         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
65464         that are not needed.
65465         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
65466         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
65467         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
65468         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
65469         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
65470         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
65471         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
65473 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
65475         * math/s_nan.c: Undef __nan.
65476         * math/s_nanf.c: Undef __nanf.
65477         * math/s_nanl.c: Undef __nanl.
65478         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
65479         "math_private.h".
65481 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
65483         * math/s_catan.c: Add branch predictions.
65484         * math/s_catanf.c: Likewise.
65485         * math/s_catanh.c: Likewise.
65486         * math/s_catanhf.c: Likewise.
65487         * math/s_catanhl.c: Likewise.
65488         * math/s_catanl.c: Likewise.
65489         * math/s_cexp.c: Likewise.
65490         * math/s_cexpf.c: Likewise.
65491         * math/s_cexpl.c: Likewise.
65492         * math/s_clog.c: Likewise.
65493         * math/s_clog10.c: Likewise.
65494         * math/s_clog10f.c: Likewise.
65495         * math/s_clog10l.c: Likewise.
65496         * math/s_clogf.c: Likewise.
65497         * math/s_clogl.c: Likewise.
65498         * math/s_csqrt.c: Likewise.
65499         * math/s_csqrtf.c: Likewise.
65500         * math/s_csqrtl.c: Likewise.
65501         * math/s_ctanf.c: Likewise.
65502         * math/s_ctanh.c: Likewise.
65503         * math/s_ctanhf.c: Likewise.
65504         * math/s_ctanhl.c: Likewise.
65505         * math/s_ctanl.c: Likewise.
65507         * math/math_private.h: Define __nan, __nanf, __nanl.
65508         * math/s_cacosh.c: Include <math_private.h>.
65509         * math/s_cacoshl.c: Likewise.
65510         * math/s_casinh.c: Likewise.
65511         * math/s_casinhf.c: Likewise.
65512         * math/s_casinhl.c: Likewise.
65513         * math/s_ccos.c: Rely entire on ccosh.
65514         * math/s_ccosf.c: Rely entire on ccoshf.
65515         * math/s_ccosl.c: Rely entirely on ccoshl.
65516         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
65517         Remove tests for FE_INVALID.
65518         * math/s_ccoshf.c: Likewise.
65519         * math/s_ccoshl.c: Likewise.
65520         * math/s_csin.c: Likewise.
65521         * math/s_csinf.c: Likewise.
65522         * math/s_csinh.c Likewise.
65523         * math/s_csinhf.c: Likewise.
65524         * math/s_csinhl.c: Likewise.
65525         * math/s_csinl.c: Likewise.
65526         * math/s_ctan.c: Likewise.
65527         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
65528         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
65529         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
65531 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
65533         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
65534         compilation problems.
65536         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
65537         __builtin_expect.
65539 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
65541         * sysdeps/i386/configure.in: Test for -mfma4 option.
65542         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
65543         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
65544         COMMON_CPUID_INDEX_80000001.
65545         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
65546         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
65547         use it if FMA3 is not supported.
65548         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
65550         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
65551         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
65553 2011-10-20  Andreas Schwab  <schwab@redhat.com>
65555         [BZ #12892]
65556         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
65557         it would create a cycle with a link time dependency.
65559 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
65561         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
65562         instruction.
65563         * string/Makefile (strop-tests): Add rawmemchr.
65564         * string/test-rawmemchr.c: New file.
65566         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
65567         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
65568         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
65569         when compiling str{,n}casecmp and when AVX is available.  Hook up
65570         new optimized code in initializers.
65572 2011-10-19  Andreas Schwab  <schwab@redhat.com>
65574         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
65575         __feraiseexcept instead of feraiseexcept.
65577 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
65579         * math/math_private.h: Define defaults for libc_fetestexcept and
65580         libc_feupdateenv.
65581         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
65582         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
65583         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
65584         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
65585         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
65586         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
65587         libc_fetestexcept and libc_feupdateenv.
65589         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
65590         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
65591         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
65592         * sysdeps/x86_64/fpu/math_private.h: Define special version of
65593         libc_feholdexcept_setround.
65595         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
65596         Add s_nearbyint-c and s_nearbyintf-c.
65597         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
65598         nearbyintf inlines.
65599         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
65600         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
65601         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
65602         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
65604         * math/math_private.h: Define defaults for libc_fegetround,
65605         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
65606         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
65607         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
65608         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
65609         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
65610         standard functions.
65611         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
65612         Remove comments and hacks for old compiler versions.
65613         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
65614         libc_fegetround, libc_fesetround, libc_feholdexcept, and
65615         libc_feholdexceptl.
65617 2011-10-18  Andreas Schwab  <schwab@redhat.com>
65619         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
65620         (__feraiseexcept_renamed): Add __NTH.
65621         (feraiseexcept): Add __NTH.  Rename local variables to fix
65622         namespace violations.
65624 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
65626         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
65628         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
65630         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
65631         recently added interfaces.
65632         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
65634         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
65635         about macro parameter expansion.
65637         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
65638         __NO_MATH_INLINES is defined.  Cleanups.
65640         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
65641         and __floorf is target has SSE4.1.
65642         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
65643         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
65644         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
65645         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
65647         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
65648         name.
65649         (floorf): Likewise.
65651         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
65653 2011-10-17  Andreas Schwab  <schwab@redhat.com>
65655         * misc/sys/cdefs.h: Fix last change.
65657         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
65658         database lookup.
65660 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
65662         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
65664         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
65665         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
65666         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
65667         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
65668         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
65669         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
65670         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
65671         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
65672         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
65673         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
65674         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
65675         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
65676         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
65677         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
65678         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
65679         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
65680         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
65681         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
65682         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
65683         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
65684         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
65685         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
65687         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
65688         ceil, ceilf, floor, floorf.
65690         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
65691         Perform IRELATIVE relocations last.
65693         * elf/do-rel.h: Add another parameter nrelative, replacing the
65694         local variable with the same name.  Change name of the function
65695         to end in Rel or Rela (uppercase).
65696         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
65697         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
65698         elf_dynamic_do_##reloc function.
65700 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
65702         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
65703         is sufficient, at least on modern CPUs.
65705         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
65707         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
65708         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
65710         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
65711         __expl_finite.
65712         * math/bits/math-finite.h: Add entries for exp.
65713         * math/e_expl.c: Add __*_finite alias.
65714         * sysdeps/i386/fpu/e_exp.S: Likewise.
65715         * sysdeps/i386/fpu/e_expf.S: Likewise.
65716         * sysdeps/i386/fpu/e_expl.c: Likewise.
65717         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
65718         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
65719         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
65720         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
65721         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
65722         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
65723         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
65725         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
65726         is sufficient, at least on modern CPUs.
65728         * ctype/ctype-info.c (__ctype_init): Define.
65729         * include/ctype.h (__ctype_init): Declare.
65730         (__ctype_b_loc): The variable is always initialized.
65731         (__ctype_toupper_loc): Likewise.
65732         (__ctype_tolower_loc): Likewise.
65733         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
65734         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
65736 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
65738         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
65740         * configure.in: Also look in $cxxmachine/include for C++ system
65741         headers.
65743 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65745         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
65746         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
65747         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
65748         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
65749         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
65750         (USE_AS_WMEMCMP): New macro.
65751         Fixing indents.
65752         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
65753         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
65754         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
65755         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
65756         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
65757         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
65758         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
65759         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
65760         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
65761         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
65762         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
65763         (USE_AS_WMEMCMP): New macro.
65764         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
65765         * sysdeps/string/test-memcmp.c: Update.
65766         Fix simple_wmemcmp.
65767         Add new tests.
65768         * wcsmbs/wmemcmp.c: Update.
65769         (WMEMCMP): New macro.
65770         Fix overflow bug.
65772 2011-10-12  Andreas Jaeger  <aj@suse.de>
65774         [BZ #13268]
65775         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
65777 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
65779         * libio/iofwide.c (do_length): Avoid warning.
65781         * ctype/ctype.h (__isctype_f): Add missing __THROW.
65783 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
65785         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
65787         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
65788         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
65789         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
65790         * sysdeps/i386/i686/fpu/e_log.S: New file.
65791         * sysdeps/i386/i686/fpu/e_logf.S: New file.
65792         * sysdeps/i386/i686/fpu/e_logl.S: New file.
65794         * ctype/ctype.h: Add support for inlined isXXX functions when
65795         compiling C++ code.
65797 2011-10-14  Andreas Schwab  <schwab@redhat.com>
65799         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
65801         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
65803 2011-10-13  Roland McGrath  <roland@hack.frob.com>
65805         [BZ #13291]
65806         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
65808 2011-10-13  Andreas Schwab  <schwab@redhat.com>
65810         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
65811         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
65812         feraiseexcept.
65814         * sysdeps/x86_64/memrchr.S: Check for zero size.
65816         * string/stratcliff.c: Add memrchr tests.
65818 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65820         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
65821         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
65822         rawmemchr-sse2 rawmemchr-sse2-bsf.
65823         * sysdeps/i386/i686/multiarch/memchr.S: New file.
65824         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
65825         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
65826         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
65827         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
65828         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
65829         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
65830         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
65831         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
65832         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
65833         * string/memrchr.c (MEMRCHR): New macro.
65835 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
65837         Add integration with gcc's -ffinite-math-only and optimize wrapper
65838         functions in libm.
65839         * Versions.def: Define GLIBC_2.15 version for libm.
65840         * math/Makefile (headers): Add bits/math-finite.h.
65841         * math/bits/math-finite.h: New file.
65842         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
65843         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
65844         * math/e_acoshl.c: Add __*_finite alias.
65845         * math/e_acosl.c: Likewise.
65846         * math/e_asinl.c: Likewise.
65847         * math/e_atan2l.c: Likewise.
65848         * math/e_atanhl.c: Likewise.
65849         * math/e_coshl.c: Likewise.
65850         * math/e_exp10.c: Likewise.
65851         * math/e_exp10f.c: Likewise.
65852         * math/e_exp10l.c: Likewise.
65853         * math/e_exp2l.c: Likewise.
65854         * math/e_fmodl.c: Likewise.
65855         * math/e_gammal_r.c: Likewise.
65856         * math/e_hypotl.c: Likewise.
65857         * math/e_j0l.c: Likewise.
65858         * math/e_j1l.c: Likewise.
65859         * math/e_jnl.c: Likewise.
65860         * math/e_lgammal_r.c: Likewise.
65861         * math/e_log10l.c: Likewise.
65862         * math/e_log2l.c: Likewise.
65863         * math/e_logl.c: Likewise.
65864         * math/e_powl.c: Likewise.
65865         * math/e_sinhl.c: Likewise.
65866         * math/e_sqrtl.c: Likewise.
65867         * math/e_scalb.c: Completely rewritten and optimized.
65868         * math/e_scalbf.c: Likewise.
65869         * math/e_scalbl.c: Likewise.
65870         * math/w_acos.c: Likewise.
65871         * math/w_acosf.c: Likewise.
65872         * math/w_acosl.c: Likewise.
65873         * math/w_acosh.c: Likewise.
65874         * math/w_acoshf.c: Likewise.
65875         * math/w_acoshl.c: Likewise.
65876         * math/w_asin.c: Likewise.
65877         * math/w_asinf.c: Likewise.
65878         * math/w_asinl.c: Likewise.
65879         * math/w_atan2.c: Likewise.
65880         * math/w_atan2f.c: Likewise.
65881         * math/w_atan2l.c: Likewise.
65882         * math/w_atanh.c: Likewise.
65883         * math/w_atanhf.c: Likewise.
65884         * math/w_atanhl.c: Likewise.
65885         * math/w_exp10.c: Likewise.
65886         * math/w_exp10f.c: Likewise.
65887         * math/w_exp10l.c: Likewise.
65888         * math/w_fmod.c: Likewise.
65889         * math/w_fmodf.c: Likewise.
65890         * math/w_fmodl.c: Likewise.
65891         * math/w_j0.c: Likewise.
65892         * math/w_j0f.c: Likewise.
65893         * math/w_j0l.c: Likewise.
65894         * math/w_j1.c: Likewise.
65895         * math/w_j1f.c: Likewise.
65896         * math/w_j1l.c: Likewise.
65897         * math/w_jn.c: Likewise.
65898         * math/w_jnf.c: Likewise.
65899         * math/w_log.c: Likewise.
65900         * math/w_logf.c: Likewise.
65901         * math/w_logl.c: Likewise.
65902         * math/w_log10.c: Likewise.
65903         * math/w_log10f.c: Likewise.
65904         * math/w_log10l.c: Likewise.
65905         * math/w_log2.c: Likewise.
65906         * math/w_log2f.c: Likewise.
65907         * math/w_log2l.c: Likewise.
65908         * math/w_pow.c: Likewise.
65909         * math/w_powf.c: Likewise.
65910         * math/w_powl.c: Likewise.
65911         * math/w_remainder.c: Likewise.
65912         * math/w_remainderf.c: Likewise.
65913         * math/w_remainderl.c: Likewise.
65914         * math/w_scalb.c: Likewise.
65915         * math/w_scalbf.c: Likewise.
65916         * math/w_scalbl.c: Likewise.
65917         * math/w_sqrt.c: Likewise.
65918         * math/w_sqrtf.c: Likewise.
65919         * math/w_sqrtl.c: Likewise.
65920         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
65921         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
65922         used.
65923         * math/math_private.h: Declare __kernel_standard_f.
65924         * math/w_cosh.c: Remove cruft and optimize a bit.
65925         * math/w_coshf.c: Likewise.
65926         * math/w_coshl.c: Likewise.
65927         * math/w_exp2.c: Likewise.
65928         * math/w_exp2f.c: Likewise.
65929         * math/w_exp2l.c: Likewise.
65930         * math/w_hypot.c: Likewise.
65931         * math/w_hypotf.c: Likewise.
65932         * math/w_hypotl.c: Likewise.
65933         * math/w_lgamma.c: Likewise.
65934         * math/w_lgamma_r.c: Likewise.
65935         * math/w_lgammaf.c: Likewise.
65936         * math/w_lgammaf_r.c: Likewise.
65937         * math/w_lgammal.c: Likewise.
65938         * math/w_lgammal_r.c: Likewise.
65939         * math/w_sinh.c: Likewise.
65940         * math/w_sinhf.c: Likewise.
65941         * math/w_sinhl.c: Likewise.
65942         * math/w_tgamma.c: Likewise.
65943         * math/w_tgammaf.c: Likewise.
65944         * math/w_tgammal.c: Likewise.
65945         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
65946         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
65947         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
65948         Minor optimizations.  Pretty printing.  Remove cruft.
65949         * sysdeps/i386/fpu/e_acosf.S: Likewise.
65950         * sysdeps/i386/fpu/e_acosh.S: Likewise.
65951         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
65952         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
65953         * sysdeps/i386/fpu/e_acosl.c: Likewise.
65954         * sysdeps/i386/fpu/e_asin.S: Likewise.
65955         * sysdeps/i386/fpu/e_asinf.S: Likewise.
65956         * sysdeps/i386/fpu/e_atan2.S: Likewise.
65957         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
65958         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
65959         * sysdeps/i386/fpu/e_atanh.S: Likewise.
65960         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
65961         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
65962         * sysdeps/i386/fpu/e_exp10.S: Likewise.
65963         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
65964         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
65965         * sysdeps/i386/fpu/e_exp2.S: Likewise.
65966         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
65967         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
65968         * sysdeps/i386/fpu/e_fmod.S: Likewise.
65969         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
65970         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
65971         * sysdeps/i386/fpu/e_hypot.S: Likewise.
65972         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
65973         * sysdeps/i386/fpu/e_log.S: Likewise.
65974         * sysdeps/i386/fpu/e_log10.S: Likewise.
65975         * sysdeps/i386/fpu/e_log10f.S: Likewise.
65976         * sysdeps/i386/fpu/e_log10l.S: Likewise.
65977         * sysdeps/i386/fpu/e_log2.S: Likewise.
65978         * sysdeps/i386/fpu/e_log2f.S: Likewise.
65979         * sysdeps/i386/fpu/e_log2l.S: Likewise.
65980         * sysdeps/i386/fpu/e_logf.S: Likewise.
65981         * sysdeps/i386/fpu/e_logl.S: Likewise.
65982         * sysdeps/i386/fpu/e_pow.S: Likewise.
65983         * sysdeps/i386/fpu/e_powf.S: Likewise.
65984         * sysdeps/i386/fpu/e_powl.S: Likewise.
65985         * sysdeps/i386/fpu/e_remainder.S: Likewise.
65986         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
65987         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
65988         * sysdeps/i386/fpu/e_scalb.S: Likewise.
65989         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
65990         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
65991         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
65992         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
65993         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
65994         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
65995         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
65996         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
65997         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
65998         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
65999         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
66000         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
66001         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
66002         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
66003         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
66004         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
66005         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
66006         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
66007         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
66008         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
66009         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
66010         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
66011         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
66012         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
66013         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
66014         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
66015         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
66016         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
66017         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
66018         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
66019         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
66020         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
66021         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
66022         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
66023         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
66024         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
66025         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
66026         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
66027         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
66028         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
66029         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
66030         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
66031         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
66032         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
66033         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
66034         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
66035         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
66036         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
66037         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
66038         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
66039         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
66040         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
66041         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
66042         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
66043         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
66044         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
66045         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
66046         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
66047         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
66048         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
66049         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
66050         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
66051         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
66052         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
66053         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
66054         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
66055         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
66056         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
66057         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
66058         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
66059         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
66060         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
66061         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
66062         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
66063         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
66064         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
66065         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
66066         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
66067         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
66068         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
66069         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
66070         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
66071         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
66072         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
66073         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
66074         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
66075         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
66076         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
66077         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
66078         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
66079         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
66080         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
66081         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
66082         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
66083         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
66084         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
66085         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
66086         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
66087         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
66088         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
66089         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
66090         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
66091         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
66092         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
66093         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
66094         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
66095         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
66096         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
66097         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
66098         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
66099         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
66100         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
66101         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
66102         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
66103         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
66104         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
66105         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
66106         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
66107         (__isnanf): Likewise.
66108         (__isinf_ns): Likewise.
66109         (__isinf_nsf): Likewise.
66110         (__finite): Likewise.
66111         (__finitef): Likewise.
66112         (__ieee754_sqrt): Define as macro.
66113         (__ieee754_sqrtf): Define as macro.
66114         (__ieee754_sqrtl): Define as macro.
66115         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
66116         inlined copy.
66117         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
66118         __FINITE_MATH_ONLY__ consistent.
66119         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
66121 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
66123         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
66124         of rawmemchr.
66126         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
66128 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
66130         * po/ja.po: Update from translation team.
66132 2011-10-08  Roland McGrath  <roland@hack.frob.com>
66134         * locale/programs/locarchive.c (prepare_address_space): New function.
66135         (create_archive, enlarge_archive, open_archive): Use it.
66137         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
66138         inside [SHARED], where it is used.
66140         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
66142         * nss/getent.c (netgroup_keys): Remove unused variable.
66143         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
66145 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
66147         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
66148         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
66149         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
66150         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
66151         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
66152         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
66153         * math/Makefile (libm-calls): Add s_isinf_ns.
66154         * math/divtc3.c: Use __isinf_nsl instead of isinf.
66155         * math/multc3.c: Likewise.
66156         * math/s_casin.c: Likewise.
66157         * math/s_casinf.c: Likewise.
66158         * math/s_casinl.c: Likewise.
66159         * math/s_ccos.c: Likewise.
66160         * math/s_ccosf.c: Likewise.
66161         * math/s_ccosl.c: Likewise.
66162         * math/s_ctan.c: Likewise.
66163         * math/s_ctanf.c: Likewise.
66164         * math/s_ctanh.c: Likewise.
66165         * math/s_ctanhf.c: Likewise.
66166         * math/s_ctanhl.c: Likewise.
66167         * math/s_ctanl.c: Likewise.
66168         * math/w_fmod.c: Likewise.
66169         * math/w_fmodf.c: Likewise.
66170         * math/w_fmodl.c: Likewise.
66171         * math/w_remainder.c: Likewise.
66172         * math/w_remainderf.c: Likewise.
66173         * math/w_remainderl.c: Likewise.
66174         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
66175         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
66176         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
66177         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
66178         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
66179         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
66180         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
66181         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
66183         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
66184         of the number.
66185         * stdio-common/printf_fphex.c: Likewise.
66186         * stdio-common/printf_size.c: Likewise.
66188         * math/e_exp10.c: Include math_private.h using <...> not "...".
66189         * math/e_exp10f.c: Likewise.
66190         * math/e_exp10l.c: Likewise.
66191         * math/e_exp2l.c: Likewise.
66192         * math/e_j0l.c: Likewise.
66193         * math/e_j1l.c: Likewise.
66194         * math/e_jnl.c: Likewise.
66195         * math/e_lgammal_r.c: Likewise.
66196         * math/e_rem_pio2l.c: Likewise.
66197         * math/e_scalb.c: Likewise.
66198         * math/e_scalbf.c: Likewise.
66199         * math/e_scalbl.c: Likewise.
66200         * math/k_cosl.c: Likewise.
66201         * math/k_sinl.c: Likewise.
66202         * math/k_tanl.c: Likewise.
66203         * math/s_cacoshf.c: Likewise.
66204         * math/s_catan.c: Likewise.
66205         * math/s_catanf.c: Likewise.
66206         * math/s_catanh.c: Likewise.
66207         * math/s_catanhf.c: Likewise.
66208         * math/s_catanhl.c: Likewise.
66209         * math/s_catanl.c: Likewise.
66210         * math/s_ccosh.c: Likewise.
66211         * math/s_ccoshf.c: Likewise.
66212         * math/s_ccoshl.c: Likewise.
66213         * math/s_cexp.c: Likewise.
66214         * math/s_cexpf.c: Likewise.
66215         * math/s_cexpl.c: Likewise.
66216         * math/s_clog.c: Likewise.
66217         * math/s_clog10.c: Likewise.
66218         * math/s_clog10f.c: Likewise.
66219         * math/s_clog10l.c: Likewise.
66220         * math/s_clogf.c: Likewise.
66221         * math/s_clogl.c: Likewise.
66222         * math/s_csin.c: Likewise.
66223         * math/s_csinf.c: Likewise.
66224         * math/s_csinh.c: Likewise.
66225         * math/s_csinhf.c: Likewise.
66226         * math/s_csinhl.c: Likewise.
66227         * math/s_csinl.c: Likewise.
66228         * math/s_csqrt.c: Likewise.
66229         * math/s_csqrtf.c: Likewise.
66230         * math/s_csqrtl.c: Likewise.
66231         * math/s_ctan.c: Likewise.
66232         * math/s_ctanf.c: Likewise.
66233         * math/s_ctanh.c: Likewise.
66234         * math/s_ctanhf.c: Likewise.
66235         * math/s_ctanhl.c: Likewise.
66236         * math/s_ctanl.c: Likewise.
66237         * math/s_ldexp.c: Likewise.
66238         * math/s_ldexpf.c: Likewise.
66239         * math/s_ldexpl.c: Likewise.
66240         * math/s_significand.c: Likewise.
66241         * math/s_significandf.c: Likewise.
66242         * math/s_significandl.c: Likewise.
66243         * math/w_acos.c: Likewise.
66244         * math/w_acosf.c: Likewise.
66245         * math/w_acosh.c: Likewise.
66246         * math/w_acoshf.c: Likewise.
66247         * math/w_acoshl.c: Likewise.
66248         * math/w_acosl.c: Likewise.
66249         * math/w_asin.c: Likewise.
66250         * math/w_asinf.c: Likewise.
66251         * math/w_asinl.c: Likewise.
66252         * math/w_atan2.c: Likewise.
66253         * math/w_atan2f.c: Likewise.
66254         * math/w_atan2l.c: Likewise.
66255         * math/w_atanh.c: Likewise.
66256         * math/w_atanhf.c: Likewise.
66257         * math/w_atanhl.c: Likewise.
66258         * math/w_cosh.c: Likewise.
66259         * math/w_coshf.c: Likewise.
66260         * math/w_coshl.c: Likewise.
66261         * math/w_dremf.c: Likewise.
66262         * math/w_exp10.c: Likewise.
66263         * math/w_exp10f.c: Likewise.
66264         * math/w_exp10l.c: Likewise.
66265         * math/w_exp2.c: Likewise.
66266         * math/w_exp2f.c: Likewise.
66267         * math/w_fmod.c: Likewise.
66268         * math/w_fmodf.c: Likewise.
66269         * math/w_fmodl.c: Likewise.
66270         * math/w_hypot.c: Likewise.
66271         * math/w_hypotf.c: Likewise.
66272         * math/w_hypotl.c: Likewise.
66273         * math/w_j0.c: Likewise.
66274         * math/w_j0f.c: Likewise.
66275         * math/w_j0l.c: Likewise.
66276         * math/w_j1.c: Likewise.
66277         * math/w_j1f.c: Likewise.
66278         * math/w_j1l.c: Likewise.
66279         * math/w_jn.c: Likewise.
66280         * math/w_jnf.c: Likewise.
66281         * math/w_jnl.c: Likewise.
66282         * math/w_lgamma.c: Likewise.
66283         * math/w_lgamma_r.c: Likewise.
66284         * math/w_lgammaf.c: Likewise.
66285         * math/w_lgammaf_r.c: Likewise.
66286         * math/w_lgammal.c: Likewise.
66287         * math/w_lgammal_r.c: Likewise.
66288         * math/w_log.c: Likewise.
66289         * math/w_log10.c: Likewise.
66290         * math/w_log10f.c: Likewise.
66291         * math/w_log10l.c: Likewise.
66292         * math/w_log2.c: Likewise.
66293         * math/w_log2f.c: Likewise.
66294         * math/w_log2l.c: Likewise.
66295         * math/w_logf.c: Likewise.
66296         * math/w_logl.c: Likewise.
66297         * math/w_pow.c: Likewise.
66298         * math/w_powf.c: Likewise.
66299         * math/w_powl.c: Likewise.
66300         * math/w_remainder.c: Likewise.
66301         * math/w_remainderf.c: Likewise.
66302         * math/w_remainderl.c: Likewise.
66303         * math/w_scalb.c: Likewise.
66304         * math/w_scalbf.c: Likewise.
66305         * math/w_scalbl.c: Likewise.
66306         * math/w_sinh.c: Likewise.
66307         * math/w_sinhf.c: Likewise.
66308         * math/w_sinhl.c: Likewise.
66309         * math/w_sqrt.c: Likewise.
66310         * math/w_sqrtf.c: Likewise.
66311         * math/w_sqrtl.c: Likewise.
66312         * math/w_tgamma.c: Likewise.
66313         * math/w_tgammaf.c: Likewise.
66314         * math/w_tgammal.c: Likewise.
66316         * po/ja.po: Update from translation team.
66318 2011-09-29  Andreas Jaeger  <aj@suse.de>
66320         [BZ #13179]
66321         * sunrpc/netname.c (netname2host): Fix logic.
66323         [BZ #6779]
66324         [BZ #6783]
66325         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
66326         correctly.
66327         * math/w_remainder.c (__remainder): Likewise.
66328         * math/w_remainderf.c (__remainderf): Likewise.
66329         * math/libm-test.inc (remainder_test): Add test cases.
66331 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66333         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
66334         sdiv_qrnnd.
66336 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
66338         * string/test-memcmp.c: Avoid unncessary #defines.
66339         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
66341 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66343         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
66344         Use new sse2 version for core i3 - i7 as it's faster
66345         than sse42 version.
66346         (bit_Prefer_PMINUB_for_stringop): New.
66347         * sysdeps/x86_64/rawmemchr.S: Update.
66348         Replace with faster SSE2 version.
66349         * sysdeps/x86_64/memrchr.S: New file.
66350         * sysdeps/x86_64/memchr.S: Update.
66351         Replace with faster SSE2 version.
66353 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
66355         * elf/dl-load.c (lose): Add cast to avoid warning.
66357 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
66359         * po/ca.po: Update from translation team.
66361         * inet/getnetgrent_r.c: Hook up nscd.
66362         * nscd/Makefile (routines): Add nscd_netgroup.
66363         (nscd-modules): Add netgroupcache.
66364         (CFLAGS-netgroupcache.c): Define.
66365         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
66366         (cache_search): Add const to second parameter.
66367         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
66368         INNETGR.
66369         (dbs): Add netgrdb entry.
66370         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
66371         (verify_persistent_db): Handle netgrdb.
66372         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
66373         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
66374         GETFDNETGR.
66375         (netgroup_response_header): Define.
66376         (innetgroup_response_header): Define.
66377         (datahead): Add netgroup_response_header and innetgroup_response_header
66378         elements.
66379         * nscd/nscd.conf: Add entries for netgroup cache.
66380         * nscd/nscd.h (dbtype): Add netgrdb.
66381         (_PATH_NSCD_NETGROUP_DB): Define.
66382         (netgroup_iov_disabled): Declare.
66383         (xmalloc, xcalloc, xrealloc): Move declarations here.
66384         (cache_search): Adjust prototype.
66385         Add netgroup-related prototypes.
66386         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
66387         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
66388         (__nscd_innetgr): Declare.
66389         * nscd/selinux.c (perms): Use access_vector_t as element type and
66390         add netgroup-related initializers.
66391         * nscd/netgroupcache.c: New file.
66392         * nscd/nscd_netgroup.c: New file.
66393         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
66394         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
66395         For four parameters use innetgr.
66396         * nss/nss_files/files-init.c: Add definition and callback for netgr.
66397         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
66398         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
66399         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
66401         * nscd/connections.c (register_traced_file): Don't register file
66402         for disabled databases.
66404 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
66406         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
66408         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
66409         from tree and freeing node.
66411 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
66413         * nss/nsswitch.c (__nss_database_lookup): Handle
66414         nss_parse_service_list out of memory case.
66416 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
66418         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
66419         out of memory case.
66421 2011-10-04  Andreas Schwab  <schwab@redhat.com>
66423         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
66424         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
66425         pass it down.
66426         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
66427         elf_machine_rela, elf_machine_lazy_rel.
66428         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
66429         (ELF_DYNAMIC_DO_REL): Likewise.
66430         (ELF_DYNAMIC_DO_RELA): Likewise.
66431         (ELF_DYNAMIC_RELOCATE): Likewise.
66432         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
66433         to ELF_DYNAMIC_DO_REL.
66434         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
66435         (dl_main): In trace mode always set __RTLD_NOIFUNC.
66436         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
66437         elf_machine_rela.
66438         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
66439         skip_ifunc, don't call ifunc function if non-zero.
66440         (elf_machine_rela): Likewise.
66441         (elf_machine_lazy_rel): Likewise.
66442         (elf_machine_lazy_rela): Likewise.
66443         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
66444         (elf_machine_lazy_rel): Likewise.
66445         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
66446         Likewise.
66447         (elf_machine_lazy_rel): Likewise.
66448         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
66449         Likewise.
66450         (elf_machine_lazy_rel): Likewise.
66451         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
66452         (elf_machine_lazy_rel): Likewise.
66453         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
66454         (elf_machine_lazy_rel): Likewise.
66455         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
66456         (elf_machine_lazy_rel): Likewise.
66457         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
66458         (elf_machine_lazy_rel): Likewise.
66459         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
66460         (elf_machine_lazy_rel): Likewise.
66461         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
66462         (elf_machine_lazy_rel): Likewise.
66464 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
66466         * nss/nss_files/files-init.c (_nss_files_init): Use static
66467         initialization for all the *_traced_file variables.
66469 2011-09-28  Andreas Schwab  <schwab@redhat.com>
66471         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
66473 2011-09-27  Roland McGrath  <roland@hack.frob.com>
66475         [BZ #13226]
66476         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
66478 2011-09-27  Andreas Schwab  <schwab@redhat.com>
66480         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
66481         Reread the line before reparsing it.
66483 2011-09-26  Andreas Schwab  <schwab@redhat.com>
66485         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
66487 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
66488             Maxim Kuvyrkov  <maxim@codesourcery.com>
66489             Joseph Myers  <joseph@codesourcery.com>
66491         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
66492         if needed for __stack_chk_guard.
66494 2011-09-19  Roland McGrath  <roland@hack.frob.com>
66496         * sysdeps/posix/spawni.c (script_execute): Always define it.
66497         It will be optimized away if unused.
66498         (maybe_script_execute): New function.
66499         (__spawni): Call it.
66501         * Makerules: Don't include tls.make.
66502         (config-tls): Always set to thread.
66503         * tls.make.c: File removed.
66505 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
66507         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
66508         * config.make.in (CPPFLAGS-config): New substituted variable.
66510 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
66512         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
66514         [BZ #13192]
66515         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
66516         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
66518 2011-09-15  Roland McGrath  <roland@hack.frob.com>
66520         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
66521         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
66522         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
66523         (CALL_FAIL): Likewise.
66524         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
66525         (CALL_FAIL): Macro removed.
66526         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
66528 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
66530         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
66531         for __FINITE_MATH_ONLY__ == 1.
66533 2011-09-15  Andreas Schwab  <schwab@redhat.com>
66535         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
66536         __ieee754_sqrt instead of sqrt.
66537         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
66538         __ieee754_sqrtf instead of sqrtf.
66539         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
66540         __floorf instead of floorf.
66541         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
66542         __floorf, __truncf instead of floorf, truncf.
66544 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
66546         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
66548         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
66549         __extern_always_inline.
66550         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
66551         32-bit.
66553 2011-09-14  Andreas Schwab  <schwab@redhat.com>
66555         * elf/rtld.c (dl_main): Also relocate in dependency order when
66556         doing symbol dependency testing.
66558 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
66560         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
66561         Always define `refsym'.
66563 2011-09-13  Andreas Schwab  <schwab@redhat.com>
66565         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
66566         (__FD_ELT): Renamed from __FDELT.
66567         * misc/bits/select2.h (__FD_ELT): Likewise.
66568         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
66569         __FD_MASK instead of __FDELT, __FDMASK.
66570         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
66571         Likewise.
66572         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
66573         Likewise.
66575         * elf/Makefile (gen-ldd): Fix pattern.
66577         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
66578         (init_tls): Likewise.
66580 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
66582         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
66584 2011-09-12  Andreas Schwab  <schwab@redhat.com>
66586         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
66587         `struct cmsghdr *' instead of `void *'.
66588         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
66589         Likewise.
66591 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
66593         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
66594         if non-absolute.
66595         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
66596         ldd_rewrite_script.
66598 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
66600         * configure.in: Remove --with-tls option.
66601         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
66602         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
66603         out in case it is missing.
66604         * sysdeps/ia64/elf/configure.in: Likewise.
66605         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
66606         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
66607         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
66608         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
66609         * sysdeps/sh/elf/configure.in: Likewise.
66610         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
66611         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
66612         * sysdeps/x86_64/elf/configure.in: Likewise.
66613         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
66614         * sysdeps/mach/hurd/tls.h: Likewise.
66616         [BZ #13067]
66617         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
66619         [BZ #13090]
66620         * configure.in: Fix use of AC_INIT.
66622         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
66624 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
66626         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
66627         __set_errno.
66628         * malloc/hooks.c: Likewise.
66630         [BZ #11929]
66631         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
66632         variables statically.
66633         (narenas): Initialize.
66634         (list_lock): Initialize.
66635         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
66636         initializtion of main_arena and list_lock.  Small cleanups.
66637         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
66638         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
66639         Add initializers to main_arena and mp_.
66640         (malloc_state): Remove pagesize member.  Change all users to use
66641         GLRO(dl_pagesize).
66643         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
66644         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
66645         is always initialized.
66647         * malloc/malloc.c: Removed unused configurations and dead code.
66648         * malloc/arena.c: Likewise.
66649         * malloc/hooks.c: Likewise.
66650         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
66652         * include/tls.h: Removed.  USE___THREAD must always be defined.
66653         * bits/libc-tsd.h: Don't handle !USE___THREAD.
66654         * elf/dl-libc.c: Likewise.
66655         * elf/dl-tsd.c: Likewise.
66656         * include/errno.h: Likewise.
66657         * include/netdb.h: Likewise.
66658         * include/resolv.h: Likewise.
66659         * inet/herrno-loc.c: Likewise.
66660         * inet/herrno.c: Likewise.
66661         * malloc/arena.c: Likewise.
66662         * malloc/hooks.c: Likewise.
66663         * malloc/malloc.c: Likewise.
66664         * resolv/res-state.c: Likewise.
66665         * resolv/res_libc.c: Likewise.
66666         * sysdeps/i386/dl-machine.h: Likewise.
66667         * sysdeps/ia64/dl-machine.h: Likewise.
66668         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
66669         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
66670         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
66671         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
66672         * sysdeps/sh/dl-machine.h: Likewise.
66673         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
66674         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
66675         * sysdeps/unix/i386/sysdep.S: Likewise.
66676         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
66677         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
66678         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
66679         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
66680         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
66681         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
66682         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
66683         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
66684         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
66685         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
66686         * sysdeps/unix/x86_64/sysdep.S: Likewise.
66687         * sysdeps/x86_64/dl-machine.h: Likewise.
66688         * tls.make.c: Likewise.
66690         * configure.in: Remove --with-__thread option.  Make tests for
66691         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
66692         tls_model attribute fail if no support is available.  Remove
66693         USE_IN_LIBIO.
66694         * Makeconfig: Adjust for dropped configure option.  All features are
66695         now mandatory.
66696         * Makerules: Likewise.
66697         * Versions.def: Likewise.
66698         * argp/argp-fmtstream.c: Likewise.
66699         * argp/argp-fmtstream.h: Likewise.
66700         * argp/argp-help.c: Likewise.
66701         * assert/assert.c: Likewise.
66702         * config.h.in: Likewise.
66703         * config.make.in: Likewise.
66704         * configure: Likewise.
66705         * configure.in: Likewise.
66706         * csu/Versions: Likewise.
66707         * csu/init.c: Likewise.
66708         * elf/tst-audit2.c: Likewise.
66709         * elf/tst-tls10.c: Likewise.
66710         * elf/tst-tls10.h: Likewise.
66711         * elf/tst-tls11.c: Likewise.
66712         * elf/tst-tls12.c: Likewise.
66713         * elf/tst-tls14.c: Likewise.
66714         * elf/tst-tlsmod11.c: Likewise.
66715         * elf/tst-tlsmod12.c: Likewise.
66716         * elf/tst-tlsmod13.c: Likewise.
66717         * elf/tst-tlsmod13a.c: Likewise.
66718         * elf/tst-tlsmod14a.c: Likewise.
66719         * elf/tst-tlsmod15b.c: Likewise.
66720         * elf/tst-tlsmod16a.c: Likewise.
66721         * elf/tst-tlsmod16b.c: Likewise.
66722         * elf/tst-tlsmod7.c: Likewise.
66723         * elf/tst-tlsmod8.c: Likewise.
66724         * elf/tst-tlsmod9.c: Likewise.
66725         * gmon/gmon.c: Likewise.
66726         * grp/fgetgrent_r.c: Likewise.
66727         * grp/putgrent.c: Likewise.
66728         * hurd/fopenport.c: Likewise.
66729         * include/libc-symbols.h: Likewise.
66730         * include/tls.h: Likewise.
66731         * intl/gettextP.h: Likewise.
66732         * intl/loadinfo.h: Likewise.
66733         * locale/global-locale.c: Likewise.
66734         * locale/localeinfo.h: Likewise.
66735         * mach/devstream.c: Likewise.
66736         * malloc/arena.c: Likewise.
66737         * malloc/set-freeres.c: Likewise.
66738         * misc/err.c: Likewise.
66739         * misc/getttyent.c: Likewise.
66740         * misc/mntent_r.c: Likewise.
66741         * posix/getopt.c: Likewise.
66742         * posix/wordexp.c: Likewise.
66743         * pwd/fgetpwent_r.c: Likewise.
66744         * resolv/Versions: Likewise.
66745         * resolv/res_hconf.c: Likewise.
66746         * shadow/fgetspent_r.c: Likewise.
66747         * shadow/putspent.c: Likewise.
66748         * stdio-common/printf_fphex.c: Likewise.
66749         * stdio-common/tmpfile.c: Likewise.
66750         * stdlib/abort.c: Likewise.
66751         * stdlib/fmtmsg.c: Likewise.
66752         * sunrpc/auth_unix.c: Likewise.
66753         * sunrpc/clnt_perr.c: Likewise.
66754         * sunrpc/clnt_tcp.c: Likewise.
66755         * sunrpc/clnt_udp.c: Likewise.
66756         * sunrpc/clnt_unix.c: Likewise.
66757         * sunrpc/openchild.c: Likewise.
66758         * sunrpc/svc_simple.c: Likewise.
66759         * sunrpc/svc_tcp.c: Likewise.
66760         * sunrpc/svc_udp.c: Likewise.
66761         * sunrpc/svc_unix.c: Likewise.
66762         * sunrpc/xdr.c: Likewise.
66763         * sunrpc/xdr_array.c: Likewise.
66764         * sunrpc/xdr_rec.c: Likewise.
66765         * sunrpc/xdr_ref.c: Likewise.
66766         * sunrpc/xdr_stdio.c: Likewise.
66768 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
66770         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
66772 2011-07-03  Andreas Jaeger  <aj@suse.de>
66774         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
66775         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
66776         regenerate with gen-libm-tests.pl.
66778 2010-05-12  Petr Baudis  <pasky@suse.cz>
66780         [BZ #11589]
66781         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
66782         around j0() zero points by switching to j1().
66783         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
66784         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
66785         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
66786         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
66788 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
66790         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
66791         instead of 0.
66792         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
66793         instead of 0.
66794         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
66795         Patch in part by Pavel Roskin <proski@gnu.org>.
66797         [BZ #13138]
66798         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
66799         realloc.
66800         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
66801         Free memory block if necessary.
66803         [BZ #12847]
66804         * libio/genops.c (INTDEF): For string streams the _lock pointer can
66805         be NULL.  Don't lock in this case.
66807 2011-09-09  Roland McGrath  <roland@hack.frob.com>
66809         * elf/elf.h (ELFOSABI_GNU): New macro.
66810         (ELFOSABI_LINUX): Define to that.
66812 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
66814         * string/strncat.c (strncat): Undef the symbol in case it has been
66815         defined in bits/string.h.
66817 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
66819         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
66821         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
66822         link map.
66824 2011-08-17  Andreas Jaeger  <aj@suse.de>
66826         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
66828 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
66829             Ian Lance Taylor  <iant@google.com>
66831         * math/libm-test.inc (lround_test): New testcase.
66832         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
66834 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
66836         * Makefile: Remove support for automatic cvs check-ins.
66837         * Makerules: Likewise.
66838         * config.make.in: Likewise.
66839         * configure.in: Likewise.
66840         * intl/Makefile: Likewise.
66841         * locale/Makefile: Likewise.
66842         * po/Makefile: Likewise.
66843         * posix/Makefile: Likewise.
66844         * sysdeps/gnu/Makefile: Likewise.
66845         * sysdeps/mach/hurd/Makefile: Likewise.
66846         * sysdeps/sparc/sparc32/Makefile: Likewise.
66848         [BZ #13118]
66849         * posix/Makefile (bug-regex32-ENV): Define.
66850         Patch by John Stanley <jpsinthemix@verizon.net>.
66852         * misc/Makefile (headers): Add bits/select2.h.
66853         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
66854         * misc/bits/select2.h: New file.
66855         * include/bits/select2.h: New file.
66856         * debug/Makefile (routines): Add fdelt_chk.
66857         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
66858         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
66859         FD_ISSET.
66860         * debug/fdelt_chk.c: New file.
66862         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
66863         * wcsmbs/test-wmemcmp.c: Likewise.
66864         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
66865         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
66867 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66869         * string/Makefile (strop-tests): Add memcmp.
66870         * string/test-wmemcmp.c: New file.
66871         * string/test-memcmp.c: Add wmemcmp support.
66873 2011-09-08  Roland McGrath  <roland@hack.frob.com>
66875         [BZ #13153]
66876         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
66877         2011-07-19 change.
66879         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
66880         garbage value in a __mach_port_mod_refs call in the cases of the
66881         task-self and thread-self ports.
66883 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66885         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
66887 2011-09-08  Andreas Schwab  <schwab@redhat.com>
66889         * elf/dl-load.c (lose): Check for non-null L.
66891 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
66893         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
66895         * elf/dl-libc.c (dlerror_run): Pass back error code from
66896         dl_catch_error.
66898         [BZ #13123]
66899         * elf/dl-load.c (lose): Free l_origin if it is valid.
66901         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
66902         names.
66903         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
66904         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
66905         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
66906         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
66907         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
66908         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
66910 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66912         * sysdeps/powerpc/fpu/e_hypot.c: New file.
66913         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
66914         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
66915         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
66916         * sysdeps/powerpc/fpu/k_cosf.c: New file.
66917         * sysdeps/powerpc/fpu/k_sinf.c: New file.
66918         * sysdeps/powerpc/fpu/s_cosf.c: New file.
66919         * sysdeps/powerpc/fpu/s_sinf.c: New file.
66920         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
66921         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
66923 2011-08-15  Alan Modra  <amodra@gmail.com>
66925         [BZ #13092]
66926         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
66927         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
66928         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
66929         ppc_mcount to static-only-routines.
66930         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
66931         __mcount_internal.
66932         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
66933         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
66935 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
66937         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
66938         for finite and infinity parameters.
66940 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
66942         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
66943         and add nop instructions for throughput optimization.
66944         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
66946 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
66948         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
66949         aligned copy for power7 with vector-scalar instructions.
66950         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
66952 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
66954         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
66955         AVX check.
66957 2011-09-07  Andreas Schwab  <schwab@redhat.com>
66959         [BZ #13144]
66960         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
66961         last change.
66963 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
66965         * sysdeps/unix/sysv/linux/x86_64/init-first.c
66966         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
66967         syscall wrapper around clock_gettime in __vdso_clock_gettime.
66968         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
66969         clock_gettime.
66971 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
66973         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
66974         Forgot to demangle the pointer.
66976         * sysdeps/i386/sysdep.h: Define atom_text_section.
66977         * sysdeps/x86_64/sysdep.h: Likewise.
66978         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
66979         section with atom_text_section.
66980         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
66981         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
66982         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
66983         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
66984         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
66986         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
66987         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
66988         already be defined.  Change to take two parameters and don't assign
66989         result to variable.  Adjust all users.
66990         Define INTERNAL_GETTIME if not already defined.
66991         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
66992         call.
66993         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
66994         HAVE_CLOCK_GETTIME_VSYSCALL.
66995         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
66997         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
66998         gettimeofday vsyscall, just use time.
67000 2011-09-06  Andreas Schwab  <schwab@redhat.com>
67002         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
67003         <errno.h>.
67005 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
67007         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
67008         syscall on x86-64.
67009         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
67010         syscall.
67011         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
67012         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
67013         syscall if possible.
67015 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
67017         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
67018         e_ident.  Don't pass to find_mapsXX.
67019         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
67021 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
67023         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
67024         strchr-sse2-no-bsf strrchr-sse2-no-bsf
67025         * sysdeps/x86_64/multiarch/strchr.S: Update.
67026         Check bit_slow_BSF bit.
67027         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
67028         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
67029         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
67031 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
67033         [BZ #13134]
67034         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
67035         before glibc 2.15.
67036         (tryshell): Define.
67037         (__spawni): Change last parameter to be flag.  Test
67038         SPAWN_XFLAGS_USE_PATH flag to use path or not.
67039         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
67040         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
67041         * posix/spawni.c: Likewise.
67042         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
67043         * posix/spawnp.c: Likewise.  Change normal version to use
67044         SPAWN_XFLAGS_USE_PATH.
67045         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
67046         SPAWN_XFLAGS_TRY_SHELL.
67048         [BZ #13150]
67049         * posix/glob.h: Remove gcc 1.x support.
67051         [BZ #13068]
67052         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
67054 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
67056         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
67057         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
67058         strrchr-sse2-bsf
67059         * sysdeps/i386/i686/multiarch/strchr.S: New file.
67060         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
67061         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
67062         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
67063         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
67064         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
67066 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67068         * sysdeps/x86_64/wcscmp.S: New file.
67070         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
67071         wcscmp-c wcscmp-sse2
67072         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
67073         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
67074         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
67075         * wcsmbs/wcscmp.c: Allow renaming.
67077 2011-09-05  David S. Miller  <davem@davemloft.net>
67079         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
67080         stack slot, rather than the struct return pointer slot.
67081         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
67082         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
67083         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
67084         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
67086 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
67088         * po/ja.po: Update from translation team.
67090         [BZ #13144]
67091         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
67092         kernel in 64-bit binaries.
67094 2011-09-01  David S. Miller  <davem@davemloft.net>
67096         * elf/elf.h (HWCAP_SPARC_*): Move to..
67097         * sysdeps/sparc/sysdep.h: this new file and add new values.
67098         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
67099         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
67100         _DL_HWCAP_COUNT to 24.
67101         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
67102         entries.
67103         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
67104         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
67105         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
67106         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
67107         instead of magic constants.
67108         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
67110 2011-08-31  David S. Miller  <davem@davemloft.net>
67112         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
67113         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
67114         Reimplement to do errno handling inline.
67115         (SYSCALL_ERROR_HANDLER): New macro.
67116         (__SYSCALL_STRING): Do not do errno handling in asm.
67117         (__CLONE_SYSCALL_STRING): Delete.
67118         (__INTERNAL_SYSCALL_STRING): Delete.
67119         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
67120         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
67121         (PSEUDO): Reimplement to do errno handling inline.
67122         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
67123         (SYSCALL_ERROR_HANDLER): New macro.
67124         (__SYSCALL_STRING): Do not do errno handling in asm.
67125         (__CLONE_SYSCALL_STRING): Delete.
67126         (__INTERNAL_SYSCALL_STRING): Delete.
67127         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
67128         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
67129         i386.
67130         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
67131         (inline_syscall*): Add 'err' argument.
67132         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
67133         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
67134         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
67135         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
67137         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
67138         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
67140 2011-08-30  Andreas Schwab  <schwab@redhat.com>
67142         * elf/rtld.c (dl_main): Relocate objects in dependency order.
67144 2011-08-29  Jiri Olsa <jolsa@redhat.com>
67146         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
67147         directive.
67149 2011-08-24  David S. Miller  <davem@davemloft.net>
67151         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
67153 2011-08-24  Andreas Schwab  <schwab@redhat.com>
67155         * elf/Makefile: Add rules to build and run unload8 test.
67156         * elf/unload8.c: New file.
67157         * elf/unload8mod1.c: New file.
67158         * elf/unload8mod1x.c: New file.
67159         * elf/unload8mod2.c: New file.
67160         * elf/unload8mod3.c: New file.
67162         * elf/dl-close.c (_dl_close_worker): Reset private search list if
67163         it wasn't used.
67165 2011-08-23  David S. Miller  <davem@davemloft.net>
67167         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
67168         subtract stack bias.
67169         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
67170         %sp not %fp in calculations.
67171         (_JMPBUF_UNWINDS_ADJ): Likewise.
67173         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
67174         (aio_suspend): Call it to force an exception region around the
67175         AIO_MISC_WAIT() invocation.
67177 2011-08-23  Andreas Schwab  <schwab@redhat.com>
67179         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
67180         backslash.
67182 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
67184         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
67185         protection macro.
67186         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
67187         and <dl-machine.h>.
67188         (Elf64_FuncDesc): Remove.
67190 2011-08-22  David S. Miller  <davem@davemloft.net>
67192         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
67193         sigaltstack check, add missing cfi directives.
67194         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
67195         missing cfi directives, and sigaltstack handling.
67197 2011-08-16  Andreas Schwab  <schwab@redhat.com>
67199         [BZ #11724]
67200         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
67201         object is seen twice.
67202         * elf/dl-fini.c (_dl_sort_fini): Likewise.
67204         * elf/Makefile (distribute): Add tst-initorder2.c.
67205         (tests): Add tst-initorder2.
67206         (modules-names): Add tst-initorder2a tst-initorder2b
67207         tst-initorder2c tst-initorder2d.  Add rules to build them.
67208         ($(objpfx)tst-initorder2.out): New rule.
67209         * elf/tst-initorder2.c: New file.
67210         * elf/tst-initorder2.exp: New file.
67212 2011-08-22  Andreas Schwab  <schwab@redhat.com>
67214         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
67216         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
67217         dependencies back to end of function.
67219         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
67220         $(elfobjdir)/ld.so.
67222 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
67224         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
67225         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
67226         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
67227         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
67228         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
67229         of __vdso_gettimeofday.
67230         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
67231         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
67232         attribute_hidden.
67233         (_libc_vdso_platform_setup): Remove initialization of
67234         __vdso_gettimeofday and __vdso_time.
67236 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
67238         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
67239         and fgetc_unlocked.
67240         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
67241         getc_unlocked.
67243         * elf/dl-open.c (add_to_global): Report additions to the global scope
67244         for LD_DEBUG=scopes.
67245         (dl_open_worker): Also print scope of newly loaded dependencies.
67246         (_dl_show_scope): Indicate if there is no scope.
67248         [BZ #13114]
67249         * stdio-common/Makefile (tests): Add bug24.
67250         * stdio-common/bug24.c: New file.
67252 2011-08-19  Andreas Jaeger  <aj@suse.de>
67254         [BZ #13114]
67255         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
67256         non-existant file when using close-on-exec mode.
67258 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
67260         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
67261         the very first instruction.
67263         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
67264         the CFI state in the end.
67265         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
67266         inclusion of dl-trampoline.h.
67267         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
67269 2011-08-19  Andreas Schwab  <schwab@redhat.com>
67271         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
67272         expectations for long double.
67274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
67275         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
67277 2011-08-14  David S. Miller  <davem@davemloft.net>
67279         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
67280         artificual limit depends upon the system page size.
67282 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
67284         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
67285         * resolv/Makefile: Define CFLAGS-libresolv.
67287 2011-08-17  Andreas Schwab  <schwab@redhat.com>
67289         * nss/makedb.c (compute_tables): Make variables used in nested
67290         function static.
67292 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
67294         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
67295         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
67296         if buffer was too small.
67298         * elf/pldd.c (main): Attach to all threads in the process.
67299         Rewrite /proc handling to use *at functions.
67301 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
67303         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
67304         specifies first scope to show.
67305         (dl_open_worker): Update callers.  Move printing scope of new
67306         object to before the relocation.
67307         * elf/rtld.c (dl_main): Update _dl_show_scope call.
67308         * sysdeps/generic/ldsodefs.h: Update declaration.
67310         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
67311         string for the scope number.
67313 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
67315         * nscd/servicescache.c (cache_addserv): Make sure written is always
67316         initialized.
67318 2011-08-14  Roland McGrath  <roland@hack.frob.com>
67320         * sysdeps/i386/i486/bits/atomic.h
67321         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
67322         statement expression, so as to suppress "set but not used" warning.
67323         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
67325         * string/strncat.c (STRNCAT): Use prototype definition.
67327         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
67328         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
67329         -Iprograms here.
67330         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
67331         (localedef-modules): Add localedef.
67332         (locale-modules): Add locale.
67334         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
67335         * elf/rtld.c (dl_main): Invert order of assignment in last change,
67336         to avoid a warning.
67338 2011-08-14  David S. Miller  <davem@davemloft.net>
67340         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
67341         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
67343 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
67345         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
67346         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
67347         * elf/rtld.c (dl_main): Set l_name of vDSO.
67348         Call _dl_show_scope when DL_DEBUG_SCOPES.
67349         (process_dl_debug): Recognize scopes flag and also set it for all.
67350         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
67351         Declare _dl_show_scope.
67353         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
67354         (do_dlopen): Pass caller_dlopen to dl_open.
67355         (__libc_dlopen_mode): Initialize caller_dlopen.
67357         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
67358         of libc.  Make tolower call locale-independent.  Optimize a bit by
67359         using isdigit instead of isalnum.
67360         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
67362 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
67364         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
67365         was a dependency or dynamically loaded.
67367 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
67369         * intl/l10nflist.c: Allow architecture-specific pop function.
67370         * sysdeps/x86_64/l10nflist.c: New file.
67372         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
67373         classification.
67375 2011-08-10  Andreas Schwab  <schwab@redhat.com>
67377         * include/dirent.h: Add libc_hidden_proto for scandirat and
67378         scandirat64.  Don't declare __scandirat64.
67379         * dirent/scandirat.c: Add libc_hidden_def.
67380         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
67381         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
67383 2011-08-10  David S. Miller  <davem@davemloft.net>
67385         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
67386         enum.
67387         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
67388         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
67389         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
67391 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
67393         * Versions.def [libc]: Add GLIBC_2.15.
67394         * dirent/Makefile (routines): Add scandirat and scandirat64.
67395         * dirent/Versions [libc]: Export scandirat and scandirat64 for
67396         GLIBC_2.15.
67397         * dirent/dirent.h: Declare scandirat and scandirat64.
67398         * dirent/scandirat.c: New file.
67399         * dirent/scandirat64.c: New file.
67400         * sysdeps/wordsize-64/scandirat.c: New file.
67401         * sysdeps/wordsize-64/scandirat64.c: New file.
67402         * dirent/opendir.c: Define opendirat.
67403         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
67404         using scandirat.
67405         * dirent/scandir64.c: Adjust for scandir.c change.
67406         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
67407         __scandirat64, and __scandir_cancel_handler.
67408         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
67409         additional parameter and use openat instead of open (outside of ld.so).
67410         Add new __opendir as wrapper around __opendirat.
67411         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
67412         here without requiring old scandirat implementation.
67414 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
67416         * dirent/scandir.c (cancel_handler): Renamed to
67417         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
67418         defined.  Adjust users.
67419         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
67420         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
67422 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
67424         * string/test-string.h (IMPL): Use __STRING to expand name and then
67425         stringify it.
67427         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
67428         of cleanups.
67430 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67432         * string/Makefile: Update.
67433         (strop-tests): Append strncat.
67434         * string/test-wcscmp.c: New file.
67435         New comprehensive test for wcscmp.
67436         * string/test-strcmp.c: Update.
67437         (WIDE): New define.
67439 2011-07-22  Andreas Schwab  <schwab@redhat.com>
67441         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
67442         line.
67444 2011-07-26  Andreas Schwab  <schwab@redhat.com>
67446         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
67447         encoding to ACE if AI_IDN.
67449 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
67451         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
67452         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
67454 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
67456         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
67457         Fix overflow bug in strncat.
67458         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
67460         * string/test-strncat.c: Update.
67461         Add new tests for checking overflow bugs.
67463 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
67465         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
67466         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
67467         * sysdeps/i386/i686/multiarch/strcat.S: New file.
67468         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
67469         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
67470         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
67471         * sysdeps/i386/i686/multiarch/strncat.S: New file.
67472         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
67473         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
67475         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
67476         (USE_AS_STRCAT): Define.
67477         Add strcat and strncat support.
67478         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
67480 2011-07-25  Andreas Schwab  <schwab@redhat.com>
67482         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
67483         __n bigger than INT_MAX+1.
67484         (__strncmp_g): Likewise.
67486 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
67488         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
67489         * libio/stido.h: Likewise.
67491         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
67492         (AF_NFC): Define.
67493         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
67494         (AF_NFC): Define.
67496         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
67497         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
67498         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
67499         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
67500         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
67502         [BZ #13021]
67503         * scripts/test-installation.pl: Don't expect libnss_test1 to be
67504         installed.
67506         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
67507         typo.
67508         (_dl_x86_64_save_sse): Likewise.
67510 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
67512         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
67513         OSXSAVE.
67514         (_dl_x86_64_save_sse): Likewise.
67516         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
67518         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
67520 2011-07-21  Andreas Schwab  <schwab@redhat.com>
67522         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
67523         change.
67524         (_dl_x86_64_save_sse): Use correct AVX check.
67526 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67528         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
67529         bug in strncpy/strncat.
67530         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
67532 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
67534         * string/tester.c (test_strcat): Add tests for different alignments
67535         of source and destination.
67536         (test_strncat): Likewise.
67538 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
67540         [BZ #12852]
67541         * posix/glob.c (glob): Check passed in values before using them in
67542         expressions to avoid some overflows.
67543         (glob_in_dir): Likewise.
67545         [BZ #13007]
67546         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
67547         check for AVX enablement so that we don't crash with old kernels and
67548         new hardware.
67549         * elf/tst-audit4.c: Add same checks here.
67550         * elf/tst-audit6.c: Likewise.
67552         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
67554 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
67556         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
67558 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
67560         * po/cs.po: Update from translation team.
67561         * po/bg.po: Likewise.
67563 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
67565         * misc/sys/cdefs.h: Add support for const attribute.
67566         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
67567         to gnu_dev_{major,minor,makedev} functions.
67569 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
67571         * intl/dcigettext.c (get_output_charset): Add missing bracket.
67573 2011-07-20  Andreas Schwab  <schwab@redhat.com>
67575         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
67576         strlen results.
67578 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67580         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
67581         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
67582         register in order to avoid conflicts with the soft frame pointer
67583         being held in r11 when necessary.
67584         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
67585         (INTERNAL_VSYSCALL_NCS): Likewise.
67587 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
67589         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
67590         * elf/dl-fini.c (_dl_fini): Adjust caller.
67591         * elf/dl-close.c (_dl_close_worker): Likewise.
67592         * sysdeps/generic/ldsodefs.h: Adjust declaration.
67594 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
67596         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
67597         "aux_cache->nlibs < 0".
67599         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
67600         in the reload-count case.
67602 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
67604         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
67605         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
67606         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
67607         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
67608         * sysdeps/x86_64/multiarch/strcat.S: New file.
67609         * sysdeps/x86_64/multiarch/strncat.S: New file.
67610         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
67611         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
67612         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
67613         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
67614         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
67615         (USE_AS_STRCAT): Define.
67616         Add strcat and strncat support.
67617         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
67618         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
67619         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
67620         * string/strncat.c: Update.
67621         (USE_AS_STRNCAT): Define.
67622         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
67623         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
67624         and i7.
67625         * sysdeps/x86_64/multiarch/init-arch.h
67626         (bit_Prefer_PMINUB_for_stringop): New.
67627         (index_Prefer_PMINUB_for_stringop): Likewise.
67628         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
67629         bit_Prefer_PMINUB_for_stringop.
67631 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
67633         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
67634         buffer64.
67635         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
67636         of casting of buffer.
67637         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
67638         buffer32 and buffer64.
67639         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
67640         writes instead of casting of buffer.
67641         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
67642         buffer32.
67643         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
67644         casting of buffer.
67646 2011-07-19  Andreas Schwab  <schwab@redhat.com>
67648         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
67650 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
67652         * nscd/nscd.c (termination_handler): Don't do anything for a database
67653         if it has not yet been initialized.
67655 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
67657         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
67659 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
67661         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
67663 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
67665         * po/nl.po: Update from translation team.
67666         * po/sv.po: Likewise.
67668 2011-07-16  Roland McGrath  <roland@hack.frob.com>
67670         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
67671         now disallowed by GCC.
67673         * configure.in (use-default-link): Default to yes if a test -shared
67674         link meets our qualifications.
67675         * configure: Regenerated.
67677         * config.make.in (output-format): New variable.
67678         * configure.in: Check for ld --print-output-format support.
67679         * configure: Regenerated.
67680         * Makerules ($(common-objpfx)format.lds)
67681         [$(output-format) != unknown]: Just use $(output-format),
67682         instead of the linker-script munging.
67684 2011-07-14  Roland McGrath  <roland@hack.frob.com>
67686         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
67687         of $(common-objpfx)shlib.lds.
67688         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
67690         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
67691         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
67693         * configure.in (-z relro check): Adjust test code to add a large
67694         writable data section after it.
67695         * configure: Regenerated.
67697 2011-07-11  Roland McGrath  <roland@hack.frob.com>
67699         * configure.in (-z relro check): Fix test code to make the variable
67700         truly const.
67701         * configure: Regenerated.
67703 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
67705         * nscd/nscd.h (struct traced_file): Define.
67706         (struct database_dyn): Remove inotify_descr, reset_res, and filename
67707         elements.  Add traced_files.
67708         (inotify_fd): Declare.
67709         (register_traced_file): Declare.
67710         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
67711         (inotify_fd): Export.
67712         (resolv_conf_descr): Remove.
67713         (nscd_init): Move inotify descriptor creation to main.
67714         Don't register files for notification here.
67715         (register_traced_file): New function.
67716         (invalidate_cache): Don't use reset_res to determine whether to call
67717         res_init, go through the list of registered files.
67718         (main_loop_poll): The inotify descriptors are now stored in the
67719         structures for the traced files.
67720         (main_loop_epoll): Likewise
67721         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
67722         to __nss_disable_nscd.
67723         * nscd/cache.c (prune_cache): There is no single inotify descriptor
67724         for a database anymore.  Check the records for all the registered
67725         files instead.
67726         * nss/Makefile (libnss_files-routines): Add files-init.
67727         (libnss_db-routines): Add db-init.
67728         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
67729         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
67730         * nss/nss_db/db-init.c: New file.
67731         * nss/nss_files/files-init.c: New file.
67732         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
67733         __nss_lookup_function.
67734         (__nss_lookup_function): Call nss_load_library.
67735         (nss_load_all_libraries): New function.
67736         (__nss_disable_nscd): Take parameter with callback function for files
67737         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
67738         used for the cached services.
67739         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
67740         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
67741         options for features to all the files in nscd.
67743         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
67745 2011-07-10  Roland McGrath  <roland@hack.frob.com>
67747         * csu/elf-init.c (__libc_csu_init): Comment typo.
67749 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
67751         * po/pl.po: Update from translation team.
67752         * po/ja.po: Likewise.
67753         * po/ru.po: Likewise.
67754         * po/ko.po: Likewise.
67755         * po/fr.po: Likewise.
67757 2011-07-09  Roland McGrath  <roland@hack.frob.com>
67759         * configure.in (.ctors/.dtors header and trailer check):
67760         Use an empirical test on a built program.
67761         * configure: Regenerated.
67763         * configure.in (-z relro check): Use an empirical test on a built DSO.
67764         Detect, but do not require, on ia64.
67765         * configure: Regenerated.
67767         * configure.in (READELF): Find it with AC_CHECK_TOOL.
67768         Update tests that use readelf to use $READELF instead.
67769         * configure: Regenerated.
67771 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
67773         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
67774         if the result is not used.
67776 2011-07-05  Andreas Jaeger  <aj@suse.de>
67778         [BZ#9696]
67779         * stdlib/tst-strtod.c: Add testcase.
67781 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
67783         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
67784         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
67785         The latter has a higher limit.  Take additional parameter to pass to
67786         the new function.
67787         (__pathconf): Pass file to __statfs_link_max.
67788         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
67789         __statfs_link_max.
67790         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
67791         __statfs_link_max.
67793         [BZ #12868]
67794         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
67795         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
67796         Handle Lustre.
67797         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
67798         (__statfs_filesize_max): Likewise.
67799         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
67801 2011-07-05  Andreas Jaeger  <aj@suse.de>
67803         * resolv/res_comp.c (dn_skipname): Remove unused variable.
67805 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
67807         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
67808         `status' variable.
67809         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
67810         Likewise.
67812 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
67814         * Makefile (strop-tests): Add strncat.
67815         * string/test-strncat.c: New file.
67817 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
67819         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
67821 2011-06-21  Andreas Jaeger  <aj@suse.de>
67823         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
67824         Copy rule from iconvdata/Makefile.
67826 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
67828         [BZ #12922]
67829         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
67830         but no long options are defined, just return 'W'.
67832 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
67834         [BZ #9696]
67835         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
67837 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
67839         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
67840         netgroups to read.
67841         (innetgr): Likewise.
67843 2011-07-05  Roland McGrath  <roland@hack.frob.com>
67845         * config.make.in (install_root): Default to $(DESTDIR).
67847 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
67849         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
67851 2011-07-02  Roland McGrath  <roland@hack.frob.com>
67853         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
67855         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
67856         containing directory rather than embedding absolute directory names.
67858         * scripts/check-local-headers.sh: Rewritten using awk.
67859         Match by word, not by line.  Print error messages for matches.
67860         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
67862         * Makerules [shlib-lds-flags empty]:
67863         ($(common-objpfx)libc_pic.opts): New target.
67864         ($(common-objpfx)libc_pic.os.clean): New target.
67865         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
67867         * config.make.in (OBJCOPY): New variable.
67868         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
67869         * configure: Regenerated.
67871         * config.make.in (use-default-link): New variable.
67872         * configure.in (use_default_link): Grok --with-default-link to set it.
67873         * configure: Regenerated.
67874         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
67875         (shlib-lds, shlib-lds-flags): Define to empty.
67877         * Makerules (shlib-lds): New variable.
67878         (shlib-lds-flags): New variable.
67879         (build-shlib, build-moduile, build-module-asneeded): Use it.
67880         ($(common-objpfx)libc.so): Use $(shlib-lds).
67881         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
67882         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
67884         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
67885         DT_FLAGS/DT_FLAGS_1 with zero flags.
67887         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
67888         linker script munging.
67890 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
67892         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
67893         as 128-bit value.
67894         * crypt/sha512.c (sha512_process_block): Perform total addition using
67895         128-bit if possible.
67896         (__sha512_finish_ctx): Likewise.
67897         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
67898         as 64-bit value.
67899         * crypt/sha256.c (SWAP64): Define.
67900         (sha256_process_block): Perform total addition using 64-bit if
67901         possible.
67902         (__sha256_finish_ctx): Likewise.
67904 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
67906         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
67907         * nscd/initgrcache.c (addinitgroupsX): Likewise.
67908         * nscd/hstcache.c (cache_addhst): Likewise.
67909         * nscd/grpcache.c (cache_addgr): Likewise.
67910         * nscd/aicache.c (addhstaiX): Likewise
67911         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
67913 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
67915         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
67916         * nscd/initgrcache.c (addinitgroupsX): Likewise.
67917         * nscd/hstcache.c (cache_addhst): Likewise.
67918         * nscd/grpcache.c (cache_addgr): Likewise.
67919         * nscd/aicache.c (addhstaiX): Likewise
67921 2011-07-01  Andreas Schwab  <schwab@redhat.com>
67923         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
67924         domain only when needed.
67926 2011-06-30  Andreas Schwab  <schwab@redhat.com>
67928         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
67929         is always restored.
67931 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
67933         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
67934         are re-adding the entry.
67935         * nscd/servicescache.c (cache_addserv): Likewise.
67937 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
67939         * sysdeps/generic/dl-irel.h: fix protection against multiple
67940         inclusions.
67941         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
67943 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
67945         [BZ #12935]
67946         * malloc/memusage.sh: Fix quoting in message.
67947         * debug/xtrace.sh: Likewise.
67949         * configure.in: Remove support for --experimental-malloc option, make
67950         it the default.
67951         * config.make.in: Likewise.
67952         * malloc/Makefile: Likewise.
67954 2011-06-27  Andreas Schwab  <schwab@redhat.com>
67956         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
67957         two-byte characters.
67959 2011-06-27  Roland McGrath  <roland@hack.frob.com>
67961         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
67962         AC_CACHE_CHECK invocation.
67963         * configure: Regenerated.
67965         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
67967 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
67969         [BZ #12350]
67970         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
67971         bit from old_res_options.
67973         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
67975         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
67976         value type for setfct.
67978 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
67980         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
67981         __gettimeofday instead of gettimeofday.
67983 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
67985         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
67987 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
67989         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
67991         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
67992         info.
67994 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
67996         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
67997         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
67998         strcpy-sse2-unaligned strncpy-sse2-unaligned
67999         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
68000         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
68001         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
68002         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
68003         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
68004         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
68005         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
68006         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
68007         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
68008         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
68009         (STRCPY): Support SSE2 and SSSE3 versions.
68011 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
68013         [BZ #12874]
68014         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
68015         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
68016         kernels which artificially limit size of requests.
68018 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
68020         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
68021         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
68022         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
68023         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
68024         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
68025         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
68026         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
68027         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
68028         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
68029         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
68030         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
68031         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
68032         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
68033         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
68034         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
68035         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68036         Enable unaligned load optimization for Intel Core i3, i5 and i7
68037         processors.
68038         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
68039         Define.
68040         (index_Fast_Unaligned_Load): Define.
68041         (HAS_FAST_UNALIGNED_LOAD): Define.
68043 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
68045         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
68047 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
68049         [BZ #12907]
68050         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
68051         until it is clear that the information is realy needed.
68052         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
68054 2011-06-22  Andreas Schwab  <schwab@redhat.com>
68056         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
68058 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
68060         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
68061         /sys/devices/system/cpu/online if it is usable.
68063         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
68064         reading the information from the /proc filesystem to once a second.
68066 2011-06-21  Andreas Jaeger  <aj@suse.de>
68068         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
68069         NULL after inclusion of kernel headers.
68071 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
68073         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
68074         calls to internal_setent.
68076         [BZ #12885]
68077         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
68078         addresses using gethostbyname4_r ignore IPv4 addresses.
68080         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
68081         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
68083         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
68085 2011-06-20  David S. Miller  <davem@davemloft.net>
68087         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
68088         inclusions.
68089         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
68091         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
68092         (elf_irel): Use it.
68093         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
68094         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
68095         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
68096         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
68097         * sysdeps/x86_64/dl-irel.h: Likewise.
68099         * elf/dl-runtime.c: Use elf_ifunc_invoke.
68100         * elf/dl-sym.c: Likewise.
68102 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
68104         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
68105         need to dereference resplen2.
68107 2011-06-14  Andreas Schwab  <schwab@redhat.com>
68109         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
68111 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
68113         * Makeconfig: Define vardbdir and inst_vardbdir.
68114         * nss/Makefile: Add rules to install db-Makefile.
68116         * nss/nss_db/db-XXX.c: Cleanup.
68118         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
68119         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
68120         GLIBC_PRIVATE.
68121         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
68122         * nss/makedb.c: Implement -g option to specify that value strings
68123         are generated and should not be added to table iterated over for
68124         get*ent calls.
68125         * nss/nss_db/db-initgroups.c: New file.
68127         * nss/getent.c: Add support for initgroups lookups through getgrouplist
68128         interface.
68130         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
68131         (internal_getgrouplist): Adjust to name change.
68132         Update use_initgroups_entry if this is not the first call.
68133         * nss/databases.def: Add initgroups entry.
68135         * nss/makedb.c (compute_tables): Check result of multiple hash table
68136         sizes to minimize maximum chain length.
68138 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
68140         * Versions.def: Add entry for libnss_db.
68141         * shlib-versions: Likewise.
68142         * nss/Makefile: Add rules to build libnss_db.
68143         * nss/Versions: Add libnss_db information.  Organize libnss_files
68144         entries better.
68145         * nss/db-Makefile: Add gshadow support.  Change rules for the new
68146         makedb progra.  Some minor improvements to generate smaller files.
68147         * nss/nss_db/nss_db.h: Move NSS database header data structures to
68148         here from...
68149         * nss/makedb.c: ...here.
68150         Improve database format to be smaller and require less memory at
68151         runtime.
68152         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
68153         db anymore.
68154         * nss/nss_db/db-netgrp.c: Likewise.
68155         * nss/nss_db/db-open.c: Likewise.
68156         * nss/nss_files/flies-XXX.x: Adjust comments.
68157         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
68158         * nss/nss_files/files-grp.c: Likewise.
68159         * nss/nss_files/files-hosts.c: Likewise.
68160         * nss/nss_files/files-network.c: Likewise.
68161         * nss/nss_files/files-proto.c: Likewise.
68162         * nss/nss_files/files-pwd.c: Likewise.
68163         * nss/nss_files/files-rpc.c: Likewise.
68164         * nss/nss_files/files-service.c: Likewise.
68165         * nss/nss_files/files-sgrp.c: Likewise.
68166         * nss/nss_files/files-spwd.c: Likewise.
68167         * nss/nss_db/db-alias.c: Removed.
68168         * nss/nss_db/dummy-db.h: Removed.
68170 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
68172         * nss/makedb.c: Rewritten to not use database library.
68173         * nss/Makefile: Update to build new makedb program.
68175 2011-06-14  Andreas Jaeger  <aj@suse.de>
68177         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
68178         memset declaration.
68180 2011-06-10  Andreas Schwab  <schwab@redhat.com>
68182         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
68183         tmpbuf.
68185 2011-06-10  Roland McGrath  <roland@hack.frob.com>
68187         * Makerules (shlib.lds): Fail if the linker script comes out empty.
68188         * elf/Makefile ($(objpfx)ld.so): Likewise.
68190         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
68191         Don't list ld.so twice in dependencies.
68193         * posix/bug-regex31.c: Include <stdlib.h>.
68195         * nscd/hstcache.c (cache_addhst): Remove unused variable.
68197         * nis/nss_compat/compat-spwd.c
68198         (getspent_next_nss_netgr): Remove unused variable.
68199         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
68201         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
68202         nonmembers" output to use the right array.
68204         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
68206         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
68208         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
68209         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
68210         * catgets/gencat.c (read_input_file): Likewise.
68211         * locale/programs/locarchive.c (enlarge_archive): Likewise.
68213         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
68214         variable definition inside #if's controlling its use.
68216         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
68218         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
68220         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
68222         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
68223         unreachable code.
68225         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
68227         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
68228         * configure: Regenerated.
68230         * Makerules: Revert last change.
68231         * elf/Makefile: Likewise.
68233 2011-06-09  Roland McGrath  <roland@hack.frob.com>
68235         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
68236         * elf/Makefile ($(objpfx)librtld.os): Likewise.
68237         (reloc-link): Likewise.
68239 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
68241         * elf/Makefile: Add rules to build pldd.
68242         * elf/pldd.c: New file.
68243         * elf/pldd-xx.c: New file.
68245 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
68247         * version.h: Update for 2.15 development version.
68249 2011-06-07  David S. Miller  <davem@davemloft.net>
68251         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
68252         ifuncs.
68253         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
68254         elf_machine_lazy_rel): Likewise.
68255         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
68256         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
68257         elf_machine_lazy_rel): Likewise.
68258         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
68259         dl_hwcap via passed in argument.
68260         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
68261         Likewise.
68263 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68265         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
68267 2011-06-06  Roland McGrath  <roland@hack.frob.com>
68269         [BZ #12849]
68270         * manual/fdl-1.1.texi: New file, verbatim from:
68271         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
68272         * manual/lgpl-2.1.texi: New file, verbatim from:
68273         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
68274         * manual/Makefile (licenses): New variable, list those new file names.
68275         (texis): Use it.
68276         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
68278         * manual/fdl.texi: File removed.
68279         * manual/lesser.texi: File removed.
68280         * manual/libc.texinfo (Copying, Documentation License):
68281         Use new @include file names, put @appendix directive before @include.
68283 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
68285         [BZ #12841]
68286         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
68287         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
68288         (mq_open): Add __NTH.
68290 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
68292         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68293         Assume Intel Core i3/i5/i7 processor if AVX is available.
68295 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
68297         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
68298         typo.
68300 2011-05-31  Andreas Schwab  <schwab@redhat.com>
68302         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
68303         memory.  Use alloca_account.  Fix memory leak when retrying.
68305 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
68307         * version.h (RELEASE): Bump for 2.14 release.
68308         * include/features.h (__GLIBC_MINOR__): Bump to 14.
68310         * config.make.in (RANLIB): Remove entry.
68312 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
68314         * po/Makefile (po-sed-cmd): Add ksh to extensions.
68315         (libc.pot): Work around missing support for .ksh extension in xgettext.
68317         [BZ #12684]
68318         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
68319         if both request failed.
68320         (send_dg): In case of server errors clear resplen or *resplen2.
68322         [BZ #12454]
68323         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
68324         when there are multiple maps.
68325         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
68326         (_dl_fini): Remove test here.
68328         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
68330 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
68332         [BZ #12350]
68333         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
68334         bit from old_res_options.
68335         (gaih_inet): Likewise.
68337         [BZ #11099]
68338         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
68339         as signed.
68341         * resolv/res_init.c (res_setoptions): Make the code more compact.
68343         [BZ #11558]
68344         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
68345         set RES_USEVC.
68347         [BZ #11634]
68348         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
68350         * malloc/malloc.h: Mark malloc hook variables as deprecated.
68352         [BZ #11781]
68353         * malloc/malloc.h: Declare malloc hook variables as volatile.
68355         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
68356         in last patch.
68358         [BZ #11799]
68359         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
68360         raise in the comment.
68361         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
68362         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
68363         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
68365 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
68367         [BZ #12811]
68368         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
68369         grow the buffers more if it already has to be sufficient.
68370         (build_wcs_upper_buffer): Likewise.
68371         * posix/regexec.c (check_matching): Likewise.
68372         (clean_state_log_if_needed): Likewise.
68373         (extend_buffers): Don't enlarge buffers beyond size of the input
68374         buffer.
68375         Patches mostly by Emil Wojak <emil@wojak.eu>.
68376         * posix/bug-regex32.c: New file.
68377         * posix/Makefile (tests): Add bug-regex32.
68379         * locale/findlocale.c (_nl_find_locale): Return right away if
68380         _nl_explode_name failed.
68381         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
68383         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
68385         * debug/xtrace.sh: Unify messages.
68386         * malloc/memusage.sh: Likewise.
68388         [BZ #12813]
68389         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
68390         time symbol from vDSO.  Substitute with vsyscall if not available.
68391         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
68392         __vdso_time.
68394         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
68395         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
68396         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
68397         Add sendmmsg and internal_sendmmsg.
68398         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
68399         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
68400         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
68402         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
68403         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
68404         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
68406 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
68408         [BZ #12813]
68409         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
68410         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
68411         available.
68412         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
68413         __vdso_getcpu.
68415         [BZ #12814]
68416         * iconvdata/Makefile (tests): Add bug-iconv9.
68417         * iconvdata/bug-iconv9.c: New file.
68419 2011-05-27  Andreas Schwab  <schwab@redhat.com>
68421         [BZ #12814]
68422         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
68424 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
68426         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
68427         (struct user_regs_struct): Change intcs field back to cs.
68429 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
68431         * po/ja.po: Update from translation team.
68433 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
68435         [BZ #12795]
68436         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
68437         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
68439 2011-05-20  Andreas Schwab  <schwab@redhat.com>
68441         * stdlib/longlong.h: Update from GCC.
68443 2011-05-23  Andreas Schwab  <schwab@redhat.com>
68445         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
68446         parameter name.
68447         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
68448         Add parameter name.
68449         (__sysconf): Pass it down.
68451 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
68453         [BZ #12671]
68454         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
68455         some situations.
68456         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
68457         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
68458         add in in __libc_use_alloca calls.  Adjust callers.
68459         (glob): Use malloc in some situations.
68461         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
68462         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
68463         pltexit.
68465 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
68467         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
68468         and CLOCK_BOOTTIME_ALARM.
68470         [BZ #12782]
68471         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
68472         is returned.
68474         * string/_strerror.c (__strerror_r): Print negative errors as signed
68475         numbers.
68477         [BZ #12777]
68478         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
68479         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
68480         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
68482         * configure.in: Fix typo in redirection and correct removal of test
68483         files in two cases.
68485         [BZ #12788]
68486         * locale/setlocale.c (new_composite_name): Fix test to check for
68487         identical name of all categories.
68489         [BZ #12792]
68490         * libio/filedoalloc.c (local_isatty): New function.
68491         (_IO_file_doallocate): Use local_isatty.
68492         * stdio-common/perror.c (perror): In case a new stream is used
68493         forward the stream error.
68494         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
68495         error flag.
68497 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
68499         [BZ #11869]
68500         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
68501         alloca.
68502         * include/alloca.h (extend_alloca_account): Define.
68504         [BZ #11857]
68505         * posix/regex.h: Fix comments with documentation of user-accessible
68506         fields after compilation and describe correct free'ing of pattern
68507         after re_compile_pattern.
68508         Patch by Reuben Thomas <rrt@sc3d.org>.
68510 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
68512         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
68513         and -mno-altivec to prevent the compiler from using Altivec and/or
68514         VSX instructions when the corresponding registers are not available.
68516 2011-05-19  Andreas Schwab  <schwab@redhat.com>
68518         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
68520 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
68522         * libio/freopen.c (freopen): Use __dup2, not dup2.
68523         * libio/freopen64.c (freopen64): Likewise.
68525 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
68527         [BZ #12775]
68528         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
68529         * math/Makefile (tests): Add test-powl.
68530         (CFLAGS-test-powl.c): Define.
68531         * math/test-powl.c: New file.
68533 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
68535         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
68537 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
68539         [BZ #11837]
68540         * iconvdata/gb18030.c: Update to GB18020-2005.
68542 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
68544         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
68545         RE_SYNTAX_POSIX_AWK): Update to match recent development.
68546         Patch by Aharon Robbins <arnold@skeeve.com>.
68548         [BZ #11892]
68549         * stdlib/putenv.c (putenv): Don't always create copy of the variable
68550         on the stack.
68552         [BZ #11895]
68553         * misc/pselect.c (__pselect): Handle timeout value errors hidden
68554         through underflows.
68556         [BZ #12766]
68557         * misc/error.c (error_at_line): Ensure file_name and old_file_name
68558         point to strings before performing equality test for error_one_per_line
68559         mode.
68561         [BZ #11697]
68562         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
68564         [BZ #11820]
68565         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
68566         (struct user_fpregs_struct): Avoid __uint*_t types.
68568         [BZ #6420]
68569         * malloc/mtrace.c (tr_where): Add additional parameter to point to
68570         symbol info.  Use it instead of calling _dl_addr locally.
68571         (lock_and_info): New function.
68572         (tr_freehook): Call lock_and_info and pass symbol info as additional
68573         parameter to tr_where.
68574         (tr_mallochook): Likewise.
68575         (tr_reallochook): Likewise.
68576         (tr_memalignhook): Likewise.
68578         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
68579         used and couldn't be at all thread-safe.
68581 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
68583         * libio/freopen.c (freopen): Don't close old file descriptor
68584         before the new one is opened.  Instead dup the new file descriptor
68585         to the old one after the new stream is created.
68586         * libio/freopen64.c (freopen64): Likewise.
68587         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
68588         * libio/fileops.c (_IO_new_file_close_it): Handle new
68589         _IO_FLAGS2_NOCLOSE flag.
68590         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
68591         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
68592         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
68593         _IO_FLAGS2_NOCLOSE flag.
68594         * include/unistd.h: Add hidden_proto for dup3.
68595         Define __have_dup3.
68596         * io/dup3.c: Define hidden symbol.
68597         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
68599         [BZ #7101]
68600         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
68601         when an incomplete long option is used.
68602         * posix/tst-getopt_long1.c: New file.
68603         * posix/Makefile (tests): Add tst-getopt_long1.
68605         [BZ #10138]
68606         * scripts/config.guess: Update from autoconf-2.68.
68607         * scripts/config.sub: Likewise.
68609         [BZ #10157]
68610         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
68611         tests into ...
68612         (has_cpuclock): ...this.  New function.
68613         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
68614         macro here based on has_cpuclock code.
68616         [BZ #10149]
68617         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
68618         First byte (not low byte) is now always NUL.
68619         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
68621         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
68622         Use non-cancelable interfaces.
68624         [BZ #9809]
68625         * locale/iso-639.def: Add entry for Sorani.
68627         [BZ #11901]
68628         * include/stdlib.h: Move include protection to the right place.
68629         Define abort_msg_s.  Declare __abort_msg with it.
68630         * stdlib/abort.c (__abort_msg): Adjust type.
68631         * assert/assert.c (__assert_fail_base): New function.  Majority
68632         of code from __assert_fail.  Allocate memory for __abort_msg with
68633         mmap.
68634         (__assert_fail): Now call __assert_fail_base.
68635         * assert/assert-perr.c: Remove bulk of implementation.  Use
68636         __assert_fail_base.
68637         * include/assert.hL Declare __assert_fail_base.
68638         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
68639         mmap.
68640         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
68642 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
68644         [BZ #11952]
68645         [BZ #12453]
68646         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
68647         until all modules are registered in the DTV.
68648         * elf/Makefile: Add rules to build and run tst-tls19.
68649         * elf/tst-tls19.c: New file.
68650         * elf/tst-tls19mod1.c: New file.
68651         * elf/tst-tls19mod2.c: New file.
68652         * elf/tst-tls19mod3.c: New file.
68653         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
68655         [BZ #12083]
68656         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
68657         correctly.
68659         [BZ #12601]
68660         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
68661         two-byte sequence errors.
68662         * iconvdata/Makefile (tests): Add bug-iconv8.
68663         * iconvdata/bug-iconv8.c: New file.
68665         [BZ #12626]
68666         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
68667         buf2 definition.
68669         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
68671         [BZ #12432]
68672         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
68673         (dummy_getcfa): New function.
68674         (init): Get _Unwind_GetCFA address, use dummy if not found.
68675         (backtrace_helper): In recursion check, also check whether CFA changes.
68676         (__backtrace): Completely initialize arg.
68678         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
68679         storing incomplete byte sequence in state object.  Avoid testing for
68680         guaranteed too small input if we know there is enough data available.
68682 2011-05-11  Andreas Schwab  <schwab@redhat.com>
68684         * Makeconfig (+link-pie): Indent.
68685         * Rules (binaries-pie): Define if $(have-fpie) and
68686         $(build-shared).
68687         (binaries-shared): Also filter out $(binaries-pie).
68688         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
68689         * nscd/Makefile (others-pie): Add nscd.
68690         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
68691         ($(objpfx)nscd): Remove command override.
68692         * login/Makefile (others-pie): Add pt_chown.
68693         ($(objpfx)pt_chown): Remove command override.
68694         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
68695         remove command overrides.
68697 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
68699         * libio/tst_putwc.c: Fix error messages.
68701         [BZ #12724]
68702         * libio/fileops.c (_IO_new_file_close_it): Always flush when
68703         currently writing and seek to current position when not.
68704         * libio/Makefile (tests): Add bug-fclose1.
68705         * libio/bug-fclose1.c: New file.
68707 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
68709         [BZ #12511]
68710         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
68711         don't set DF_1_NODELETE here.
68712         (do_lookup_x): When entering new entry test for copy relocation
68713         and if necessary set DF_1_NODELETE flag.
68714         * elf/tst-unique4.cc: New file.
68715         * elf/tst-unique4.h: New file.
68716         * elf/tst-unique4lib.cc: New file.
68717         * elf/Makefile: Add rules to build and run tst-unique4.
68718         Patch by Piotr Bury <pbury@goahead.com>.
68720 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
68722         [BZ #12052]
68723         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
68725         [BZ #12625]
68726         * misc/mntent_r.c (addmntent): Flush the stream after the output
68728         [BZ #12393]
68729         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
68730         (is_trusted_path_normalize): Skip initial colon.  Append slash
68731         to empty buffer.  Duplicate is_trusted_path code but allow
68732         constructed patch to be prefix.
68733         (is_dst): Allow $ORIGIN followed by /.
68734         (_dl_dst_substitute): Correct clearing of check_for_trusted.
68735         Correct testing of result of is_trusted_path_normalize
68736         (decompose_rpath): Fix warning.
68738 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
68740         [BZ #11257]
68741         * grp/initgroups.c (internal_getgrouplist): When we found the service
68742         list through the initgroups entry in nsswitch.conf do not always
68743         continue on a successful lookup.  Don't always use the
68744         __nss_group_database value if it is set.
68745         * nss/nsswitch.conf (initgroups): Change action for successful db
68746         lookup to continue for compatibility.
68748 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
68750         [BZ #11532]
68751         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
68752         and CP774 modules.
68753         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
68754         and CP774 modules.
68755         * iconvdata/tst-tables.sh: Likewise.
68756         * iconvdata/cp770.c: New file.
68757         * iconvdata/cp771.c: New file.
68758         * iconvdata/cp772.c: New file.
68759         * iconvdata/cp773.c: New file.
68760         * iconvdata/cp774.c: New file.
68761         * iconvdata/testdata/CP770: New file.
68762         * iconvdata/testdata/CP770..UTF8: New file.
68763         * iconvdata/testdata/CP771: New file.
68764         * iconvdata/testdata/CP771..UTF8: New file.
68765         * iconvdata/testdata/CP772: New file.
68766         * iconvdata/testdata/CP772..UTF8: New file.
68767         * iconvdata/testdata/CP773: New file.
68768         * iconvdata/testdata/CP773..UTF8: New file.
68769         * iconvdata/testdata/CP774: New file.
68770         * iconvdata/testdata/CP774..UTF8: New file.
68772         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
68773         END CHARMAP line.
68774         * iconvdata/gen-8bit-gap.sh: Likewise.
68775         * iconvdata/gen-8bit.sh: Likewise.
68777         * locale/iso-639.def: Add ary entry.
68779         [BZ #11258]
68780         * locale/C-translit.h.in: Add U20A1 transliteration.
68782         [BZ #12178]
68783         * locale/iso-639.def: Add wae entry.
68784         Patch by Kevin Bortis <bortis@translate-wae.ch>.
68786         [BZ #12545]
68787         * locale/programs/localedef.c (construct_output_path): Use ssize_t
68788         for n.
68790         [BZ #12711]
68791         * locale/C-translit.h.in: Add entry for U20B9.
68792         Patch by pravin.d.s@gmail.com.
68794 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
68796         [BZ #12713]
68797         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
68798         ENAMETOOLONG use generic getcwd.
68799         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
68800         in rtld.  Use *stat64.
68801         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
68802         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
68803         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
68804         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
68805         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
68806         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
68807         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
68808         __fstatat64 macros.
68809         * include/dirent.h: Add libc_hidden_proto for rewinddir.
68810         * dirent/rewinddir.c: Add libc_hidden_def.
68811         * sysdeps/mach/hurd/rewinddir.c: Likewise.
68812         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
68814         * include/dirent.h (__alloc_dir): Add flags parameter.
68815         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
68816         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
68817         __alloc_dir.
68818         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
68819         from fdopendir if O_CLOEXEC is already set.
68821 2011-03-15  Alan Modra  <amodra@gmail.com>
68823         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
68824         l_tls_firstbyte_offset non-zero.  Save padding offset in
68825         l_tls_firstbyte_offset for later use.
68826         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
68827         freeing static tls block.
68829 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
68831         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
68832         where #ifdef was intended.  The intent is to prevent ARG_MAX from
68833         being defined by the kernel headers.
68835 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
68837         [BZ #12734]
68838         * resolv/resolv.h: Define RES_NOTLDQUERY.
68839         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
68840         no-tld-query and set RES_NOTLDQUERY.
68841         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
68842         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
68843         modern BIND to search name as TLD unless forbidden.
68845 2011-05-07  Petr Baudis  <pasky@suse.cz>
68846             Ulrich Drepper  <drepper@gmail.com>
68848         [BZ #12393]
68849         * elf/dl-load.c (fillin_rpath): Move trusted path check...
68850         (is_trusted_path): ...to here.
68851         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
68852         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
68853         using is_trusted_path_normalize() in setuid scripts.
68855 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
68857         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
68858         __BEGIN/__END_DECLS.
68860 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
68862         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
68863         NSS_STATUS_NOTFOUND if no record was found.
68865 2011-05-05  Andreas Schwab  <schwab@redhat.com>
68867         * sunrpc/Makefile (headers): Add rpc/netdb.h.
68868         (headers-not-in-tirpc): Remove rpc/netdb.h
68869         * resolv/netdb.h: Revert last change.
68871 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
68873         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
68874         circular dependency between libgcc.a and libc.a.
68876 2011-05-05  Andreas Schwab  <schwab@redhat.com>
68878         * resolv/netdb.h: Don't include <rpc/netdb.h>.
68879         * nis/Makefile: Don't install rpcsvc/*.
68880         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
68881         instead of <rpc/types.h>.
68882         (MAXHOSTNAMELEN): Define.
68884 2011-05-03  Andreas Schwab  <schwab@redhat.com>
68886         * elf/ldconfig.c (add_dir): Don't crash on empty path.
68888 2011-04-28  Maciej Babinski  <mbabinski@google.com>
68890         [BZ #12714]
68891         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
68892         gethostbyname4_r when IPv6 results are possible.
68894 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
68896         [BZ #12723]
68897         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
68898         _PC_PIPE_BUF handling.
68900 2011-04-30  Bruno Haible  <bruno@clisp.org>
68902         [BZ #12717]
68903         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
68904         * resolv/netdb.h (getnameinfo): Change type of flags parameter
68905         to 'int'.
68906         * inet/getnameinfo.c (getnameinfo): Likewise.
68908 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
68910         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
68911         to groups setting in database lookup.
68912         * nss/nsswitch.conf: Add initgroups entry.
68914 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
68916         [BZ #12685]
68917         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
68918         mode string.
68919         Patch by Eric Blake <eblake@redhat.com>.
68921 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
68923         * sunrpc/Makefile (need-export-routines): Add svc_run.
68924         (routines): Remove svc_run.
68925         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
68926         * sunrpc/clnt_perr.c (clnt_perrno): Export.
68927         * sunrpc/svc_run.c (svc_run): Likewise.
68928         * sunrpc/svc_udp.c (svcudp_create): Likewise.
68930 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
68932         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
68933         problem in reallocation in last patch.
68935 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
68937         * sunrpc/Makefile: Move inclusion of Rules.
68939 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
68941         * nss/nss_files/files-initgroups.c: New file.
68942         * nss/Makefile (libnss_files-routines): Add files-initgroups.
68943         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
68944         _nss_files_initgroups_dyn.
68946 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
68948         * elf/elf.h (R_ARM_IRELATIVE): Define.
68950 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
68952         * po/ru.po: Update from translation team.
68954 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
68956         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
68957         dependencies.
68959 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
68961         [BZ #12653]
68962         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
68963         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
68964         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
68965         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
68966         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
68968 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
68970         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
68971         differing bytes.
68972         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
68973         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
68974         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
68976 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
68978         [BZ #12420]
68979         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
68980         storing it.
68981         * stdlib/bug-getcontext.c: New file.
68982         * stdlib/Makefile: Add rules to build and run bug-getcontext.
68984 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68986         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
68987         instructions into .machine "z9-109".
68988         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
68989         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
68991 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68993         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
68994         between environment variables and auxiliary vector.
68996 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
68998         * Makefile: Add rules to build linkobj/libc.so.
68999         * include/libc-symbols.h: Define libc_hidden_nolink.
69000         * include/rpc/auth.h: Mark functions which are to be hidden.
69001         * include/rpc/auth_des.h: Likewise.
69002         * include/rpc/auth_unix.h: Likewise.
69003         * include/rpc/clnt.h: Likewise.
69004         * include/rpc/des_crypt.h: Likewise.
69005         * include/rpc/key_prot.h: Likewise.
69006         * include/rpc/pmap_clnt.h: Likewise.
69007         * include/rpc/pmap_prot.h: Likewise.
69008         * include/rpc/pmap_rmt.h: Likewise.
69009         * include/rpc/rpc_msg.h: Likewise.
69010         * include/rpc/svc.h: Likewise.
69011         * include/rpc/svc_auth.h: Likewise.
69012         * include/rpc/xdr.h: Likewise.
69013         * nis/Makefile: Link all DSOs against linkobj/libc.so.
69014         * nss/Makefile: Likewise.
69015         * sunrpc/Makefile: Don't install headers.  Build library with normal
69016         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
69017         * sunrpc/auth_des.c: Hide exported symbols by default, export some
69018         for the compat linking library.  Remove use of INTDEF/INTUSE.
69019         * sunrpc/auth_none.c: Likewise.
69020         * sunrpc/auth_unix.c: Likewise.
69021         * sunrpc/authdes_prot.c: Likewise.
69022         * sunrpc/authuxprot.c: Likewise.
69023         * sunrpc/clnt_gen.c: Likewise.
69024         * sunrpc/clnt_perr.c: Likewise.
69025         * sunrpc/clnt_raw.c: Likewise.
69026         * sunrpc/clnt_simp.c: Likewise.
69027         * sunrpc/clnt_tcp.c: Likewise.
69028         * sunrpc/clnt_udp.c: Likewise.
69029         * sunrpc/clnt_unix.c: Likewise.
69030         * sunrpc/des_crypt.c: Likewise.
69031         * sunrpc/des_soft.c: Likewise.
69032         * sunrpc/get_myaddr.c: Likewise.
69033         * sunrpc/key_call.c: Likewise.
69034         * sunrpc/key_prot.c: Likewise.
69035         * sunrpc/netname.c: Likewise.
69036         * sunrpc/pm_getmaps.c: Likewise.
69037         * sunrpc/pm_getport.c: Likewise.
69038         * sunrpc/pmap_clnt.c: Likewise.
69039         * sunrpc/pmap_prot.c: Likewise.
69040         * sunrpc/pmap_prot2.c: Likewise.
69041         * sunrpc/pmap_rmt.c: Likewise.
69042         * sunrpc/publickey.c: Likewise.
69043         * sunrpc/rpc_cmsg.c: Likewise.
69044         * sunrpc/rpc_common.c: Likewise.
69045         * sunrpc/rpc_dtable.c: Likewise.
69046         * sunrpc/rpc_prot.c: Likewise.
69047         * sunrpc/rpc_thread.c: Likewise.
69048         * sunrpc/rtime.c: Likewise.
69049         * sunrpc/svc.c: Likewise.
69050         * sunrpc/svc_auth.c: Likewise.
69051         * sunrpc/svc_authux.c: Likewise.
69052         * sunrpc/svc_raw.c: Likewise.
69053         * sunrpc/svc_run.c: Likewise.
69054         * sunrpc/svc_simple.c: Likewise.
69055         * sunrpc/svc_tcp.c: Likewise.
69056         * sunrpc/svc_udp.c: Likewise.
69057         * sunrpc/svc_unix.c: Likewise.
69058         * sunrpc/svcauth_des.c: Likewise.
69059         * sunrpc/xcrypt.c: Likewise.
69060         * sunrpc/xdr.c: Likewise.
69061         * sunrpc/xdr_array.c: Likewise.
69062         * sunrpc/xdr_float.c: Likewise.
69063         * sunrpc/xdr_intXX_t.c: Likewise.
69064         * sunrpc/xdr_mem.c: Likewise.
69065         * sunrpc/xdr_rec.c: Likewise.
69066         * sunrpc/xdr_ref.c: Likewise.
69067         * sunrpc/xdr_sizeof.c: Likewise.
69068         * sunrpc/xdr_stdio.c: Likewise.
69070 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
69072         [BZ #12650]
69073         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
69074         * sysdeps/ia64/dl-tls.h: Likewise.
69075         * sysdeps/powerpc/dl-tls.h: Likewise.
69076         * sysdeps/s390/dl-tls.h: Likewise.
69077         * sysdeps/sh/dl-tls.h: Likewise.
69078         * sysdeps/sparc/dl-tls.h: Likewise.
69079         * sysdeps/x86_64/dl-tls.h: Likewise.
69080         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
69082 2011-03-14  Andreas Schwab  <schwab@redhat.com>
69084         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
69085         rpath element also skip the following colon.
69086         (expand_dynamic_string_token): Add is_path parameter and pass
69087         down to DL_DST_REQUIRED and _dl_dst_substitute.
69088         (decompose_rpath): Call expand_dynamic_string_token with
69089         non-zero is_path.  Ignore empty rpaths.
69090         (_dl_map_object_from_fd): Call expand_dynamic_string_token
69091         with zero is_path.
69093 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
69095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
69096         Make cancelable.
69098 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
69100         [BZ #12655]
69101         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
69102         Patch by Filipe David Manana <fdmanana@apache.org>.
69104 2011-04-07  Andreas Schwab  <schwab@redhat.com>
69106         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
69107         Maintain aligned stack.
69108         (CHECK_RSP): Remove unused macro.
69110 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
69112         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
69113         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
69115 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
69117         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
69119         * include/features.h: Mention __USE_XOPEN2K8 in comment.
69121 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
69123         [BZ #12518]
69124         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
69125         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
69126         * sysdeps/x86_64/memmove.c: New file.
69127         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
69128         (memcpy): Renamed to ...
69129         (__new_memcpy): This.
69130         (memcpy): Provide GLIBC_2_14 memcpy.
69131         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
69132         (memcpy): Provide GLIBC_2_2_5 memcpy.
69134 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
69136         [BZ #12631]
69137         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
69139 2011-03-30  Andreas Schwab  <schwab@redhat.com>
69141         * misc/syncfs.c: New file.
69142         * misc/Makefile (routines): Add syncfs.
69143         * posix/unistd.h: Declare syncfs.
69144         * sysdeps/unix/syscalls.list: Add syncfs.
69146 2011-04-01  Andreas Schwab  <schwab@redhat.com>
69148         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
69149         open_by_handle_at.
69150         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
69151         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
69152         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
69153         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
69154         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
69155         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
69156         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
69158 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
69160         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
69161         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
69162         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
69163         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
69164         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
69165         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
69166         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
69168         * io/Makefile: Compile fallocate.c, fallocate64.c, and
69169         sync_file_range.c with -fexceptions.
69170         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
69171         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
69172         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
69173         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
69174         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
69175         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
69176         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
69177         sync_file_range as cancellation point
69178         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
69179         now a wrapper around __call_sync_file_range with cancellation handling.
69180         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
69181         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
69182         function name to __call_sync_file_range.
69183         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
69184         Add call_sync_file_range.
69186 2011-04-01  Andreas Schwab  <schwab@redhat.com>
69188         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69189         bits/timex.h.
69191 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
69193         * iconv/iconv.h: Fix typo in comment.
69194         * io/fcntl.h: Likewise.
69195         * libio/stdio.h: Likewise.
69196         * posix/spawn.h: Likewise.
69197         * posix/unistd.h: Likewise.
69198         * stdlib/stdlib.h: Likewise.
69199         * time/time.h: Likewise.
69200         * wcsmbs/wchar.h: Likewise.
69202         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
69203         open_by_handle): Add.
69204         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
69205         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
69206         Augment a few comments.
69207         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
69208         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
69209         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
69210         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
69211         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
69212         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
69213         open_by_handle.
69215         * io/fcntl.h (AT_EMPTY_PATH): Define.
69217 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
69219         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
69220         * sysdeps/unix/sysv/linux/bits/time.h: New file.
69221         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
69222         to...
69223         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
69224         * Versions.def: Add GLIBC_2.14.
69225         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
69226         Export.
69228 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
69230         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
69231         round counter.
69232         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
69234 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
69236         [BZ #12597]
69237         * string/test-strncmp.c (do_page_test): New function.
69238         (check2): Likewise.
69239         (test_main): Call check2.
69240         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
69242 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
69244         [BZ #12587]
69245         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
69246         Handle cache information in CPU leaf 4.
69247         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
69249 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
69251         [BZ #12583]
69252         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
69253         character representation.
69254         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
69256 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
69258         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
69259         END(__isnan) to END(__isnanf) to match function entry point/label
69260         EALIGN(__isnanf,...).
69262 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
69264         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
69266 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
69268         [BZ #12510]
69269         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
69270         copy from the symbol referenced in the relocation to initialize the
69271         used variable.
69272         Patch by Piotr Bury <pbury@goahead.com>.
69273         * elf/Makefile: Add rules to build and tst-unique3.
69274         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
69275         * elf/tst-unique3.cc: New file.
69276         * elf/tst-unique3.h: New file.
69277         * elf/tst-unique3lib.cc: New file.
69278         * elf/tst-unique3lib2.cc: New file.
69280         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
69282 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
69284         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
69285         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
69286         to _start.
69288 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
69290         * elf/dl-load.c (_dl_map_object): If we are looking for the first
69291         to-be-loaded object along a path to loader is ld.so.
69293 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
69294             Ulrich Drepper  <drepper@gmail.com>
69296         * sysdeps/x86_64/memset.S: After aligning destination, code
69297         branches to different locations depending on the value of
69298         misalignment, when multiarch is enabled. Fix this.
69300 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
69302         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
69303         Set _x86_64_preferred_memory_instruction for AMD processsors.
69304         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69305         Set bit_Prefer_SSE_for_memop for AMD processors.
69307 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
69309         * libio/fmemopen.c (fmemopen): Optimize a bit.
69311 2011-03-03  Andreas Schwab  <schwab@redhat.com>
69313         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
69315 2011-03-03  Roland McGrath  <roland@redhat.com>
69317         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
69319 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
69321         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
69322         __bzero_ultra1 instead of __memset_ultra1.
69324 2011-02-23  Andreas Schwab  <schwab@redhat.com>
69325             Ulrich Drepper  <drepper@gmail.com>
69327         [BZ #12509]
69328         * include/link.h (struct link_map): Add l_orig_initfini.
69329         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
69330         returning unsuccessfully.
69331         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
69332         close of a file loaded at startup, restore the original l_initfini
69333         list.
69334         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
69335         list, store the pointer.
69336         * elf/Makefile ($(objpfx)noload-mem): New rule.
69337         (noload-ENV): Define.
69338         (tests): Add $(objpfx)noload-mem.
69339         * elf/noload.c: Include <memcheck.h>.
69340         (main): Call mtrace.  Close all opened handles.
69342 2011-02-17  Andreas Schwab  <schwab@redhat.com>
69344         [BZ #12454]
69345         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
69346         dependencies are missing.
69348 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69350         Fix __if_freereq crash: Unlike the generic version which uses free,
69351         Hurd needs munmap.
69352         * sysdeps/mach/hurd/ifreq.h: New file.
69354 2011-01-27  Petr Baudis  <pasky@suse.cz>
69355             Ulrich Drepper  <drepper@gmail.com>
69357         [BZ 12445]#
69358         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
69359         to extend_alloca().
69360         * stdio-common/bug23.c: New file.
69361         * stdio-common/Makefile (tests): Add bug23.
69363 2010-09-28  Andreas Schwab  <schwab@redhat.com>
69364             Ulrich Drepper  <drepper@gmail.com>
69366         [BZ #12489]
69367         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
69368         before performing relro protection.  At old place add assertion
69369         to make sure nothing changed.
69371 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
69372             Glauber de Oliveira Costa  <glommer@gmail.com>
69374         * elf/elf.h: Add new ARM TLS relocs.
69376 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
69378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
69379         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
69380         cast from r3.
69381         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
69382         'tests' variable.
69383         * sysdeps/wordsize-64/tst-writev.c: New file.
69385 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
69387         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
69388         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
69389         insns in _dl_start to prevent a TOC reference before relocs are
69390         resolved.
69392 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
69394         [BZ #12469]
69395         * Makeconfig: Remove RANLIB definition.
69396         * Makerules: Don't use RANLIB.
69397         * aclocal.m4: Remove ranlib test.
69398         * configure.in: No need to check for ranlib.
69399         * elf/rtld-Rules: Don't use RANLIB.
69401 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69403         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
69404         protection macro.
69405         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
69406         inclusion protection macro.
69408         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
69409         SIGRTMIN and SIGRTMAX and print information in that case only when
69410         SIGRTMIN is defined.
69412 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
69414         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
69415         arginfo fn returning -1.
69417         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
69418         and thousands string is zero terminated.
69420 2011-02-03  Andreas Schwab  <schwab@redhat.com>
69422         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
69423         sysdeps/unix/sysv/linux/bits/socket.h.
69425 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69427         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
69428         (__CPU_COUNT): Remove old macros.
69429         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
69430         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
69431         (__CPU_ALLOC, __CPU_FREE): Add macros.
69432         (__sched_cpualloc, __sched_cpufree): Add declarations.
69434 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
69436         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
69437         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
69438         * nscd/aicache.c (addhstaiX): Return timeout of added value.
69439         (readdhstai): Return value of addhstaiX call.
69440         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
69441         (addgrbyX): Return value returned by cache_addgr.
69442         (readdgrbyname): Return value returned by addgrbyX.
69443         (readdgrbygid): Likewise.
69444         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
69445         (addpwbyX): Return value returned by cache_addpw.
69446         (readdpwbyname): Return value returned by addhstbyX.
69447         (readdpwbyuid): Likewise.
69448         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
69449         (addservbyX): Return value returned by cache_addserv.
69450         (readdservbyname): Return value returned by addservbyX:
69451         (readdservbyport): Likewise.
69452         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
69453         (addhstbyX): Return value returned by cache_addhst.
69454         (readdhstbyname): Return value returned by addhstbyX.
69455         (readdhstbyaddr): Likewise.
69456         (readdhstbynamev6): Likewise.
69457         (readdhstbyaddrv6): Likewise.
69458         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
69459         (readdinitgroups): Return value returned by addinitgroupsX.
69460         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
69461         (prune_cache): Keep track of timeout value of re-added entries.
69462         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
69463         * nscd/nscd.h: Adjust prototypes of readd* functions.
69465 2011-02-04  Roland McGrath  <roland@redhat.com>
69467         * nis/nis_server.c (nis_servstate): Use the right name for 0.
69468         (nis_stats): Likewise.
69469         * nis/nis_modify.c (nis_modify): Likewise.
69470         * nis/nis_remove.c (nis_remove): Likewise.
69471         * nis/nis_add.c (nis_add): Likewise.
69473         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
69475         * posix/fnmatch_loop.c: Add some consts.
69477         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
69479 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
69481         [BZ #12460]
69482         * config.make.in (config-cflags-novzeroupper): Define.
69483         * configure.in: Substitute libc_cv_cc_novzeroupper.
69484         * elf/Makefile (AVX-CFLAGS): Define.
69485         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
69486         (CFLAGS-tst-auditmod4a.c): Likewise.
69487         (CFLAGS-tst-auditmod4b.c): Likewise.
69488         (CFLAGS-tst-auditmod6b.c): Likewise.
69489         (CFLAGS-tst-auditmod6c.c): Likewise.
69490         (CFLAGS-tst-auditmod7b.c): Likewise.
69491         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
69493 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
69495         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
69496         function to the callback.
69497         Patch partly by Jiri Olsa <jolsa@redhat.com>.
69499 2011-02-02  Andreas Schwab  <schwab@redhat.com>
69501         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
69502         of errno.
69504 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
69506         [BZ #11724]
69507         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
69508         of constructors.
69509         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
69510         of destructors.
69511         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
69513         [BZ #11724]
69514         * elf/Makefile: Add rules to build and run new test.
69515         * elf/tst-initorder.c: New file.
69516         * elf/tst-initorder.exp: New file.
69517         * elf/tst-initordera1.c: New file.
69518         * elf/tst-initordera2.c: New file.
69519         * elf/tst-initordera3.c: New file.
69520         * elf/tst-initordera4.c: New file.
69521         * elf/tst-initorderb1.c: New file.
69522         * elf/tst-initorderb2.c: New file.
69523         * elf/tst-order-a1.c: New file.
69524         * elf/tst-order-a2.c: New file.
69525         * elf/tst-order-a3.c: New file.
69526         * elf/tst-order-a4.c: New file.
69527         * elf/tst-order-b1.c: New file.
69528         * elf/tst-order-b2.c: New file.
69529         * elf/tst-order-main.c: New file.
69530         New test case by George Gensure <werkt0@gmail.com>.
69532 2010-10-01  Andreas Schwab  <schwab@redhat.com>
69534         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
69535         decoding ACE if AI_CANONIDN.
69537 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
69539         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
69541 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
69543         * version.h (RELEASE): Bump for 2.13 release.
69544         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
69546         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
69548         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
69549         MADV_NOHUGEPAGE.
69550         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
69551         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
69552         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
69553         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
69554         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
69555         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
69557         * posix/getconf.c: Update copyright year.
69558         * catgets/gencat.c: Likewise.
69559         * csu/version.c: Likewise.
69560         * debug/catchsegv.sh: Likewise.
69561         * debug/xtrace.sh: Likewise.
69562         * elf/ldconfig.c: Likewise.
69563         * elf/ldd.bash.in: Likewise.
69564         * elf/sprof.c (print_version): Likewise.
69565         * iconv/iconv_prog.c: Likewise.
69566         * iconv/iconvconfig.c: Likewise.
69567         * locale/programs/locale.c: Likewise.
69568         * locale/programs/localedef.c: Likewise.
69569         * malloc/memusage.sh: Likewise.
69570         * malloc/mtrace.pl: Likewise.
69571         * nscd/nscd.c (print_version): Likewise.
69572         * nss/getent.c: Likewise.
69574         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
69575         PF_CAIF, and PF_ALG.
69576         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
69578 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
69580         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
69581         (modules-names): Use them.
69582         (ifunc-test-modules, ifunc-pie-tests): Define.
69583         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
69584         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
69585         (test-extras): Likewise.
69586         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
69587         $(compile-command.c).
69588         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
69589         (all-built-dso): Define.
69590         (check-textrel.out, check-execstack.out): Depend on it.
69592         * configure.in: Don't override --enable-multi-arch.
69594 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
69596         [BZ #6812]
69597         * nscd/hstcache.c (tryagain): Define.
69598         (cache_addhst): Return tryagain not notfound for temporary errors.
69599         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
69600         failed.
69602 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
69604         [BZ #10563]
69605         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
69606         to make the syscall.
69607         * sysdeps/unix/sysv/linux/setgroups.c: New file.
69609         [BZ #12378]
69610         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
69611         and fall back to matching as normal character if the string ends before
69612         the matching ']' is found.  This is what POSIX requires.
69613         * posix/testfnm.c: Adjust test result.
69614         * posix/globtest.sh: Adjust test result.  Add new test.
69615         * posix/tst-fnmatch.input: Likewise.
69616         * posix/tst-fnmatch2.c: Add new test.
69618 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
69620         * elf/Makefile (check-execstack): Revert last change.  Depend on
69621         check-execstack.h.
69622         (check-execstack.h): New target.
69623         (generated): Add check-execstack.h.
69624         * elf/check-execstack.c: Include "check-execstack.h".
69625         (main): Revert last change.
69626         (handle_file): Return zero if GNU_STACK is absent and
69627         DEFAULT_STACK_PERMS doesn't include PF_X.
69629 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
69631         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
69632         in child fails because the descriptor is already closed.
69633         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
69634         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
69635         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
69637         [BZ #12397]
69638         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
69639         syscall.
69641         [BZ #10484]
69642         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
69643         temporary buffer used to handle multi lookups locally.
69644         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
69646 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
69648         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
69649         loader is ld.so.
69651 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
69653         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
69654         alignment for SSE2.
69656 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
69658         [BZ #12394]
69659         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
69660         characters.  When rounding increased number of integer digits recompute
69661         number of groups.
69662         * stdio-common/tst-grouping.c: New file.
69663         * stdio-common/Makefile: Add rules to build and run tst-grouping.
69665 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
69667         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
69668         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
69670         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
69671         void.
69672         * bits/select.h: Likewise.
69674 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
69676         * po/ja.po: Update from translation team.
69678 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
69680         [BZ #11155]
69681         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
69682         implementation just like for lxstat, fxstatat, et al.
69684 2010-12-27  Jim Meyering  <meyering@redhat.com>
69686         [BZ #12348]
69687         * posix/regexec.c (build_trtable): Return failure indication upon
69688         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
69690 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
69692         [BZ #12201]
69693         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
69694         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
69695         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
69696         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
69698         [BZ #12207]
69699         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
69701         [BZ #12204]
69702         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
69703         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
69705 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
69707         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
69708         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
69709         script has SORT_BY_INIT_PRIORITY.
69710         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
69711         NO_CTORS_DTORS_SECTIONS is defined.
69712         * elf/soinit.c: Likewise.
69713         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
69714         NO_CTORS_DTORS_SECTIONS is defined.
69715         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
69716         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
69717         * sysdeps/sh/init-first.c: Likewise.
69718         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
69720 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
69722         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
69723         always use the slow path.
69725 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
69727         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
69728         similar rule which adds the sysdep directories to the header search in
69729         order to pick up the correct platform stackinfo.h.
69730         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
69731         perform test if it is, otherwise return successfully without testing.
69732         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
69733         DEFAULT_STACK_PERMS define in stackinfo.h.
69734         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
69735         defined in stackinfo.h.
69736         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
69737         DEFAULT_STACK_PERMS defined in stackinfo.h.
69738         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
69739         * sysdeps/ia64/stackinfo.h: Likewise.
69740         * sysdeps/s390/stackinfo.h: Likewise.
69741         * sysdeps/sh/stackinfo.h: Likewise.
69742         * sysdeps/sparc/stackinfo.h: Likewise.
69743         * sysdeps/x86_64/stackinfo.h: Likewise.
69744         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
69745         PF_X for powerpc64.  Retain PF_X for powerpc32.
69747 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
69749         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
69750         accurately.
69751         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
69752         GETDENTS_64BIT_ALIGNED.
69754 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
69756         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
69758 2010-12-10  Andreas Schwab  <schwab@redhat.com>
69760         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
69761         _GNU_SOURCE.
69763         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
69764         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
69765         Remove __restrict.
69766         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
69767         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
69769 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
69771         [BZ #11655]
69772         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
69773         are initialized.
69775 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
69777         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
69779 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
69781         * po/it.po: Update from translation team.
69783 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
69785         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
69786         unused codes.
69788 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
69790         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
69792 2010-11-24  Andreas Schwab  <schwab@redhat.com>
69794         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
69795         specially.
69796         (gaih_getanswer_slice): Likewise.
69798 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
69800         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
69802 2010-05-31  Petr Baudis  <pasky@suse.cz>
69804         [BZ #11149]
69805         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
69806         silently even in the chroot mode.
69808 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
69810         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
69811         last patch a bit.  Pretty printing
69813 2010-05-31  Petr Baudis <pasky@suse.cz>
69815         [BZ #10085]
69816         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
69817         initialization of skip_initgroups_dyn.
69819 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
69821         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
69822         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
69824 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
69826         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
69828 2010-11-11  Andreas Schwab  <schwab@redhat.com>
69830         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
69831         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
69832         (tst-fnmatch-ENV): Set MALLOC_TRACE.
69833         ($(objpfx)tst-fnmatch-mem): New rule.
69834         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
69835         * posix/tst-fnmatch.c (main): Call mtrace.
69837 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
69839         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69840         Support Intel processor model 6 and model 0x2c.
69842 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
69844         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
69845           signed comparison.
69847 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
69849         [BZ #12205]
69850         * string/test-strncasecmp.c (check_result): New function.
69851         (do_one_test): Use it.
69852         (check1): New function.
69853         (test_main): Use it.
69854         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
69855         Support strcasecmp and strncasecmp.
69857 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
69859         [BZ #12194]
69860         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
69861         * sysdeps/x86_64/bits/byteswap.h: Likewise.
69863 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
69865         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
69866         IFUNC support.
69867         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
69868         memset-x86-64.
69869         * sysdeps/x86_64/multiarch/bzero.S: New file.
69870         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
69871         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
69872         * sysdeps/x86_64/multiarch/memset.S: New file.
69873         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
69874         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69875         Set bit_Prefer_SSE_for_memop for Intel processors.
69876         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
69877         Define.
69878         (index_Prefer_SSE_for_memop): Define.
69879         (HAS_PREFER_SSE_FOR_MEMOP): Define.
69881 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
69883         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
69884         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
69886 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
69888         [BZ #12191]
69889         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
69890         (__x86_64_raw_data_cache_size_half): Likewise.
69891         (__x86_64_raw_shared_cache_size): Likewise.
69892         (__x86_64_raw_shared_cache_size_half): Likewise.
69894         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
69895         (__x86_64_raw_data_cache_size_half): Likewise.
69896         (__x86_64_raw_shared_cache_size): Likewise.
69897         (__x86_64_raw_shared_cache_size_half): Likewise.
69898         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
69899         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
69900         and __x86_64_raw_shared_cache_size_half.  Round
69901         __x86_64_data_cache_size_half, __x86_64_data_cache_size
69902         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
69903         to multiple of 256 bytes.
69905 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
69907         [BZ #12167]
69908         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
69909         of inacessible symlinks.  Verify result of symlink before returning it.
69910         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
69911         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
69913 2010-10-28  Erich Ritz  <erichritz@gmail.com>
69915         * math/math.h (isinf): Fix typo in comment.
69917 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
69919         * po/da.po: Update from translation team.
69921 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
69923         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
69924         is added to the list.
69926 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69927             Ulrich Drepper  <drepper@gmail.com>
69929         * elf/dl-object.c (_dl_new_object): Don't append the new object to
69930         the global list here.  Move code to...
69931         (_dl_add_to_namespace_list): ...here.  New function.
69932         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
69933         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
69934         * elf/dl-load.c (lose): Don't remove the element from the list.
69935         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
69936         (_dl_map_object): Likewise.
69938 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
69940         [BZ #12159]
69941         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
69942         into all bytes of SSE register.
69943         Patch by Richard Li <richardpku@gmail.com>.
69945 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
69947         [BZ #12140]
69948         * malloc/malloc.c (_int_free): Fill correct number of bytes when
69949         perturbing.
69951 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
69953         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
69954         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
69955         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
69956         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
69957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
69958         submachine.
69959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
69961 2010-10-22  Andreas Schwab  <schwab@redhat.com>
69963         * include/dlfcn.h (__RTLD_SECURE): Define.
69964         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
69965         mode & __RTLD_SECURE instead.
69966         (open_path): Rename preloaded parameter to secure.
69967         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
69968         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
69969         * elf/dl-deps.c (openaux): Likewise.
69970         * elf/rtld.c (struct map_args): Remove is_preloaded.
69971         (map_doit): Don't use it.
69972         (dl_main): Likewise.
69973         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
69974         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
69976 2010-09-09  Andreas Schwab  <schwab@redhat.com>
69978         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
69979         (sysd-rules-targets): Remove duplicates.
69980         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
69981         rtld-%.$o dependency.
69983 2010-10-18  Andreas Schwab  <schwab@redhat.com>
69985         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
69986         _dl_map_object do it.
69988 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
69990         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
69991         fast fma builtins, define the macros in the C99 standard.
69992         (FP_FAST_FMAF): Likewise.
69993         (FP_FAST_FMAL): Likewise.
69994         * sysdeps/x86_64/bits/mathdef.h: Likewise.
69996         * bits/mathdef.h: Update copyright year.
69997         * sysdeps/powerpc/bits/mathdef.h: Likewise.
69999 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
70001         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
70002         builtins, define the macros in the C99 standard.
70003         (FP_FAST_FMAF): Likewise.
70004         (FP_FAST_FMAL): Likewise.
70005         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
70006         multiply/add.
70007         (FP_FAST_FMAF): Likewise.
70009 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
70011         [BZ #3268]
70012         * math/libm-test.inc (fma_test): Some new testcases.
70013         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
70014         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
70015         y and infinite z.  Do multiplication by C already in long double.
70016         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
70017         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
70018         y and infinite z.  Do bitwise or of inexact bit into u.d.
70019         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
70020         * sysdeps/i386/fpu/s_fmaf.S: Removed.
70021         * sysdeps/i386/fpu/s_fma.S: Removed.
70022         * sysdeps/i386/fpu/s_fmal.S: Removed.
70024 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
70026         [BZ #3268]
70027         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
70028         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
70029         computation is not scheduled after fetestexcept.  Fix value
70030         of minimum denormal long double.
70032 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
70034         [BZ #3268]
70035         * math/libm-test.inc (fma_test): Add some more tests.
70036         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
70037         correctly.
70039 2010-10-15  Andreas Schwab  <schwab@redhat.com>
70041         * scripts/data/localplt-s390-linux-gnu.data: New file.
70042         * scripts/data/localplt-s390x-linux-gnu.data: New file.
70044 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
70046         [BZ #3268]
70047         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
70048         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
70049         instead of dbl-64.
70050         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
70051         inlines.
70052         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
70053         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
70054         if one of x and y is very large and the other is subnormal.
70055         * sysdeps/s390/fpu/s_fmaf.c: New file.
70056         * sysdeps/s390/fpu/s_fma.c: New file.
70057         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
70058         * sysdeps/powerpc/fpu/s_fma.S: New file.
70059         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
70060         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
70061         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
70063 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
70065         [BZ #3268]
70066         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
70067         fma tests.
70068         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
70069         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
70070         * sysdeps/i386/i686/multiarch/s_fma.c: Include
70071         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
70072         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
70073         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
70074         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
70076 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
70078         [BZ #12078]
70079         * posix/regcomp.c (parse_branch): One more memory leak plugged.
70080         * posix/bug-regex31.input: Add test case.
70082 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
70084         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
70085         * posix/bug-regex31.input: New file.
70087         [BZ #12078]
70088         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
70089         (parse_sub_exp): Fix last change, use postorder.
70091         * posix/bug-regex31.c: New file.
70092         * posix/Makefile: Add rules to build and run bug-regex31.
70094         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
70096         [BZ #12078]
70097         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
70099         [BZ #12108]
70100         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
70101         to have entries in sys_siglist.
70103         [BZ #12093]
70104         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
70105         be NULL.
70107 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
70109         [BZ #3268]
70110         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
70111         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
70112         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
70113         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
70114         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
70115         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
70116         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
70117         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
70118         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
70119         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
70120         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
70121         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
70122         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
70123         * math/ftestexcept.c (fetestexcept): Likewise.
70124         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
70125         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
70126         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
70127         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
70128         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
70129         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
70130         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
70132 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
70134         [BZ #12107]
70135         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
70136         newline.
70138 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
70140         * string/bug-strstr1.c: New file.
70141         * string/Makefile: Add rules to build and run bug-strstr1.
70143 2010-10-05  Eric Blake  <eblake@redhat.com>
70145         [BZ #12092]
70146         * string/str-two-way.h (two_way_long_needle): Always clear memory
70147         when skipping input due to the shift table.
70149 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
70151         [BZ #12005]
70152         * malloc/mcheck.c: Handle large requests.
70154         [BZ #12077]
70155         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
70156         for strncmp and strncasecmp.
70157         * string/stratcliff.c: Add tests for strcmp and strncmp.
70158         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
70160 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
70162         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
70163         __set_fpscr.
70165 2010-09-30  Andreas Jaeger  <aj@suse.de>
70167         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
70168         (CGROUP_SUPER_MAGIC): Define.
70169         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
70170         Handle btrfs and cgroup file systems.
70171         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
70172         Likewise.
70174 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
70176         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
70177         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
70179 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70181         [BZ #12067]
70182         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
70183         trying to locate the ELF header.
70185 2010-09-27  Andreas Schwab  <schwab@redhat.com>
70187         [BZ #11611]
70188         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
70189         Mask out sign-bit copies when constructing f_fsid.
70191 2010-09-24  Petr Baudis <pasky@suse.cz>
70193         * debug/stack_chk_fail_local.c: Add missing licence exception.
70194         * debug/warning-nop.c: Likewise.
70196 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
70198         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
70199         implementing getdents64 using getdents syscall, set d_type if
70200         __ASSUME_GETDENTS32_D_TYPE.
70202 2010-09-16  Andreas Schwab  <schwab@redhat.com>
70204         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
70205         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
70207 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
70209         [BZ #12037]
70210         * posix/unistd.h: Undo change of feature selection for ftruncate from
70211         2010-01-11.
70213 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
70215         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
70216         detection.
70218 2010-09-20  Andreas Schwab  <schwab@redhat.com>
70220         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
70221         fanotify_mark.
70222         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
70224 2010-09-14  Andreas Schwab  <schwab@redhat.com>
70226         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
70227         variables after CHECK_SP call.
70228         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
70230 2010-09-13  Andreas Schwab  <schwab@redhat.com>
70231             Ulrich Drepper  <drepper@redhat.com>
70233         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
70234         re-relocationg ld.so.
70235         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
70236         _dl_init_paths call.
70237         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
70238         here anymore.
70240 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
70242         * resolv/res_init.c (__res_vinit): Count the default server we added.
70244 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
70245             Ulrich Drepper  <drepper@redhat.com>
70247         [BZ #11968]
70248         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
70249         (____longjmp_chk): Use %ebx for saving value across system call.
70250         Add unwind info.
70252 2010-09-06  Andreas Schwab  <schwab@redhat.com>
70254         * manual/Makefile: Don't mix pattern rules with normal rules.
70256 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
70258         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
70259         operation.
70260         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
70261         * libio/iofopncook.c (_IO_cookie_init): Likewise.
70262         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
70263         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
70264         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
70265         Likewise.
70267 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
70269         [BZ #11979]
70270         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
70271         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
70273 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
70275         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
70276         * sysdeps/x86_64/addmul_1.S: Likewise.
70277         * sysdeps/x86_64/lshift.S: Likewise.
70278         * sysdeps/x86_64/mul_1.S: Likewise.
70279         * sysdeps/x86_64/rshift.S: Likewise.
70280         * sysdeps/x86_64/sub_n.S: Likewise.
70281         * sysdeps/x86_64/submul_1.S: Likewise.
70283 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70285         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
70286         Define __sched_param instead of SCHED_* and sched_param when
70287         <bits/sched.h> is included with __need_schedparam defined.
70288         * bits/sched.h [__need_schedparam]
70289         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
70290         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
70291         (__defined_schedparam): Define to 1.
70292         (__sched_param): New structure, identical to sched_param.
70293         (__need_schedparam): Undefine.
70295 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
70297         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
70298         (epoll_create1): Declare.
70300         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
70302 2010-08-31  Andreas Schwab  <schwab@redhat.com>
70304         [BZ #7066]
70305         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
70306         shifting retval into place.
70308 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
70310         * nis/rpcsvc/nis.h: Update copyright notice.
70311         * nis/rpcsvc/nis.x: Likewise.
70312         * nis/rpcsvc/nis_callback.h: Likewise.
70313         * nis/rpcsvc/nis_callback.x: Likewise.
70314         * nis/rpcsvc/nis_object.x: Likewise.
70315         * nis/rpcsvc/nis_tags.h: Likewise.
70316         * nis/rpcsvc/yp.h: Likewise.
70317         * nis/rpcsvc/yp.x: Likewise.
70318         * nis/rpcsvc/ypupd.h: Likewise.
70319         * nis/yp_xdr.c: Likewise.
70320         * nis/ypupdate_xdr.c: Likewise.
70322         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
70323         mainly the body of pmap_getport.  Add parameters to specify timeouts.
70324         (pmap_getport): Use __libc_rpc_getport.
70325         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
70326         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
70327         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
70329 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
70331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
70332         fanotify_mark.
70334 2010-08-27  Roland McGrath  <roland@redhat.com>
70336         * sysdeps/i386/i686/multiarch/Makefile
70337         (CFLAGS-varshift.c): New variable.
70339 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
70341         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
70342         * sysdeps/i386/i686/multiarch/varshift.c: New file.
70344         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
70346         * sysdeps/x86_64/strlen.S: Minimal code improvement.
70348 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
70350         * sysdeps/x86_64/strlen.S: Unroll the loop.
70351         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
70352         strlen-sse2 strlen-sse2-bsf.
70353         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
70354         __strlen_no_bsf if bit_Slow_BSF is set.
70355         (__strlen_sse42): Removed.
70356         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
70357         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
70359 2010-08-25  Roland McGrath  <roland@redhat.com>
70361         * sysdeps/x86_64/multiarch/varshift.S: File removed.
70362         * sysdeps/x86_64/multiarch/varshift.c: New file.
70363         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
70364         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
70365         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
70366         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
70368 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
70370         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
70371         strlen-sse2 strlen-sse2-bsf.
70372         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
70373         __strlen_sse2_bsf if bit_Slow_BSF is unset.
70374         (__strlen_sse2): Removed.
70375         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
70376         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
70377         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
70378         bit_Slow_BSF for Atom.
70379         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
70380         (index_Slow_BSF): Define.
70381         (HAS_SLOW_BSF): Define.
70383 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
70385         [BZ #10851]
70386         * resolv/res_init.c (__res_vinit): When no server address at all
70387         is given default to loopback.
70389 2010-08-24  Roland McGrath  <roland@redhat.com>
70391         * configure.in: Remove config-name.h generation.
70392         * configure: Regenerated.
70393         * config-name.in: File removed.
70394         * scripts/config-uname.sh: New file.
70395         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
70396         ($(objdir)config-name.h): New target.
70398         * sunrpc/rpc_parse.h: Avoid nested comment.
70400 2010-08-24  Richard Henderson  <rth@redhat.com>
70401             Ulrich Drepper  <drepper@redhat.com>
70402             H.J. Lu  <hongjiu.lu@intel.com>
70404         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
70405         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
70406         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
70407         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
70408         _mm_alignr_epi8 with _mm_loadu_si128.
70409         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
70410         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
70411         (__m128i_shift_right): Removed.
70412         * sysdeps/i386/i686/multiarch/varshift.h: New file.
70413         * sysdeps/i386/i686/multiarch/varshift.S: New file.
70414         * sysdeps/x86_64/multiarch/varshift.h: New file.
70415         * sysdeps/x86_64/multiarch/varshift.S: New file.
70417 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
70419         * configure.in: Move assembler checks to before sysdep dir checking.
70421 2010-08-20  Petr Baudis  <pasky@suse.cz>
70423         * LICENSES: Sync the sunrpc license.
70425 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
70427         * sunrpc/auth_des.c: Update copyright notice once again.
70428         * sunrpc/auth_none.c: Likewise.
70429         * sunrpc/auth_unix.c: Likewise.
70430         * sunrpc/authdes_prot.c: Likewise.
70431         * sunrpc/authuxprot.c: Likewise.
70432         * sunrpc/bindrsvprt.c: Likewise.
70433         * sunrpc/clnt_gen.c: Likewise.
70434         * sunrpc/clnt_perr.c: Likewise.
70435         * sunrpc/clnt_raw.c: Likewise.
70436         * sunrpc/clnt_simp.c: Likewise.
70437         * sunrpc/clnt_tcp.c: Likewise.
70438         * sunrpc/clnt_udp.c: Likewise.
70439         * sunrpc/clnt_unix.c: Likewise.
70440         * sunrpc/des_crypt.c: Likewise.
70441         * sunrpc/des_soft.c: Likewise.
70442         * sunrpc/get_myaddr.c: Likewise.
70443         * sunrpc/getrpcport.c: Likewise.
70444         * sunrpc/key_call.c: Likewise.
70445         * sunrpc/key_prot.c: Likewise.
70446         * sunrpc/openchild.c: Likewise.
70447         * sunrpc/pm_getmaps.c: Likewise.
70448         * sunrpc/pm_getport.c: Likewise.
70449         * sunrpc/pmap_clnt.c: Likewise.
70450         * sunrpc/pmap_prot.c: Likewise.
70451         * sunrpc/pmap_prot2.c: Likewise.
70452         * sunrpc/pmap_rmt.c: Likewise.
70453         * sunrpc/rpc/auth.h: Likewise.
70454         * sunrpc/rpc/auth_unix.h: Likewise.
70455         * sunrpc/rpc/clnt.h: Likewise.
70456         * sunrpc/rpc/des_crypt.h: Likewise.
70457         * sunrpc/rpc/key_prot.h: Likewise.
70458         * sunrpc/rpc/netdb.h: Likewise.
70459         * sunrpc/rpc/pmap_clnt.h: Likewise.
70460         * sunrpc/rpc/pmap_prot.h: Likewise.
70461         * sunrpc/rpc/pmap_rmt.h: Likewise.
70462         * sunrpc/rpc/rpc.h: Likewise.
70463         * sunrpc/rpc/rpc_des.h: Likewise.
70464         * sunrpc/rpc/rpc_msg.h: Likewise.
70465         * sunrpc/rpc/svc.h: Likewise.
70466         * sunrpc/rpc/svc_auth.h: Likewise.
70467         * sunrpc/rpc/types.h: Likewise.
70468         * sunrpc/rpc/xdr.h: Likewise.
70469         * sunrpc/rpc_clntout.c: Likewise.
70470         * sunrpc/rpc_cmsg.c: Likewise.
70471         * sunrpc/rpc_common.c: Likewise.
70472         * sunrpc/rpc_cout.c: Likewise.
70473         * sunrpc/rpc_dtable.c: Likewise.
70474         * sunrpc/rpc_hout.c: Likewise.
70475         * sunrpc/rpc_main.c: Likewise.
70476         * sunrpc/rpc_parse.c: Likewise.
70477         * sunrpc/rpc_parse.h: Likewise.
70478         * sunrpc/rpc_prot.c: Likewise.
70479         * sunrpc/rpc_sample.c: Likewise.
70480         * sunrpc/rpc_scan.c: Likewise.
70481         * sunrpc/rpc_scan.h: Likewise.
70482         * sunrpc/rpc_svcout.c: Likewise.
70483         * sunrpc/rpc_tblout.c: Likewise.
70484         * sunrpc/rpc_util.c: Likewise.
70485         * sunrpc/rpc_util.h: Likewise.
70486         * sunrpc/rpcinfo.c: Likewise.
70487         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
70488         * sunrpc/rpcsvc/key_prot.x: Likewise.
70489         * sunrpc/rpcsvc/klm_prot.x: Likewise.
70490         * sunrpc/rpcsvc/mount.x: Likewise.
70491         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
70492         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
70493         * sunrpc/rpcsvc/rex.x: Likewise.
70494         * sunrpc/rpcsvc/rstat.x: Likewise.
70495         * sunrpc/rpcsvc/rusers.x: Likewise.
70496         * sunrpc/rpcsvc/sm_inter.x: Likewise.
70497         * sunrpc/rpcsvc/spray.x: Likewise.
70498         * sunrpc/rpcsvc/yppasswd.x: Likewise.
70499         * sunrpc/rtime.c: Likewise.
70500         * sunrpc/svc.c: Likewise.
70501         * sunrpc/svc_auth.c: Likewise.
70502         * sunrpc/svc_authux.c: Likewise.
70503         * sunrpc/svc_raw.c: Likewise.
70504         * sunrpc/svc_run.c: Likewise.
70505         * sunrpc/svc_simple.c: Likewise.
70506         * sunrpc/svc_tcp.c: Likewise.
70507         * sunrpc/svc_udp.c: Likewise.
70508         * sunrpc/svc_unix.c: Likewise.
70509         * sunrpc/svcauth_des.c: Likewise.
70510         * sunrpc/xcrypt.c: Likewise.
70511         * sunrpc/xdr.c: Likewise.
70512         * sunrpc/xdr_array.c: Likewise.
70513         * sunrpc/xdr_float.c: Likewise.
70514         * sunrpc/xdr_mem.c: Likewise.
70515         * sunrpc/xdr_rec.c: Likewise.
70516         * sunrpc/xdr_ref.c: Likewise.
70517         * sunrpc/xdr_sizeof.c: Likewise.
70518         * sunrpc/xdr_stdio.c: Likewise.
70520         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
70521         handling.
70523 2010-08-19  Andreas Schwab  <schwab@redhat.com>
70525         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
70527 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
70529         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
70530         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
70531         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
70532         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
70533         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
70534         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
70535         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
70536         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
70537         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
70538         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
70539         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
70540         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
70541         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
70542         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
70544 2010-07-26  Anton Blanchard  <anton@samba.org>
70546         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
70547         * malloc/arena.c (heap_trim): Likewise.
70549 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
70551         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
70552         here.  Not...
70553         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
70554         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
70556 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
70558         * sysdeps/i386/elf/Makefile: New file.
70560 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
70562         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
70563         from fanotify_init.
70564         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
70565         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
70567 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
70569         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
70570         of strncasecmp_l.
70571         * sysdeps/multiarch/strcmp.S: Likewise.
70573 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
70575         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
70576         strncase_l-nonascii.
70577         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
70578         Add strncase_l-ssse3.
70579         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
70580         * sysdeps/x86_64/strcmp.S: Likewise.
70581         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
70582         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
70583         * sysdeps/x86_64/strncase.S: New file.
70584         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
70585         * sysdeps/x86_64/strncase_l.S: New file.
70586         * string/Makefile (strop-tests): Add strncasecmp.
70587         * string/test-strncasecmp.c: New file.
70589         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
70590         warning.
70592         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
70593         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
70595 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
70597         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
70599 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
70601         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
70602         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
70603         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
70605 2010-05-01  Alan Modra  <amodra@gmail.com>
70607         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
70608         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
70609         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
70610         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
70611         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
70612         tidying.  Don't tail-call __sigjmp_save for static lib.
70613         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
70614         save location.
70615         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
70616         (CALL_MCOUNT): Add eh info, and nop after bl.
70617         (TAIL_CALL_SYSCALL_ERROR): New macro.
70618         (PSEUDO_RET): Use it.
70619         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
70620         Correct save location of integer regs and cr.
70621         (_dl_profile_resolve): Correct cr save location.  Delete nops
70622         after bl when SHARED.  Reduce cfi size a little by better
70623         placement of cfi directives.
70624         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
70625         make a stack frame.  Instead use parm save area as a temp.
70626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
70627         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
70628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
70629         Don't make a stack frame for parent, use parm save area.
70630         Increase child stack frame to 112 bytes.  Don't save unused reg,
70631         and adjust reg usage.  Set up cfi on error recovery and
70632         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
70633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
70634         (__makecontext): Add dummy nop after jump to exit.
70635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
70636         Use correct parm save area and cr save, reduce stack frame.
70637         Correct cfi for possible PSEUDO_RET frame setup.
70638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
70639         Branch to local label emitted by PSEUDO_RET rather than
70640         __syscall_error.
70642 2010-08-12  Andreas Schwab  <schwab@redhat.com>
70644         [BZ #11904]
70645         * locale/programs/locale.c (print_assignment): New function.
70646         (show_locale_vars): Use it.
70648 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
70650         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
70651         field.
70652         (struct statfs64): Likewise.
70653         (_STATFS_F_FLAGS): Define.
70654         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
70655         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
70656         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
70657         (ST_VALID): Define locally.
70658         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
70659         __statvfs_getflags, use the provided value.
70660         * sysdeps/unix/sysv/linux/kernel-features.h: Define
70661         __ASSUME_STATFS_F_FLAGS.
70663         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
70665         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
70666         Add sys/fanotify.h.
70667         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
70668         fanotify_mask for GLIBC_2.13.
70669         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
70670         fanotify_init and fanotify_mark.
70671         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
70672         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
70674         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
70675         Add prlimit.
70676         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
70677         prlimit64 for GLIBC_2.13.
70678         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
70679         prlimit64.
70680         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
70681         syscall.
70682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
70683         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
70684         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
70685         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
70686         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
70687         add prlimit alias.
70688         * sysdeps/unix/sysv/linux/prlimit.c: New file.
70690         [BZ #11903]
70691         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
70692         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
70694         * nss/Makefile: Add rules to build and run tst-nss-test1.
70695         * shlib-versions: Add entry for libnss_test1.
70696         * nss/nss_test1.c: New file.
70697         * nss/tst-nss-test1.c: New file.
70699         * nss/nsswitch.c (__nss_database_custom): Define new variable.
70700         (__nss_configure_lookup): Set appropriate entry in
70701         __nss_configure_lookup to true.
70702         * nss/nsswitch.h: Define enum with indeces of databases in
70703         databases and __nss_database_custom arrays.  Declare
70704         __nss_database_custom.
70705         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
70706         to avoid using nscd when custom rules are installed.
70707         * nss/getXXbyYY_r.c: Likewise.
70708         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
70710         * nss/nss_files/files-parse.c: Whitespace fixes.
70712 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
70714         [BZ #11883]
70715         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
70716         * posix/fnmatch_loop.c: Likewise.
70718 2010-07-17  Andi Kleen  <ak@linux.intel.com>
70720         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
70721         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
70722         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
70723         * Versions.def [GLIBC_2.13]: Add.
70725 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
70727         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
70728         Also fail if tpwd after pwuid call is NULL.
70730 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70732         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
70733         when converting to ms.
70735 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70737         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
70738         EOPNOTSUPP errors with ENOTTY.
70739         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
70740         EOPNOTSUPP errors with ENOTTY.
70742 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
70744         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
70745         Add strcasecmp_l-ssse3.
70746         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
70747         strcasecmp.
70748         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
70749         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
70750         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
70752 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
70754         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
70756         * string/Makefile (strop-tests): Add strcasecmp.
70757         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
70758         strcasecmp_l-nonascii.
70759         (gen-as-const-headers): Add locale-defines.sym.
70760         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
70761         * sysdeps/x86_64/strcasecmp.S: New file.
70762         * sysdeps/x86_64/strcasecmp_l.S: New file.
70763         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
70764         * sysdeps/x86_64/locale-defines.sym: New file.
70765         * string/test-strcasecmp.c: New file.
70767         * string/test-strcasestr.c: Test both ends of the range of characters.
70768         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
70770 2010-07-29  Roland McGrath  <roland@redhat.com>
70772         [BZ #11856]
70773         * manual/locale.texi (Yes-or-No Questions): Fix example code.
70775 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
70777         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
70778         for ld.so.
70780 2010-07-27  Andreas Schwab  <schwab@redhat.com>
70782         * manual/memory.texi (Malloc Tunable Parameters): Document
70783         M_PERTURB.
70785 2010-07-26  Roland McGrath  <roland@redhat.com>
70787         [BZ #11840]
70788         * configure.in (-fgnu89-inline check): Set and substitute
70789         gnu89_inline, not libc_cv_gnu89_inline.
70790         * configure: Regenerated.
70791         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
70793 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
70795         * string/test-strnlen.c: New file.
70796         * string/Makefile (strop-tests): Add strnlen.
70797         * string/tester.c (test_strnlen): Add a few more test cases.
70798         * string/tst-strlen.c: Better error reporting.
70800         * sysdeps/x86_64/strnlen.S: New file.
70802 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
70804         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
70805         lower-latency instructions.
70807 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
70809         * string/test-strcasestr.c: New file.
70810         * string/test-strstr.c: New file.
70811         * string/Makefile (strop-tests): Add strstr and strcasestr.
70812         * string/str-two-way.h: Don't undefine MAX.
70813         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
70815 2010-07-21  Andreas Schwab  <schwab@redhat.com>
70817         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
70818         strcasestr-nonascii.
70819         (CFLAGS-strcasestr-nonascii.c): Define.
70820         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
70821         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
70822         Remove unused attribute.
70824 2010-07-20  Roland McGrath  <roland@redhat.com>
70826         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
70827         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
70828         ld.so.cache was broken.  With it, there is no way to disable dsocaps
70829         like LD_HWCAP_MASK can disable hwcaps.
70831 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
70833         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
70835 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
70837         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
70838         call in strcasestr.
70839         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
70840         __strcasestr_sse42_nonascii.
70841         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
70842         strcasestr-nonascii.c.
70843         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
70845 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
70847         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
70848         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
70849         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
70850         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
70852 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
70854         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
70855         fcntl.
70857 2010-07-06  Andreas Schwab  <schwab@redhat.com>
70859         [BZ #11577]
70860         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
70861         dl_signal_cerror.
70863 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
70865         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
70866         _PC_PIPE_BUF using F_GETPIPE_SZ.
70868 2010-07-05  Roland McGrath  <roland@redhat.com>
70870         * manual/arith.texi (Rounding Functions): Fix rint description
70871         implicit in round description.
70873 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
70875         * elf/Makefile: Fix linking for a few tests to make recent linker
70876         happy.
70878 2010-06-30  Andreas Schwab  <schwab@redhat.com>
70880         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
70881         $(common-objpfx)libc_nonshared.a.
70883 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
70885         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
70886         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
70887         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
70888         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
70889         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
70890         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
70891         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
70892         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
70893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
70894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
70895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
70896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
70897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
70898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
70899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
70900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
70901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
70902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
70903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
70904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
70905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
70906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
70907         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
70908         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
70909         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
70910         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
70911         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
70912         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
70913         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
70914         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
70915         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
70916         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
70917         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
70918         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
70919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
70920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
70921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
70922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
70923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
70924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
70925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
70926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
70927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
70928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
70929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
70930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
70931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
70932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
70934 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
70936         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
70937         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
70938         * string/memmove.c (memmove): Renamed to ...
70939         (MEMMOVE): ...this.  Default to memmove.
70940         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
70941         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
70942         (END_CHK): Define.
70943         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
70944         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
70945         mempcpy-ssse3-back memmove-ssse3-back.
70946         * sysdeps/x86_64/multiarch/bcopy.S: New file .
70947         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
70948         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
70949         * sysdeps/x86_64/multiarch/memcpy.S: New file.
70950         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
70951         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
70952         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
70953         * sysdeps/x86_64/multiarch/memmove.c: New file.
70954         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
70955         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
70956         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
70957         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
70958         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
70959         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
70960         Define.
70961         (index_Fast_Copy_Backward): Define.
70962         (HAS_ARCH_FEATURE): Define.
70963         (HAS_FAST_REP_STRING): Define.
70964         (HAS_FAST_COPY_BACKWARD): Define.
70966 2010-06-21  Andreas Schwab  <schwab@redhat.com>
70968         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
70969         Restore proper fallback handling.
70971 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
70973         [BZ #11701]
70974         * posix/group_member.c (__group_member): Correct checking loop.
70976         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
70977         OOM in getpwuid_r correctly.  Return error number when the caller
70978         should return, otherwise -1.
70979         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
70980         call returning > 0 value.
70981         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
70983 2010-06-07  Andreas Schwab  <schwab@redhat.com>
70985         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
70986         libc_nonshared.a from targets in modules-names.
70988 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
70990         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
70991         requires it.
70993 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
70995         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
70996         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
70997         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
70998         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
71000 2010-06-02  Andreas Schwab  <schwab@redhat.com>
71002         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
71004 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
71006         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
71007         and F_GETPIPE_SZ.
71008         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
71009         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
71010         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
71011         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
71012         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
71013         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
71015 2010-06-14  Roland McGrath  <roland@redhat.com>
71017         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
71019 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
71021         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
71022         __REDIRECT followed by __THROW.
71023         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
71024         * posix/getopt.h (getopt): Likewise.
71026 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
71028         * hurd/lookup-at.c (__file_name_lookup_at): Accept
71029         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
71030         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
71031         in AT_FLAGS.
71032         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
71033         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
71035 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
71037         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
71039 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
71041         [BZ #11640]
71042         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
71043         Properly check family and model.
71045 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
71047         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
71049 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
71051         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
71053 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
71055         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
71056         symbol reference.
71058 2010-05-19  Andreas Schwab  <schwab@redhat.com>
71060         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
71061         symbol reference.
71063 2010-05-21  Andreas Schwab  <schwab@redhat.com>
71065         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
71066         and internal_recvmmsg.
71067         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
71068         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
71069         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
71070         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
71072         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
71073         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
71074         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
71076 2010-05-20  Andreas Schwab  <schwab@redhat.com>
71078         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
71080 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
71082         POWER7 optimizations.
71083         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
71084         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
71086 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
71088         * version.h: Update for 2.13 development version.
71090 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
71092         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
71093         exceptions.  Return 0.
71095 2010-05-07  Roland McGrath  <roland@redhat.com>
71097         * elf/ldconfig.c (main): Add a const.
71099 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
71101         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
71102         (args_options): Add no-idn option.
71103         (ahosts_keys_int): Add idn_flags to ai_flags.
71104         (parse_option): Handle 'i' option to clear idn_flags.
71106         * malloc/malloc.c (_int_free): Possible race in the most recently
71107         added check.  Only act on the data if no current modification
71108         happened.
71110 See ChangeLog.17 for earlier changes.